
@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: url(https://example.com/MaterialIcons-Regular.eot);
  /* For IE6-8 */
  src: local('Material Icons'),
    local('MaterialIcons-Regular'),
    url(https://example.com/MaterialIcons-Regular.woff2) format('woff2'),
    url(https://example.com/MaterialIcons-Regular.woff) format('woff'),
    url(https://example.com/MaterialIcons-Regular.ttf) format('truetype');
}

.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  /* Preferred icon size */
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;
}


.oswald-<uniquifier> {
  font-family: "Oswald", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}
.lexend-deca-<uniquifier> {
  font-family: "Lexend Deca", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
h1,
h2,
h3,
h4,
h5,
h6
{
    font-family: "Lobster", sans-serif;
  font-weight: 400;
  font-style: normal;
}
/* Scroll Top Button */
#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  left: 30px;
  font-size: 30px;
  color: #333;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.3s ease;
  z-index: 1005;
}

#scrollTopBtn.show {
  opacity: 1;
  visibility: visible;
  transform: scale(1.1);
}

#scrollTopBtn:hover {
  color: #000;
  transform: scale(1.2);
}



/* LOADER */
/* Loader container */
.load-container {
  position: fixed;
  inset: 0;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

/* Vòng xoay */
.loader {
  border: 5px solid #f3f3f3;
  border-top: 5px solid #ff6600;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

/* Hiệu ứng xoay */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Brand text */
.brand-text {
  display: block;
  font-family: "Poppins", sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #333;
  animation: bounceIn 1.5s ease forwards;
}

/* Bounce in */
@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }

  50% {
    opacity: 1;
    transform: scale(1.05);
  }

  70% {
    transform: scale(0.9);
  }

  100% {
    transform: scale(1);
  }
}

/* Khi loader ẩn đi */
.load-container.hidden {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

/* thay doi thanh scroll */
::-webkit-scrollbar {
  scroll-behavior: smooth;
  width: 6px;
  height: 6px;
  background-color: #ccc;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(#ccc, #e0a103);
  border-radius: 6px;
  transition: .5s;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(#ccc, #ff0000);
}

img {
  object-fit: cover;
   max-width: 100%;
  height: auto;
}
/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
@import url('https://fonts.googleapis.com/css2?family=Alumni+Sans:wght@500&family=League+Spartan:wght@100..900&family=Playball&display=swap');

body, html {
  font-family: "Lexend Deca", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 300;
  font-size: 1rem;
  /* supported by Chrome and Opera */
  -webkit-user-select: none;
  /* Safari */
  -khtml-user-select: none;
  /* Konqueror HTML */
  -moz-user-select: none;
  /* Firefox */
  -ms-user-select: none;
  /* Internet Explorer/Edge */
   overscroll-behavior: none;
  margin: 0;
  padding: 0;
}
 ul, li {
list-style: none;
vertical-align: baseline;
  }
/* HEADER */

/* HEADER */
header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 50px;
  z-index: 1000;
  background: #f9da7e;
}

header .logo {
  font-size: 20px;
  font-weight: bold;
  color: #fff;
}

header nav .menu {
  list-style: none;
  display: flex;
  gap: 15px;
}

header nav .menu li {
    padding: 5px 5px;
      display: inline-block;
      transition: 0.5s;
      position: relative;
      margin: 0;
}
header nav .menu li a span {
  display: block;
}
header nav .menu li a {
  font-weight: 400;
  color: #3c3131;
  text-decoration: none;
  font-size: 14px;
  padding: 8px 7px;
  transition: 0.3s;
  display: block;
}

header nav .menu li a:hover {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

/* DROPDOWN */
header nav .menu li .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  flex-direction: column;
  min-width: 200px;
}

header nav .menu li:hover .dropdown {
  display: flex;
}

header nav .menu li .dropdown li a {
  padding: 10px;
  color: #fff;
  font-size: 13px;
}

/* HERO SLIDE */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero .slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero .slide.active {
  opacity: 1;
}

.hero .hero-content {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  color: #333;
  background: rgba(255, 255, 255, 0.7);
  padding: 20px;
  border-radius: 8px;
  max-width: 500px;
}

.hero .hero-content h1 {
  font-size: 36px;
  margin-bottom: 15px;
}

.hero .hero-content p {
  font-size: 16px;
  line-height: 1.6;
}

/* RESPONSIVE */
.menu-toggle {
  display: none;
  font-size: 24px;
  color: #fff;
  cursor: pointer;
}

@media (max-width: 768px) {
  header {
    padding: 15px 20px;
  }

  header nav .menu {
    display: none;
    position: absolute;
    top: 60px;
    right: 20px;
    background: rgba(0, 0, 0, 0.9);
    flex-direction: column;
    gap: 0;
    width: 200px;
  }
  header nav .menu li a {
    display: block;
    padding: 12px;
    color: #eee;
  }

  .menu-toggle {
    display: block;
    z-index: 999;
  }
header nav .menu li .dropdown {
  position: relative;
}
  header nav.active .menu {
    display: flex;
  }

  .hero .hero-content {
    left: 5%;
    right: 5%;
    max-width: 90%;
  }

  .hero .hero-content h1 {
    font-size: 28px;
  }
}


/* hover menu */
.text {
  text-decoration: none;
  font-size: 18px;
  line-height: 30px;
  color: var(--color-red);
  height: 30px;
  overflow: hidden;
  cursor: pointer;
}

.text:hover .letter,
.text.play .letter {
  transform: translateY(-100%);
}

.text .block:last-child {
  color: var(--bg);
}

.text .letter {
  display: inline-block;
  transition: transform 0.6s cubic-bezier(0.76, 0, 0.24, 1);
}

.letter:nth-child(1) {
  transition-delay: 0s;
}

.letter:nth-child(2) {
  transition-delay: 0.03s;
}

.letter:nth-child(3) {
  transition-delay: 0.06s;
}

.letter:nth-child(4) {
  transition-delay: 0.09s;
}

.letter:nth-child(5) {
  transition-delay: 0.12s;
}

.letter:nth-child(6) {
  transition-delay: 0.15s;
}

.letter:nth-child(7) {
  transition-delay: 0.18s;
}

.letter:nth-child(8) {
  transition-delay: 0.21s;
}

.letter:nth-child(9) {
  transition-delay: 0.24s;
}

.letter:nth-child(10) {
  transition-delay: 0.27s;
}

.letter:nth-child(11) {
  transition-delay: 0.3s;
}

.letter:nth-child(12) {
  transition-delay: 0.33s;
}

/* HERO SLIDE */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}
.hero-page {
  position: relative;
  width: 100%;
  height: 50vh;
  overflow: hidden;
}
.hero .slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.hero .slide.active {
  opacity: 1;
}
.hero .hero-content {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  color: #333;
  background: rgba(255,255,255,0.7);
  padding: 20px;
  border-radius: 8px;
  max-width: 500px;
}
.hero .hero-content h1 {
  font-size: 36px;
  margin-bottom: 15px;
}
.hero .hero-content p {
  font-size: 16px;
  line-height: 1.6;
}

/* RESPONSIVE */

@media (max-width: 768px) {
  header {
    padding: 15px 20px;
  }
  .hero .hero-content {
    left: 5%;
    right: 5%;
    max-width: 90%;
  }
  .hero .hero-content h1 {
    font-size: 28px;
  }
}


/*about*/
.about {
  background: #3c3c3c;
  padding: 60px 0;
  color: #fff;
}


/* SECTION NEWS */
.news {
  background: #e9cbb4;
  padding: 60px 0;
  color: #fff;
}
.news-page {
  background: #f8f6ef;
  padding: 60px 0;
  color: #fff;
}
.news .section-title {
  font-size: 28px;
  margin-bottom: 30px;
  font-weight: bold;
  color: #e0d0c0;
}
.news .section-title2 {
  font-size: 28px;
  margin-bottom: 30px;
  font-weight: bold;
  color: #000;
}
.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.news-item {
  display: flex;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  flex-direction: row;
}

.news-image {
  flex: 1;
  overflow: hidden;
}
.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.news-image:hover img {
  transform: scale(1.08);
}
.news-content {
  flex: 1;
  padding: 20px;
  color: #333;
}
.news-content h3 {
  font-size: 17px;
  margin-bottom: 15px;
  font-weight: bold;
}
.news-content p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
}
.news-content .read-more {
  font-size: 13px;
  text-decoration: none;
  color: #b44;
  font-weight: bold;
  transition: 0.3s;
}
.news-content .read-more:hover {
  color: #ff5555;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
  .news-item {
    flex-direction: column !important;
  }
  .news-image {
    height: 220px;
  }
}

.bg-home{
background: #69BBD9;
  background: linear-gradient(0deg, rgba(105, 187, 217, 1) 0%, rgba(105, 187, 217, 1) 13%, rgba(241, 228, 215, 1) 62%);
}
/* HOT PRODUCT */
.hot-product {
  padding: 60px 0;
}
.latest-product {
  padding: 20px 0 60px 0;
}
.hot-product .hot-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 20px;
}
.hot-product .hot-header h2 {
  font-size: 26px;
  color: #222;
   font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-style: normal;
}


.hot-product .hot-header h2 span {
  color: #d35400; /* HOT chữ màu cam */
}
.hot-product .hot-header p {
  flex: 1;
  font-size: 14px;
  line-height: 1.6;
  max-width: 700px;
}

/* GRID PRODUCT */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.product-item {
  position: relative;
  border-radius: 8px;
  cursor: pointer;
  padding-bottom: 20px;
}
.product-item .product-pic {
	position: relative;
	overflow: hidden;
	border-radius: 10px;
}
.product-item .product-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.product-item:hover img {
  transform: scale(1.05);
}

/* OVERLAY + TITLE */
.product-item .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background 0.4s ease;
}
.product-item .product-title {
  position: absolute;
  bottom: -30px;
  left: 15px;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  opacity: 0;
  transition: all 0.4s ease;
}
.product-item .pro-title {
    padding-top: 10px;
  	font-size: 17px;
}
.product-item .pro-title a {color: #000;}

.product-item .pro-price {
  	font-size: 18px;
	font-weight: bold;
	color: #ff0000;
}
.product-item .pro-price span {float: right; font-size: 18px; color: #585858; text-decoration: line-through;}

.product-item:hover .overlay {
  background: rgba(0,0,0,0.2);
}
.product-item:hover .product-title {
  bottom: 15px;
  opacity: 1;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

/* SUSTAINABILITY */
.sustainability {
  padding: 60px 0;
  text-align: center;
  color: #111;
}
.sustainability .sustain-item {
  display: inline-block;
  width: 30%;
  margin: 0 1%;
  vertical-align: top;
}
.sustainability img {
  max-height: 80px;
  margin-bottom: 15px;
}
.sustainability h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}
.sustainability .line {
  display: block;
  width: 60%;
  height: 1px;
  background: #111;
  margin: 0 auto 10px;
}
.counter-wrap {
  font-size: 24px;
  font-weight: bold;
  color: #fff; /* số màu trắng */
}
.counter-wrap small {
  display: block;
  font-size: 14px;
  color: #111;
}
.counter {
  font-size: 32px;
  font-weight: bold;
}
.unit {
  font-size: 18px;
}
.sustain-desc {
  margin-top: 40px;
  font-size: 14px;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #111;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .sustainability .sustain-item {
    width: 100%;
    margin-bottom: 30px;
  }
}


/* FOOTER BASE */
.footer {
  background: #f1ead8;
  padding: 40px 0 10px 0;
  font-size: 14px;
  color: #111;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  width: 70%;
}
.footer-menu a {
  text-decoration: none;
  color: #111;
  font-size: 17px;
  font-weight: 500;
  transition: color 0.3s;
}
.footer-menu a:hover {
  color: #d35400;
}
.social-media {
  width: 30%;
  margin-top: 20px;
  justify-content: flex-start;
  align-items: center;
  min-height: 60px;
}

.social-media ul {
  position: relative;
  display: flex;
}

.social-media ul li {
  position: relative;
  list-style: none;
  margin: 10px;
}

.social-media ul li a {
  position: relative;
  width: 60px;
  height: 60px;
  display: inline-block;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: #958A88;
  font-size: 2em;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 5px 45px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(2px);
  overflow: hidden;
  transition: 0.5s;
}

.social-media ul li a:hover {
  transform: translateY(-20px);
}

.social-media ul li a:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50px;
  height: 100%;
  background: rgba(255, 255, 255, 0.5);
  transform: translateX(150px) skewX(45deg);
  transition: 0.5s;
}

.social-media ul li a:hover:before {
  transform: translateX(-150px) skewX(45deg);
}

.footer-copy {
  margin: 30px 0 0 0;
  text-align: center;
  font-size: 16px;
  color: #666;
}

/* FOOTER COLUMNS */
.footer-columns {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 16px;
}

.footer-col {
  width: 20%;
  min-width: 200px;
}

.about-col {
  width: 34%;
}
.category-col {
  width: 40%;
}
.category-col ul {display: block;}
.category-col ul li {display: inline-block; width: 46%;}

.footer-col h4 {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 10px;
  border-bottom: 1px solid #111;
  padding-bottom: 5px;
  cursor: pointer;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col ul li {
  margin: 6px 0;
  color: #333;
}

/* MOBILE: accordion */
@media (max-width: 576px) {
  .footer-columns {
    flex-direction: column;
  }
  .footer-col {
    width: 100%;
  }

/* Accordion mặc định */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding-left: 10px;
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 0;
}

/* Khi mở */
.accordion-content.open {
  max-height: 500px; /* số lớn để đủ chứa nội dung */
  padding-top: 5px;
  padding-bottom: 5px;
}

/* Icon toggle */
.accordion-title::after {
  content: "➕";
  float: right;
  font-size: 13px;
  transition: transform 0.3s;
}
.accordion-title.active::after {
  content: "➖";
  transform: rotate(180deg);
}
}
/* CAROUSEL FOOTER SLIDE */
.slider-section {
  background: #e9cbb4;
  /* màu nền footer */
  padding: 40px 10% 40px 10%;
    position: relative;
      margin: 0 auto;
      overflow: hidden;
}
.footer-banner img {
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.footer-banner img:hover {
  transform: scale(1.05);
}
.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 760px) {
  .swiper-button-next {
    right: 20px;
    transform: rotate(90deg);
  }

  .swiper-button-prev {
    left: 20px;
    transform: rotate(90deg);
  }
}

/* SHOP PAGE */
.breadcrumb-page {
  	padding: 10px 0;
  	background: #404040;
  	font-size: 16px;
}
.breadcrumb {margin: 0;}
.breadcrumb a {color: #C0C0C0;}
.breadcrumb li {
  margin: 0;
  padding: 0 10px 0 0;
}
.breadcrumb li::before {
    padding-right: 10px;
    color: #6c757d;
    content: "/";
}
.breadcrumb li:first-child::before {content: ''; padding: 0;}


.shop-container {
  display: flex;
  gap: 40px;
  padding: 40px 10%;
}

/* Product list */
.product-list {
  flex: 3;
}

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

.shop-header select {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

.product-card {
  background: #fff;
  padding: 10px;
  text-align: center;
  transition: transform 0.3s ease;
  border: 1px solid #eee;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card img {
  width: 100%;
  height: auto;
  display: block;
}

.product-card h3 {
  font-size: 16px;
  margin: 15px 0 5px;
}

.product-card .price {
  color: #111;
  font-weight: bold;
}

/* Sidebar */
.sidebar {
  flex: 1;
}

.search-box {
  display: flex;
  margin-bottom: 30px;
}

.search-box input {
  flex: 1;
  padding: 10px;
  border: 1px solid #ddd;
}

.search-box button {
  padding: 10px;
  background: #333;
  color: #fff;
  border: none;
}

.widget {
  margin-bottom: 30px;
}

.widget h4 {
  font-size: 18px;
  margin-bottom: 15px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 5px;
}

.widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.widget ul li {
  margin: 8px 0;
  font-size: 14px;
}

.social-icons a {
  margin-right: 10px;
  font-size: 20px;
  text-decoration: none;
}

/* Responsive */
@media (max-width: 992px) {
  .shop-container {
    flex-direction: column;
  }

  .sidebar {
    order: -1;
  }
}

/* Product Detail */
.product-detail {
  display: flex;
  gap: 40px;
  padding: 40px 0;
}

.product-image {
  flex: 1;
}

.product-image img {
  /*width: 100%;*/
  border: 1px solid #eee;
}

.product-info {
  flex: 1;
}
.product-info p{
  padding: 0;
}
.product-info h1 {
  font-size: 28px;
  margin-bottom: 25px;
  text-transform: uppercase;
}

.product-info .price {
  font-size: 22px;
  color: #ff0000;
  font-weight: bold;
}
.product-info .old-price {
	color: #808080;
	text-decoration: line-through;
	font-size: 22px;
	padding-left: 20px;
}

.product-info .desc {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.product-content {background-color: #fff; border-radius: 15px; padding: 30px 40px; min-height: 300px;}
.product-content h2 {font-size: 20px; font-weight: 600; padding: 0 0 20px 0; margin: 0;}

.share {
  margin-top: 15px;
}

.share a {
  margin-left: 10px;
  text-decoration: none;
  font-size: 18px;
}

/* Tabs */
.product-tabs {
  padding: 40px 10%;
}

.tab-btn {
  background: #f9f9f9;
  border: 1px solid #ddd;
  padding: 10px 20px;
  cursor: pointer;
  margin-right: 5px;
}

.tab-btn.active {
  background: #fff;
  border-bottom: 2px solid #000;
  font-weight: bold;
}

.tab-content {
  display: none;
  margin-top: 20px;
  padding: 20px;
  border: 1px solid #eee;
}

.tab-content.active {
  display: block;
}

/* Related Products */
.related {
  padding: 40px 0;
}

.related h3 {
  font-size: 20px;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.related .grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.related .product-card {
  background: #fff;
  padding: 10px;
  text-align: center;
  border: 1px solid #eee;
  transition: transform 0.3s ease;
}

.related .product-card:hover {
  transform: translateY(-5px);
}

.related .product-card img {
  width: 100%;
}

.related .price {
  font-weight: bold;
  color: #111;
}

/* Responsive */
@media (max-width: 992px) {
  .product-detail {
    flex-direction: column;
  }
}

/* Main gallery */
.product-gallery {
  max-width: 600px;
  margin: auto;
}

.main-image img {
  width: 100%;
  border-radius: 5px;
  cursor: pointer;
}

.thumbs-wrapper {
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.thumbs-container {
  overflow: hidden;
  flex: 1;
}
.thumbs-track {
  display: flex;
  gap: 10px;
  transition: transform 0.3s ease-in-out;
}
.thumb {
  width: 90px;
  height: 110px;
  object-fit: cover;
  border-radius: 5px;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.3s, border 0.3s;
}
.thumb.active {
  border: 2px solid #000;
}
.thumb:hover {
  transform: scale(1.05);
}
.thumb-arrow {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  padding: 5px;
  color: #333;
  z-index: 10;
}
.thumb-arrow:hover {
  color: #000;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
}
.lightbox.show {
  display: flex;
  animation: fadeIn 0.4s ease;
}
.lightbox-img {
  max-width: 80%;
  max-height: 80%;
  border-radius: 8px;
  opacity: 0;
  transform: translateX(0);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.lightbox-img.show {
  opacity: 1;
}

/* Arrows & Close */
.lightbox-arrow, .close {
  position: absolute;
  background: none;
  border: none;
  font-size: 36px;
  color: #fff;
  cursor: pointer;
  z-index: 10000;
}
.lightbox-arrow.prev { left: 40px; }
.lightbox-arrow.next { right: 40px; }
.close {
  top: 20px;
  right: 30px;
  font-size: 40px;
}

/* Animations */
@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}
.slide-left {
  transform: translateX(-50px);
  opacity: 0;
}
.slide-right {
  transform: translateX(50px);
  opacity: 0;
}
