* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: sans-serif;
}

.container {
  max-width: 1200px; 
  margin: 0 auto;
  padding: 0 15px;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  border-bottom: 1px solid #ccc;
}

.logo img {
  height: 60px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav a {
  text-decoration: none;
  color: #000;
  font-weight: bold;
}
nav a:hover {
  text-decoration: underline; 
}

.search {
  display: flex;
  align-items: center;
}

.search input {
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 3px;
}

.search button {
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
}
.login{
  padding: 8px 16px;
  background-color: #fe002a;
  color: #000000;
  border: 5px;
  border-radius: 4px;
  font-weight: bold;
}

.login:hover {
  background-color: #cc2944;
  color: #ffffff;
}

.main {
  display: flex;
  align-items: center;
  padding: 40px 20px;
  gap: 40px;
}

.gift-box {
  text-align: center;
  max-width: 200px;
}

.gift-box img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.try-button {
  margin-top: 15px;
  padding: 10px 20px;
  background-color: #e53935;
  color: white;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.try-button:hover {
  background-color: #c62828;
}

.banner {
  display: flex;
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 0 10px #ccc;
}

.banner-left {
  flex: 0 0 auto; 
  width: auto; 
  background-color: #e53935;
  color: white;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.banner-left h2, .banner-left h3 {
  margin: 0; 
}

.banner-left h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

.banner-left h3 {
  font-size: 28px;
  margin-bottom: 20px;
}


.price-tag {
  background-color: blue;
  color: white;
  padding: 10px 20px;
  font-weight: bold;
  border-radius: 10px;
  display: inline-block;
}

.banner-right {
  flex: 1;
  background-color: #64b5f6;
  position: relative;
  overflow: hidden;
}

.slider {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}

.slide-track {
  display: inline-block;
  white-space: nowrap;
  animation: scroll 30s linear infinite;
}

.slide-track img {
  width: 150px;
  margin: 0 10px;
  display: inline-block;
  vertical-align: middle;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
/*chan*/
.footer {
  background-color: #f5f5f5;
  width: 100%;
  float: left;
  text-align: center;
  padding: 20px 10px;
  font-size: 14px;
  color: #555;
  border-top: 1px solid #ccc;
  margin-top: 40px;
}

/* noi bat */
.product-section {
  text-align: center;
}

.section-title {
  font-size: 28px;
  color: #001f60;
  margin-bottom: 30px;
}

.product-carousel {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  overflow: hidden;
  padding: 0 20px;
}

.product-card {
  width: 23%;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 15px;
  scroll-snap-align: start;
  flex-shrink: 0;
}

.product-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 10px;
}

.product-info .brand {
  font-weight: bold;
  color: #888;
  font-size: 12px;
}

.product-info .name {
  font-size: 14px;
  margin: 5px 0;
}

.product-info .price {
  color: #e53935;
  font-weight: bold;
  margin-bottom: 10px;
}

.add-cart {
  padding: 8px 12px;
  background-color: #e53935;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.add-cart:hover {
  background-color: #c62828;
}
/*gioi thiue*/
.introduction {
  background-color: #f9f9f9;
  float: left;
  height: 300px;
  padding: 40px 20px;
  font-family: Arial, sans-serif;
  color: #333;
  border-top: 1px solid #ccc;
}

.intro-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.intro-content .logo {
  width: 150px;
  margin-bottom: 20px;
}

.intro-content p {
  margin: 10px 0;
  font-size: 16px;
}

.intro-content input[type="email"] {
  padding: 10px;
  width: 300px;
  max-width: 90%;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.intro-content button {
  padding: 10px 20px;
  margin-left: 10px;
  background-color: #d31536;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.intro-content button:hover {
  background-color: #b2122e;
}

.intro-content .note {
  font-size: 12px;
  color: #666;
}

.social, .links{
  margin-top: 30px;
}
.social img{
    width: 5%;
}
/*login*/
.login-simple {
  width: 400px;
  margin: 50px auto;
  padding: 30px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  font-family: sans-serif;
  text-align: center;
}

.login-simple h2 {
  margin-bottom: 20px;
}

.login-simple form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.login-simple label {
  text-align: left;
  font-weight: bold;
}

.login-simple input {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.login-simple button {
  padding: 10px;
  background: black;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
/*doc quyen*/
#left {
    width: 20%;
    float: left;
}
.title {
    line-height: 30px;
    text-align: center;
    color: #FFF;
    font-weight: bold;
    background-color: #504b4b;
    border-radius: 10px 10px 0 0;
    margin-top: 10px;
}
.lmenu1 {
    background-color: #dad0d0;
    margin-left: 40px;
    padding-left: 15px;
    margin-bottom: 1px;
    
}
.lmenu2 {
    background-color: #eee6e6;
    margin-left: 40px;
    padding-left: 15px;
    margin-bottom: 1px;
}
.lmenu1:hover{
    font-weight: bold;
}
.lmenu2:hover{
    font-weight: bold;
}
.categories {
    list-style-type: none;
    margin-top: 0px;
    margin-left: -40px;
}

.categories li a {
    text-decoration: none;
    color: #504b4b;
    line-height: 30px;
    display: block;
}
.cata{
    width: 100%;
    height: 400px;
    float: left;
}
.cata-title{
    font-size: 28px;
    text-align: center;
    margin-top: 40px;
  color: #001f60;
  margin-bottom: 30px;
}
.right{
   float: right;
   width: 75%;
}
.right img {
  max-width: 100%;
  max-height: 100%;
}
/*main gioi thieu*/
.gt{
  width: 100%;
  margin-top: 20px;
  margin-bottom: 20px;
  border-top: 1px solid #ccc;
}
.textleft{
  width: 65%;
  float: left;
}
.imageright{
  width: 32%;
  float: right;
}
.im{
  border-radius: 15px;
  width: 95%;
}
/* lien he */
.contact-box {
  background: #f4f4f4;
  padding: 30px;
  max-width: 1000px;
  margin: auto;
  font-family: Arial, sans-serif;
}

.contact-box h2 {
  text-align: center;
  font-weight: bold;
  margin-bottom: 30px;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 5px;
  font-weight: bold;
}

.form-group input,
.form-group textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.full-width {
  width: 100%;
}

.full-width textarea {
  width: 100%;
  height: 150px;
  resize: vertical;
}

.form-submit {
  text-align: center;
  margin-top: 20px;
}

.form-submit button {
  background: #000;
  color: #fff;
  padding: 12px 25px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.form-submit button:hover {
  background: #333;
}
/* phan doc quyen */
img {
        vertical-align: middle;
      }
      .slideshow-container {
        max-width: 800px;
        position: relative;
        margin: auto;
      }

      .prev,
      .next {
        cursor: pointer;
        position: absolute;
        top: 50%;
        width: auto;
        padding: 16px;
        margin-top: -22px;
        color: white;
        font-weight: bold;
        font-size: 18px;
        transition: 0.6s ease;
        border-radius: 0 3px 3px 0;
        user-select: none;
        background-color: red;
      }
      .next {
        right: 0;
        border-radius: 3px 0 0 3px;
      }

      .prev:hover,
      .next:hover {
        background-color: rgb(0, 0, 0, 0.8);
      }

      .text {
        color: #f2f2f2;
        font-size: 15px;
        padding: 8px 12px;
        position: absolute;
        bottom: 8px;
        width: 100%;
        text-align: center;
      }
      .dot {
        display: inline-block;
        border-radius: 100%;
        width: 20px;
        height: 20px;
        background-color: #999;
        cursor: pointer;
      }
      .dot:hover {
        background-color: #555;
      }
      .dot.active {
        background-color: #555;
      }
/* lab */
.lab-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  padding: 20px;
  font-family: Arial, sans-serif;
}

.lab-box {
  background: #f8f9fa;
  padding: 15px 20px;
  border-left: 5px solid #28a745;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.lab-box:hover {
  transform: translateY(-5px);
}

.lab-box h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: #333;
}

.lab-box a {
  display: block;
  color: #007bff;
  text-decoration: none;
  margin-bottom: 6px;
  transition: color 0.2s;
}

.lab-box a:hover {
  color: #0056b3;
  text-decoration: underline;
}
/* hop qua */
body {
  margin: 0;
  font-family: sans-serif;
  background: #f2f2f2;
}

.main-container {
  max-width: 700px;
  margin: 30px auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  background-color: #fff;
}

.top-prize {
  background: #fff4c4;
  text-align: center;
  padding: 16px 10px;
}

.prize-text {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 8px;
  color: #c0392b;
}

.top-prize img {
  max-width: 200px;
  border-radius: 8px;
}

.gift-container {
  display: flex;
  height: 400px;
}

.gift-box {
  flex: 1;
  background-color: #ffe0e0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.gift-box img {
  width: 100px;
  margin-bottom: 12px;
}

.open-button {
  background-color: #ff4d4d;
  color: white;
  font-weight: bold;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.open-button:hover {
  background-color: #e04343;
}

.product-strip {
  flex: 2;
  overflow: hidden;
  background-color: #f0f8ff;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

.product {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.product img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  display: block;
  border-radius: 6px;
}

