* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
}

header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #ccc;
}

/* Thanh navbar chính */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  width: 100%;
}

/* Bên trái */
.navbar-left {
  display: flex;
  align-items: center;
  gap: 30px;
}

.logo {
  width: 85px;
}

.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: black;
  font-weight: bold;
}

.nav-links a:hover {
  color: #00754a; 
}

.has-dropdown {
  position: relative;
}

/* Đảm bảo .nav-links không bị trôi layout */
.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
}

/* Bên phải */
.navbar-right {
  display: flex;
  align-items: center;
  gap: 30px;
}

.navbar-right a {
  text-decoration: none;
  color: black;
  font-weight: bold;
}

.navbar-right a:hover {
  color: #00754a; 
}

.btn-signin {
  background-color: black;
  color: white;
  padding: 10px 20px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  font-weight: bold;
}

.btn-signin:hover {
  background-color: #00754a; 
}

.banner {
  background: #ccc;
  height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.content {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.row {
  display: flex;
  flex-wrap: nowrap;
  width: 122%;
  height: 449px;
  margin-bottom: 50px;
}

.col {
  flex: 1;
  box-sizing: border-box;
  height: 90%;
}

.image-block {
  height: 100%;
}

.text-block {
  background-color: #2e5b34;
  color: white;
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.text-block h3 {
  margin-bottom: 15px;
  font-size: 20px;
}

.btn-readmore {
  background-color: transparent;
  color: black;
  border: 1px solid black;
  border-radius: 20px;
  padding: 6px 16px;
  text-decoration: none;
  font-size: 14px;
  display: inline-block;
  margin: 20px auto 0;
  transition: all 0.3s ease;
}

.btn-readmore:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border-color: #00754a; 
  color: #00754a; 
  background-color: rgba(0, 117, 74, 0.2); 
  box-shadow: 0 0 10px rgba(0, 117, 74, 0.3); 
  transition: background-color 0.3s, box-shadow 0.3s;
}

footer {
  background-color: #fff;
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #000000;
  margin-top: 150px;
}

/* Khung trên */
.footer-top {
  padding: 30px 40px;
  padding-left: 150px;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}

.footer-top p {
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 22px;
}

.footer-top ul {
  list-style: none;
  padding-left: 0;
}

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

/* Khung dưới */
.footer-bottom {
  padding: 10px 40px;
  padding-left: 150px;
  border-top: 3px solid #555;
  background-color: #d1caca;
}

.footer-social-links {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 16px;
  padding: 20px;
  margin-left: 125px;
}

.footer-social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  border-radius: 50%;
  transition: background-color 0.3s, box-shadow 0.3s;
}

.footer-social-links a svg {
  width: 30px;
  height: 30px;
  fill: #000;
}

.footer-social-links a:hover {
  background-color: rgba(0, 117, 74, 0.2); 
  box-shadow: 0 0 10px rgba(0, 117, 74, 0.3); 
}

.footer-social-text {
  margin-left: 145px;
  margin-bottom: 10px;
}

.footer-bottom p {
  margin-left: 125px;
}

/* Trang menu */
.menu-page {
  display: flex;
  gap: 40px;
}

/* Sidebar trái */
.sidebar {
  width: 250px;
  background-color: #f5f5f5;
  padding: 10px 0;
  border-right: 1px solid #ddd;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.05);
  height: 150vh;
  position: sticky;
  top: 0;
}

/* Tiêu đề nhóm menu (Drinks, Food...) */
.sidebar h4 {
  font-size: 20px;
  font-weight: bold;
  color: #080808;
  margin: 30px 20px 10px;
  margin-left: 75px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Danh sách */
.sidebar ul {
  list-style: none;
  padding-left: 20px;
  margin: 0;
}

.sidebar li {
  margin: 8px 0;
  padding: 6px 10px;
  color: #555;
  border-radius: 6px;
  transition: background-color 0.3s, color 0.3s;
  cursor: pointer;
  margin-left: 45px;
  font-size: 16px;
}

.sidebar li:hover {
  background-color: #e0f0e9;
  color: #00754a; 
  font-weight: bold;
}

/* Phần nội dung bên phải */
.menu-content {
  flex: 1;
}

.menu-content h2 {
  font-size: 28px;
  padding: 34px;
  margin-left: 0px;
}

.menu-content h3 {
  font-size: 26px;
  margin-top: 40px;
  margin-left: 0px;
  margin-bottom: 10px;
}

.menu-grid {
  font-size: 18px;
  font-weight: bold;
  display: flex;
  flex-wrap: wrap;
  color: #3d3d3d;
  gap: 100px;
  margin-top: 20px;
}

.menu-item {
  width: 140px;
  text-align: center;
}

.menu-item img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  padding: 10px;
}

/* Trang chi tiết từng sản phẩm */
.product-image {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background-color: #043630;
  color: white;
  padding: 40px 0 20px 150px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 40px;
}

.product-image img {
  max-width: 300px;
  height: auto;
  margin: 0;
}

.product-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-text h1 {
  font-size: 28px;
  margin: 0 0 10px;
}

.product-text .size {
  color: #ccc;
  font-size: 16px;
  margin: 0;
}

.product-details {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 40px;
  margin-top: 40px;
  margin-left: 150px;
}

.left-section {
  flex: 1;
  max-width: 400px;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.right-section {
  width: 450px;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.right-section td {
  border-bottom: 1px solid #ddd;
  padding: 10px 0;
  color: #333;
}

.note {
  font-size: 20px;
  color: #555;
  margin-top: 12px;
  line-height: 1.6;
}

.note1 {
  font-size: 20px;
  color: #555;
  margin-top: 12px;
  line-height: 1.6;
}

.add-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #28a745;
  color: white;
  border: none;
  padding: 20px 28px;
  font-size: 20px;
  border-radius: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  z-index: 999;
}

.add-button:hover {
  background-color: #00754a;
  transform: scale(1.05);
}

.back-button {
  background-color: transparent;
  color: #000303;
  border: 2px solid #010706;
  padding: 8px 16px;
  font-size: 18px;
  border-radius: 20px;
  cursor: pointer;
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.back-button:hover {
  background-color: #00754a; 
  color: white;
}

/* === CUSTOMIZATION SECTION === */
.customize-section {
  padding: 20px;
  max-width: 700px;
  margin: 0 auto;
}

.done-button {
  text-align: left;
  margin-bottom: 20px;
}

.customize-grid {
  display: flex;
  justify-content: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

.customize-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 300px;
}

.category {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.category h3 {
  margin-bottom: 0;
  font-size: 16px;
  font-weight: bold;
  color: #1e3932;
  border-bottom: 1px solid #cce5de;
  padding-bottom: 5px;
}

.category select {
  width: 100%;
  padding: 10px;
  border: 1.5px solid #00754a;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  color: #1e3932;
  background-color: #f6f6f6;
}

.category select:focus {
  outline: none;
  border-color: #1e3932;
  background-color: #ffffff;
}

.button-group {
  text-align: center;
  margin-top: 20px;
}

.order-button {
  background-color: #00754a;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s, transform 0.2s;
}

.order-button:hover {
  background-color: #045d3a; 
  transform: scale(1.05);
}
/* === CART SECTION === */
.cart-section {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
}

.cart-container {
    flex: 2;
}

.cart-container h2 {
    font-size: 24px;
    color: #1e3932;
    margin-bottom: 20px;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 20px;
}

.cart-item-image {
    width: 100px;
    height: auto;
    margin-right: 20px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-details h3 {
    font-size: 18px;
    color: #1e3932;
    margin-bottom: 5px;
}

.cart-item-details p {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
}

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

.quantity-btn {
    background-color: #f6f6f6;
    border: 1px solid #00754a;
    padding: 5px 10px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
}

.quantity-btn:hover {
    background-color: #00754a;
    color: white;
}

.quantity-input {
    width: 50px;
    padding: 5px;
    text-align: center;
    border: 1px solid #00754a;
    border-radius: 4px;
}

.remove-btn {
    background-color: transparent;
    border: 1px solid #00754a;
    padding: 5px 10px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 4px;
    color: #00754a;
}

.remove-btn:hover {
    background-color: #00754a;
    color: white;
}

.cart-totals {
    flex: 1;
    background-color: #f6f6f6;
    padding: 20px;
    border-radius: 8px;
}

.cart-totals h3 {
    font-size: 20px;
    color: #1e3932;
    margin-bottom: 15px;
}

.total-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 16px;
    color: #555;
}

.total-final {
    font-weight: bold;
    font-size: 18px;
    color: #1e3932;
    margin-top: 20px;
    border-top: 1px solid #e0e0e0;
    padding-top: 10px;
}

.checkout-btn {
    width: 100%;
    margin-top: 20px;
}
/* === CHECKOUT SECTION === */
/* === CHECKOUT SECTION === */
.checkout-section {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
}

.checkout-container {
    flex: 2;
}

.checkout-container h2 {
    font-size: 24px;
    color: #1e3932;
    margin-bottom: 20px;
}

.checkout-form {
    margin-bottom: 30px;
}

.checkout-form h3 {
    font-size: 18px;
    color: #1e3932;
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 14px;
    color: #555;
    margin-bottom: 5px;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1.5px solid #00754a;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    color: #1e3932;
    background-color: #f6f6f6;
}

.form-group input:focus {
    outline: none;
    border-color: #1e3932;
    background-color: #ffffff;
}

.payment-options {
    margin-bottom: 15px;
}

.payment-option {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.payment-option input[type="radio"] {
    margin-right: 10px;
    cursor: pointer;
}

.payment-option label {
    font-size: 15px;
    color: #1e3932;
}

.card-details {
    margin-top: 15px;
    display: none; 
}

.card-details.active {
    display: block;
}

.form-group.half-width {
    width: 48%;
    margin-right: 4%;
}

.form-group.half-width:last-child {
    margin-right: 0;
}

.order-summary {
    background-color: #f6f6f6;
    padding: 20px;
    border-radius: 8px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 16px;
    color: #555;
}

.total-final {
    font-weight: bold;
    font-size: 18px;
    color: #1e3932;
    margin-top: 20px;
    border-top: 1px solid #e0e0e0;
    padding-top: 10px;
}

.checkout-totals {
    flex: 1;
    background-color: #f6f6f6;
    padding: 20px;
    border-radius: 8px;
}

.checkout-totals h3 {
    font-size: 20px;
    color: #1e3932;
    margin-bottom: 15px;
}

.checkout-btn {
    width: 100%;
    margin-top: 20px;
}
/* === CONTACT SECTION === */
.contact-section {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-container {
    background-color: #f6f6f6;
    padding: 20px;
    border-radius: 8px;
}

.contact-container h2 {
    font-size: 24px;
    color: #1e3932;
    margin-bottom: 20px;
}

.contact-form {
    margin-bottom: 30px;
}

.contact-form h3 {
    font-size: 18px;
    color: #1e3932;
    margin-bottom: 10px;
}

.contact-form p {
    font-size: 15px;
    color: #555;
    margin-bottom: 10px;
}

.contact-form ul {
    list-style: none;
    padding-left: 0;
}

.contact-form ul li {
    font-size: 15px;
    color: #555;
    margin-bottom: 10px;
}

.contact-form a {
    color: #00754a;
    text-decoration: none;
}

.contact-form a:hover {
    text-decoration: underline;
}* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  body {
    font-family: 'Helvetica Neue', sans-serif;
    color: #1e3932;
    background-color: #fff;
    line-height: 1.6;
  }
  
  a {
    color: #00754a;
    text-decoration: none;
  }
  a:hover {
    text-decoration: underline;
  }
  
  header {
    background: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ccc;
  }
  .header-left {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
  .logo {
    width: 50px;
  }
  nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
  }
  .header-right {
    display: flex;
    gap: 1rem;
    align-items: center;
  }
  .btn {
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    border: none;
    cursor: pointer;
  }
  .btn.green {
    background-color: #00754a;
    color: white;
    padding: 20px 40px;
    font-size: 20px;
  }
  .btn.dark {
    background-color: black;
    color: white;
  }
  
  .hero {
    display: flex;
    justify-content: space-between;
    background-color: #f3f1e7;
    padding: 3rem 2rem;
  }
  .hero-text {
    max-width: 50%;
    font-size: 30px;
  }
  .hero-image {
    background: url('https://www.starbucks.com/weblx/images/rewards/hero/rewards-hero.png') no-repeat center/cover;
    width: 50%;
    height: 500px;
    border-radius: 8px;
  }
  .app-link {
    margin-top: 1rem;
  }
  
  .steps {
    text-align: center;
    padding: 4rem 2rem;
  }
  .step-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
  }
  .step-card {
    width: 280px;
  }
  .circle {
    width: 30px;
    height: 30px;
    background-color: #00754a;
    color: white;
    border-radius: 50%;
    margin: 0 auto 1rem;
    line-height: 30px;
  }
  /* đây là phần cho reward */
  .rewards {
    background-color: #d4e9e2;
    padding: 3rem 2rem;
    text-align: center;
  }
  .stars-list {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 1rem 0;
  }
  .stars-list span {
    padding: 0.5rem 1rem;
    border-bottom: 3px solid transparent;
    cursor: pointer;
  }
  .stars-list .active {
    border-color: #00754a;
  }
  .reward-detail {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
  }
  .reward-detail img {
    width: 180px;
    border-radius: 8px;
  }
  .reward-text {
    max-width: 400px;
    text-align: left;
  }
  
  .extras {
    padding: 4rem 2rem;
    text-align: center;
  }
  .extra-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
  }
  .extra-card {
    width: 250px;
  }
  .extra-card img {
    width: 80px;
    margin-bottom: 1rem;
  }
  
  .footer {
    padding: 2rem;
    background-color: #f9f9f9;
    text-align: center;
  }
  .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
  }
  
/* đây là css cho tìm cửa hàng */

  .find-store {
    display: flex;
    height: 90vh;
  }
  
  .store-left {
    flex: 1;
    padding: 2rem;
  }
  
  .store-options {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    border: #00754a solid 2px;
    width: 500px;
    border-radius: 50px
  }
  
  .btn.outline {
    background: white;
    color: #00754a;
    padding: 10px 30px;
    font-size: 16px;
  }
  
  .store-search {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
  }
  
  .store-search input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 25px;
    font-style: italic;
  }
  
  .store-message h4 {
    margin-bottom: 0.5rem;
  }
  
  .store-footer-links {
    position: absolute;
    bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .store-footer-links a {
    font-size: 14px;
    color: #00754a;
  }
  
  .store-map {
    flex: 1;
    overflow: hidden;
  }
  
  .store-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
/* css của đăng ký */

  .signup-container {
    text-align: center;
    padding: 4rem 2rem;
  }
  .signup-logo {
    width: 80px;
    margin-bottom: 1rem;
  }
  .signup-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 2rem;
  }
  .signup-form {
    max-width: 400px;
    margin: 0 auto;
  }
  .form-group {
    margin-bottom: 1.5rem;
    text-align: left;
  }
  .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
  }
  .form-group input {
    width: 100%;
    padding: 10px;
    border-radius: 12px;
    border: 1px solid #ccc;
  }
  .required {
    color: red;
  }
  .form-row {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
  }
  .form-row .form-group {
    flex: 1;
  }
  .form-terms {
    text-align: left;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }
  .signup-btn {
    background-color: #8cd3ff;
    color: white;
    padding: 12px 0;
    width: 100%;
    font-size: 18px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    margin-bottom: 1.5rem;
  }
  .with-text {
    margin-bottom: 1rem;
  }
  .signup-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
  }
  .signup-icons img {
    width: 40px;
  }

  /* css của đăng nhập */

  .form-container {
    text-align: center;
    padding: 2rem;
  }
  .form-logo {
    width: 100px;
    margin: 1rem auto;
  }
  .form-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 2rem;
  }
  .form-group {
    margin: 1rem auto;
    max-width: 400px;
    text-align: left;
  }
  .form-group label {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 600;
  }
  .form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 10px;
  }
  .forgot-password {
    display: block;
    margin: 1rem auto;
    color: #5ec2f3;
    text-decoration: none;
  }
  .btn.blue {
    background-color: #5ec2f3;
    color: white;
    font-size: 18px;
    padding: 0.7rem 2rem;
    border-radius: 10px;
    border: none;
    margin-top: 1rem;
    cursor: pointer;
  }
  .with-text {
    margin: 2rem 0 1rem;
    font-weight: 500;
  }
  .social-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
  }
  .social-icons img {
    width: 50px;
  }
  
  /* css quên mật khẩu */
  .otp-wrapper {
    display: flex;
    gap: 10px;
    margin-top: 0.5rem;
    justify-content: center;
  }
  
  .otp-input {
    width: 43px !important;
    height: 43px;
    font-size: 24px;
    text-align: center;
    border: 1px solid #ccc !important;
    border-radius: 18px !important;
  }
  .send-otp {
    padding: 10px 30px;
    background-color: #00754a;
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  .send-otp:hover {
    background-color: #005f3d;
  }
.account-link {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: #333;
}

.account-link a {
  color: #00754a;
  text-decoration: none;
  font-weight: bold;
}

.account-link a:hover {
  text-decoration: underline;
}