:root {
  --content-width: 1220px;
  --color-primary: #e2ac36;
}
a {
  color: inherit;
}
a:hover {
  text-decoration: none;
  color: inherit;
}
body {
  color: #333;
}
.mt-5 {
  margin-top: 20px;
}
.web-container {
  max-width: var(--content-width);
  margin: auto;
  padding: 0px 10px;
}
.btn-contact-us {
  background-color: #8b6744;
  color: #fff;
  border-radius: 6px;
  padding: 8px;
}
.btn-open-search {
  border: 0;
  border-radius: 50%;
  background-color: #fff;
  width: 36px;
  height: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0em 0.15em 0.65em 0em rgba(0, 0, 0, 0.25);
}
.web-section1 {
  padding: 60px 0;
}
.web-section1 .web-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.web-section1__title {
  font-size: 24px;
  text-transform: uppercase;
  font-weight: bold;
  margin-bottom: 8px;
}
.web-section1__desc {
  font-family: "Dancing Script", cursive;
  font-size: 20px;
}
.web-section1__sign {
  text-align: right;
  font-family: "Dancing Script", cursive;
  font-size: 20px;
  font-weight: bold;
}
.web-section2__item {
  position: relative;
  overflow: hidden;
  display: flex;
}
.web-section2__item img {
  width: 100%;
  transition: filter 0.3s ease;
}
.web-section2__item:hover img {
  filter: blur(3px);
}
.web-section2__item-overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s ease;
  background: rgba(0, 0, 0, 0.3);
}
.web-section2__item:hover .web-section2__item-overlay {
  opacity: 1;
}
.web-section2__item-title {
  text-transform: uppercase;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
}
.web-section3 {
  padding: 60px 0;
}
.web-section__title {
  margin-bottom: 20px;
}
.web-section__title-top {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
  font-size: 18px;
  color: #333;
}
.web-section__title-top span {
  color: var(--color-primary);
  font-size: 32px;
  font-weight: bold;
}
.web-section__title-bottom {
  color: var(--color-primary);
  font-size: 32px;
  font-weight: bold;
  text-align: center;
}
.web-section3__content img {
  width: 100%;
}
.web-section3__item {
  background-color: #1c1c1c;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 180px;
}
.web-section3__item-title {
  font-size: 24px;
  color: #fff;
  font-weight: bold;
}
.web-section3__item-desc {
  font-size: 16px;
  color: #fff;
}
.owl-reason {
  margin-bottom: 20px;
}
.web-section4 {
  padding-bottom: 60px;
}
.web-section4__title {
  font-weight: bold;
  font-size: 32px;
  text-align: center;
  color: var(--color-primary);
  margin-bottom: 20px;
}
.web-section4__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.web-section4__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.web-section4__item-image {
  display: flex;
}
.web-section4__item-title a {
  font-size: 16px;
  font-weight: bold;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 25px;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  height: 75px;
  display: -webkit-box;
  transition: all 0.3s;
}
.web-section4__item-title:hover {
  color: var(--color-primary);
}
.web-section4__item-category {
  color: #999;
}
.web-section4__item-desc {
  color: #666;
}
.web-section4__item-link {
  display: flex;
}
.web-section4__item-link a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 2px 2px 2px 12px;
  border: 1px solid var(--color-primary);
  border-radius: 20px;
  transition: all 0.3s ease;
}
.web-section4__item-link a span {
  width: 36px;
  height: 36px;
  background-color: #d9d9d9;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--color-primary);
  transform: rotate(-45deg);
  border-radius: 50%;
  transition: all 0.3s ease;
}
.web-section4__item-link a:hover {
  background-color: var(--color-primary);
  color: #fff;
}
.web-section4__item-link a:hover span {
  transform: rotate(0deg);
}
.web-section5 {
  background-color: rgb(248, 244, 236);
  padding: 60px 0;
}
.web-section5__title {
  font-weight: bold;
  font-size: 32px;
  text-align: center;
  color: var(--color-primary);
  margin-bottom: 20px;
}
.web-section5__item {
  position: relative;
}
.web-section5__item-image {
  display: flex;
}
.web-section5__item-image img {
  width: 100%;
}
.web-section5__item-content {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background-color: rgba(0, 0, 0, 0.5);
}
.web-section5__item-title a {
  display: flex;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 16px;
  color: #fff;
}
.web-section5__item-link {
  text-transform: uppercase;
  border-radius: 8px;
  display: block;
  padding: 4px 10px;
  background-color: var(--color-primary);
  color: #000;
  font-size: 14px;
  width: 140px;
  text-align: center;
}
.web-section7 {
  padding: 60px 0;
}
.web-section7__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.web-section7__item {
  width: 100%;
}
.web-section7__item iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9/16;
}
.web-section8 {
  padding: 60px 0;
}
.web-section8__title {
  font-weight: bold;
  font-size: 32px;
  text-align: center;
  color: var(--color-primary);
  margin-bottom: 20px;
}
.web-section8__item {
  display: flex;
}
.web-section9__item {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.web-section9__item-image img {
  width: 100%;
}
.web-section9__item-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
  background-color: #3b3b3b;
}
.web-section9__item-title {
  color: #fff;
  font-size: 20px;
  margin: 10px 0;
}
.web-section9__item-title span {
  font-weight: bold;
  color: var(--color-primary);
}
.web-section9__item-star {
  color: crimson;
}
.web-section9__item-desc {
  color: #fff;
  font-style: italic;
  margin: 10px 0 20px;
}
.web-section9__item-bracket {
  display: flex;
  justify-content: flex-end;
}
.web-section10 {
  padding: 60px 0;
}
.web-section10__title {
  font-weight: bold;
  font-size: 32px;
  text-align: center;
  color: var(--color-primary);
  margin-bottom: 20px;
}
.web-section10__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 14px;
}

/* Base styles for all items */
.web-section10__item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

/* Featured item - spans 2 columns and 4 rows */
.web-section10__item:nth-child(1) {
  flex-direction: column;
  grid-area: 1 / 1 / 5 / 3;
}

/* Secondary items - each spans 2 rows */
.web-section10__item:nth-child(2) {
  flex-direction: column;
  grid-area: 1 / 3 / 3 / 4;
}

.web-section10__item:nth-child(3) {
  flex-direction: column;
  grid-area: 3 / 3 / 5 / 4;
}
.web-section10__item:nth-child(n + 4):nth-child(-n + 7)
  .web-section10__item-image {
  width: 120px;
  flex-shrink: 0;
}
.web-section10__item-image {
  display: flex;
}
.web-section10__item-title {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  margin-bottom: 0;
}
.web-section10__item-title a {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  transition: all 0.3s;
  line-height: 25px;
  max-height: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}
.web-section10__item-title a:hover {
  color: var(--color-primary);
}
.web-section10__item:nth-child(2) .web-section10__item-title a {
  -webkit-line-clamp: 2;
  max-height: 50px;
}

.web-section10__item:nth-child(3) .web-section10__item-title a {
  -webkit-line-clamp: 2;
  max-height: 50px;
}
.footer-bg {
  background-image: url(../images/book.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  height: 100%;
  padding: 60px 20px 35px 50px;
  max-width: 350px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.btn-phone-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background: linear-gradient(90deg, #251a10 0%, rgba(69, 46, 26, 0) 158.58%);
  padding: 4px 12px;
  border-radius: 8px;
  color: var(--color-primary);
}
.owl-relative {
  position: relative;
}
.owl-nav-button {
  position: absolute;
  left: calc(50% + 40px);
  bottom: 20px;
  background-color: #fff;
  color: var(--color-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-primary);
  cursor: pointer;
  transition: all 0.3s;
  z-index: 999;
}
.owl-nav-button:hover {
  background-color: var(--color-primary);
  color: #fff;
}
.owl-nav-button-next {
  transform: translateX(120%);
}
.web-section6 {
  padding: 60px 0;
}
.web-section6__tab {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  list-style-type: none;
  margin-left: 0;
  padding-left: 0;
}
.web-section6__tab li {
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  color: #333;
  background-color: #eee;
  padding: 10px 20px;
  transition: all 0.3s;
}
.web-section6__tab li:hover {
  background-color: #ddd;
}
.web-section6__tab li.active {
  background-color: #000;
  color: var(--color-primary);
}
.pd__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  padding: 16px;
  background-color: #eee;
  border-radius: 8px;
}
.pd__item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 4px;
}
.pd__item-image {
  display: flex;
}
.pd__item-image img {
  width: 100%;
}
.pd__item-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pd__item-title {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  margin-bottom: 0;
  padding: 0 10px;
}
.pd__item-title a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 25px;
  height: 50px;
}
.pd__item-price {
  display: flex;
  gap: 10px;
  padding: 0 10px;
}
.pd__item-price-old {
  font-size: 14px;
  font-weight: bold;
  color: #999;
  text-decoration: line-through;
}
.pd__item-price-new {
  font-size: 14px;
  font-weight: bold;
  color: var(--color-primary);
}
.pd__item-addcart {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  background-color: transparent;
  border: 0;
  z-index: 10;
  margin: 0 10px;
}
.pd__item-addcart::before {
  position: absolute;
  content: "";
  left: 6px;
  top: 0;
  width: 34px;
  height: 34px;
  background-color: var(--color-primary);
  border-radius: 20px;
  z-index: 5;
  transition: all 0.3s;
}
.pd__item-addcart-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.pd__item-addcart-icon svg {
  width: 16px;
}
.pd__item-addcart-text {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  z-index: 10;
}
.pd__item-addcart:hover::before {
  width: calc(100% - 12px);
}
.video-footer {
  display: flex;
  padding: 4px;
  border-radius: 4px;
  border: 1px solid;
  border-image: linear-gradient(180deg, #ffd568 0%, #ffe4b3 50%, #f4a42b 100%) 1;
}
.video-footer iframe {
  width: 100% !important;
  height: auto !important;
}
.footer-news:not(:first-child) {
  padding-top: 32px;
}
.web-section2__marquee {
  display: flex;
  margin: 0;
  padding: 0;
  align-items: center;
  justify-content: flex-start;
  gap: 3rem;
  overflow: hidden;
  list-style: none;
}
.web-section2__marquee li {
  position: relative;
  will-change: transform;
  transform: translateX(0);
  animation: marquee 24s linear infinite;
  color: #fff;
  font-size: clamp(2rem, 1.8rem + 1vw, 3rem);
  font-family: "Lexend Exa", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  text-shadow: -1px -1px 0 #d1c2b4, 1px -1px 0 #d1c2b4, -1px 1px 0 #d1c2b4,
    1px 1px 0 #d1c2b4;
  white-space: nowrap;
}
.web-section2__marquee li + li:after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1rem;
  height: 1rem;
  background-color: #d1c2b4;
  border-radius: 50%;
  transform: translate(-2rem, -50%);
}
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}
/* Search Overlay */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  display: none;
  justify-content: center;
  align-items: flex-start;
  padding-top: 100px;
}

.search-overlay.active {
  display: flex;
}

.search {
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  position: relative;
  display: flex;
  gap: 10px;
  align-items: center;
}

.search input[type="text"] {
  flex: 1;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 25px;
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s ease;
}

.search input[type="text"]:focus {
  border-color: var(--color-primary);
}

.search p {
  background-color: var(--color-primary);
  color: #fff;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.search p:hover {
  background-color: #d49b2e;
}

.search-close {
  position: absolute;
  top: -10px;
  right: -10px;
  background-color: #fff;
  color: #333;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  font-size: 18px;
  font-weight: bold;
  border: none;
  transition: all 0.3s ease;
}

.search-close:hover {
  background-color: #f0f0f0;
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .web-section1 {
    padding: 32px 0;
  }
  .web-section1 .web-container {
    grid-template-columns: repeat(1, 1fr);
  }

  .search-overlay {
    padding-top: 50px;
  }

  .search {
    width: 95%;
    padding: 15px;
  }
  .web-section4__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Mobile scroll cho tab menu */
  .web-section6__tab {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
    padding-bottom: 10px;
  }

  .web-section6__tab::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
  }

  .web-section6__tab li {
    display: inline-block;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: max-content;
  }
  .pd__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pd__item-addcart-text {
    font-size: 13px;
  }
  .web-section7__grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .web-section9__item {
    grid-template-columns: repeat(1, 1fr);
  }
  .owl-nav-button {
    left: 40px;
  }
  .web-section10__grid {
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: initial;
  }
  .web-section10__item:nth-child(1) {
    grid-area: 1 / 1 / 2 / 2;
  }
  .web-section10__item:nth-child(2) {
    grid-area: 2 / 1 / 3 / 2;
  }
  .web-section10__item:nth-child(3) {
    grid-area: 3 / 1 / 4 / 2;
  }
  .footer-news {
    width: 100% !important;
  }
  .social a {
    max-width: 80px;
  }
}
