/* Slider styles */
.slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-bottom: 20px;
}

.slider {
  display: flex;
  transition: transform 0.5s ease;
  height: 500px;
}

.slide {
  min-width: 100%;
  position: relative;
  display: none;
}

.slide.active {
  display: block;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 20px;
  border-radius: 5px;
  width: 80%;
  max-width: 600px;
}

.slide-content h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.slide-content p {
  font-size: 1.2rem;
}

.slider-controls {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.prev-btn, .next-btn {
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  color: black;
  font-size: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  margin: 0 15px;
  transition: background-color 0.3s;
}

.prev-btn:hover, .next-btn:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

.slider-dots {
  display: flex;
  justify-content: center;
}

.dot {
  height: 12px;
  width: 12px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: inline-block;
  margin: 0 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.dot.active {
  background-color: white;
}

/* Điều chỉnh hero content cho phù hợp với slider */
.hero {
  position: relative;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-content {
  text-align: center;
  padding: 20px 0;
  width: 100%;
}

.logo-link {
    text-decoration: none;
    color: inherit;
}

.marquee-container {
  background: linear-gradient(to right, white, #f0f8ff);
  color: #0077b6;
  padding: 10px;
  font-weight: bold;
  font-size: 16px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 100%;
}

marquee {
  font-size: 18px;
  font-weight: bold;
}

/* Styling for new testimonials and questions */
.pending-review, .pending-question {
  position: relative;
  border: 2px dashed #1E3A5F;
  background-color: #f8f9fa;
}

.pending-badge {
  position: absolute;
  top: -10px;
  right: 10px;
  background-color: #ff9800;
  color: white;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: bold;
}

/* Questions section styling */
.questions-section {
  margin-top: 40px;
}

.subsection-title {
  text-align: center;
  margin-bottom: 20px;
  color: #1E3A5F;
  font-size: 22px;
}

.question-card {
  background-color: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  margin-bottom: 20px;
  position: relative;
}

.question-content {
  margin-bottom: 15px;
}

.question-text {
  font-size: 16px;
  margin-bottom: 10px;
}

.question-product {
  font-size: 14px;
  color: #666;
}

.question-author {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #555;
}

.star.empty {
  color: #ddd;
}

.customer-interaction {
  margin-top: 40px;
  text-align: center;
}

.interaction-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.interaction-btn {
  background-color: #1E3A5F;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

.interaction-btn:hover {
  background-color: #2a517f;
  transform: translateY(-2px);
}

/* Styling for feedback forms */
.feedback-form-container {
  max-width: 700px;
  margin: 0 auto 40px;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.feedback-form h3 {
  text-align: center;
  margin-bottom: 20px;
  color: #1E3A5F;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 14px;
}

.form-group textarea {
  resize: vertical;
}

/* Star rating input */
.rating-input {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
}

.rating-input input {
  display: none;
}

.rating-input label {
  font-size: 30px;
  color: #ddd;
  cursor: pointer;
  margin-right: 5px;
  transition: color 0.2s;
}

.rating-input label:hover,
.rating-input label:hover ~ label,
.rating-input input:checked ~ label {
  color: #f8d32a;
}

/* Radio group */
.radio-group {
  display: flex;
  gap: 20px;
}

.radio-group input {
  margin-right: 5px;
}

/* Form action buttons */
.form-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.submit-btn, .cancel-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.submit-btn {
  background-color: #1E3A5F;
  color: white;
}

.submit-btn:hover {
  background-color: #2a517f;
}

.cancel-btn {
  background-color: #e0e0e0;
  color: #333;
}

.cancel-btn:hover {
  background-color: #d0d0d0;
}

/* CSS cho chức năng tìm kiếm */
.search-results {
  display: none;
  position: absolute;
  top: 60px;
  right: 15px;
  width: 80%;
  max-width: 600px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  max-height: 80vh;
  overflow-y: auto;
}

.search-results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  border-bottom: 1px solid #eee;
}

.search-results-header h3 {
  margin: 0;
  color: #333;
}

.close-search-results {
  font-size: 24px;
  cursor: pointer;
  color: #666;
}

.close-search-results:hover {
  color: #333;
}

.search-results-content {
  padding: 15px;
}

.results-count {
  margin-bottom: 15px;
  color: #666;
  font-size: 14px;
}

.no-results {
  text-align: center;
  padding: 20px 0;
  color: #666;
}

.search-result-item {
  display: flex;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.search-result-img {
  width: 80px;
  height: 80px;
  margin-right: 15px;
  flex-shrink: 0;
}

.search-result-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.search-result-details {
  flex-grow: 1;
}

.search-result-details h4 {
  margin: 0 0 5px;
  color: #333;
}

.search-result-price {
  font-weight: bold;
  color: #e7710b;
  margin-bottom: 5px;
}

.search-result-details p {
  margin: 0 0 10px;
  font-size: 14px;
  color: #666;
}

.search-result-btn {
  background-color: #e7710b;
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}

.search-result-btn:hover {
  background-color: #d16508;
}

/* Header có thể cuộn theo */
.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 10px 0;
}

body.has-sticky-header {
  padding-top: 80px; /* Điều chỉnh giá trị này tùy theo chiều cao của header */
}

/* CSS cho thanh tìm kiếm */
.search-container {
  display: flex;
  align-items: center;
  margin: 0 20px;
  flex: 1;
  max-width: 400px;
}

.search-container input[type="text"] {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 20px;
  font-size: 14px;
  width: 100%;
  outline: none;
  transition: all 0.3s ease;
}

.search-container input[type="text"]:focus {
  border-color: #1E3A5F;
  box-shadow: 0 0 5px rgba(30, 58, 95, 0.3);
}

.search-btn {
  background: none;
  border: none;
  cursor: pointer;
  margin-left: -30px;
  font-size: 16px;
  color: #666;
}

/* Điều chỉnh layout header để thêm thanh tìm kiếm */
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

nav {
  margin-left: auto;
}

nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  margin: 0 10px;
}

nav ul li a {
  color: var(--dark-color);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 5px 10px;
  border-radius: 4px;
  white-space: nowrap;
}

nav ul li a:hover {
  background-color: rgba(255, 255, 255, 0.3);
  color: var(--dark-color);
}

.copyright {
  text-align: center;
  padding: 15px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  letter-spacing: 1px;
  text-shadow: 1px 1px 5px rgba(255, 255, 255, 0.5);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.introduction {
  background: linear-gradient(45deg,
          #b0e0e6,
          #e6f3ff,
          #c1e1ec,
          #ffc0cb,
          #fffacd,
          #ffffff,
          #ffdab9,
          #98fb98,
          #87cefa);
  background-size: 400% 400%;
  color: white;
  padding: 4rem 0;
  text-align: center;
  animation: GradientBackground 20s ease infinite;
}

@keyframes GradientBackground {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.introduction-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.logo-large {
  width: 200px;
  height: 200px;
  background-color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  animation: float 3s ease-in-out infinite;
}

.logo-large img {
  max-width: 150px;
  max-height: 150px;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

.introduction-content {
  max-width: 600px;
  text-align: left;
}

.introduction-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #2c3e50;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.introduction-desc {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: #34495e;
}

.brand-highlight {
  color: #2980b9;
  font-weight: bold;
}

:root {
  --primary-color: #a8d8f0;
  --secondary-color: #5aafdb;
  --accent-color: #2e86ab;
}

.promo-section {
  background-color: #f0f8ff;
  padding: 4rem 0;
  text-align: center;
}

.promo-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 2rem;
}

.promo-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  max-width: 300px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.promo-icon {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.promo-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.promo-description {
  color: #666;
}

.countdown {
  background: linear-gradient(to right, #a8d8f0, #5aafdb);
  color: white;
  padding: 3rem 0;
  text-align: center;
}

.countdown-timer {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 2rem;
}

.countdown-item {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 20px;
  min-width: 100px;
}

.countdown-number {
  font-size: 2.5rem;
  font-weight: bold;
}

.countdown-label {
  margin-top: 10px;
  font-size: 0.9rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

:root {
  --primary-color: #a8d8f0;
  --secondary-color: #5aafdb;
  --accent-color: #2e86ab;
  --text-color: #333;
  --light-color: #f5f9fc;
  --dark-color: #1a5276;
}

body {
  background-color: var(--light-color);
  color: var(--text-color);
  line-height: 1.6;
}

/* Header Styles */
header {
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  color: var(--dark-color);
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  width: 100%;
  z-index: 1000;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 2.2rem;
  font-weight: bold;
  color: var(--dark-color);
}

.logo span {
  color: #fff;
}

/* Search container styling */
.search-container {
  display: flex;
  align-items: center;
  margin: 0 20px;
  flex: 1;
  max-width: 400px;
}

.search-container input[type="text"] {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 20px;
  font-size: 14px;
  width: 100%;
  outline: none;
  transition: all 0.3s ease;
}

.search-container input[type="text"]:focus {
  border-color: #1E3A5F;
  box-shadow: 0 0 5px rgba(30, 58, 95, 0.3);
}

.search-btn {
  background: none;
  border: none;
  cursor: pointer;
  margin-left: -30px;
  font-size: 16px;
  color: #666;
}

/* Navigation menu styling */
nav {
  margin-left: auto;
}

nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  margin: 0 10px;
}

nav ul li a {
  color: var(--dark-color);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 5px 10px;
  border-radius: 4px;
  white-space: nowrap;
}

nav ul li a:hover {
  background-color: rgba(255, 255, 255, 0.3);
  color: var(--dark-color);
}

/* Sticky header styling */
.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 10px 0;
}

body.has-sticky-header {
  padding-top: 80px; /* Adjust based on header height */
}

/* Responsive styles */
@media (max-width: 992px) {
  .header-container {
    flex-wrap: wrap;
  }
  
  .logo {
    margin-bottom: 10px;
  }
  
  .search-container {
    order: 3;
    margin: 10px 0;
    max-width: 100%;
  }
  
  nav {
    order: 2;
    width: 100%;
  }
  
  nav ul {
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    align-items: center;
  }
  
  nav ul {
    margin-top: 15px;
    justify-content: center;
  }
  
  nav ul li {
    margin: 5px;
  }
}

/* Hero Section */
.hero {
  background: white,
      url("/api/placeholder/1200/600") center/cover no-repeat;
  height: 500px;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  color: var(--dark-color);
  z-index: 1;
  position: relative;
}

.hero-content h1 {
  font-size: 3.2rem;
  margin-bottom: 1rem;
  color: white;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  max-width: 600px;
  color: white;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.btn {
  display: inline-block;
  background: var(--accent-color);
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--dark-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Products Section */
.section {
  padding: 4rem 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 2.5rem;
  margin-top: 2.5rem;
  position: relative;
  color: var(--dark-color);
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--secondary-color);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.product-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: var(--accent-color);
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
}

.product-img {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.product-details {
  padding: 20px;
}

.product-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--dark-color);
}

.product-price {
  font-size: 1.5rem;
  color: var(--accent-color);
  font-weight: bold;
  margin-bottom: 15px;
}

.product-desc {
  color: #666;
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.product-actions {
  display: flex;
  justify-content: space-between;
}

.add-to-cart {
  background: var(--secondary-color);
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
  flex-grow: 1;
  margin-right: 10px;
}

.add-to-cart:hover {
  background: var(--accent-color);
}

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  background-color: #fefefe;
  margin: 10% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px;
  border-radius: 10px;
}

.modal-content form {
  display: flex;
  flex-direction: column;
}

.modal-content input,
.modal-content textarea {
  margin: 10px 0;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.close-modal {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.submit-order {
  background-color: #4caf50;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 15px;
}

.wishlist-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.wishlist-btn:hover {
  background: #e0e0e0;
}

/* Features Section */
.features {
  background: linear-gradient(to right, #e6f4fa, #d0eaf7);
  padding: 4rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.feature-box {
  background: white;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.feature-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.testimonial-card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-card::before {
  content: '"';
  font-size: 5rem;
  position: absolute;
  top: -10px;
  left: 20px;
  color: var(--primary-color);
  opacity: 0.3;
}

.testimonial-text {
  margin-bottom: 20px;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 15px;
  object-fit: cover;
}

.author-name {
  font-weight: bold;
  color: var(--dark-color);
}

.author-title {
  font-size: 0.9rem;
  color: #666;
}

/* Benefits Section */
.benefits {
  padding: 4rem 0;
  background-color: white;
}

.benefits-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.benefits-img {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  border-radius: 10px;
  overflow: hidden;
}

.benefits-img img {
  width: 100%;
  height: auto;
  display: block;
}

.benefits-content {
  flex: 1;
  min-width: 300px;
}

.benefits-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--dark-color);
}

.benefits-list {
  list-style: none;
}

.benefits-list li {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
}

.benefits-list li::before {
  content: "✓";
  margin-right: 10px;
  color: var(--accent-color);
  font-weight: bold;
}

/* Contact Section */
.contact {
  background: linear-gradient(to right,
          var(--primary-color),
          var(--secondary-color));
  color: var(--dark-color);
  padding: 4rem 0;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: white;
}

.contact-info p {
  margin-bottom: 1rem;
  color: white;
}

.contact-info-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.contact-info-icon {
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  color: var(--accent-color);
  font-size: 1.2rem;
}

.contact-form {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--dark-color);
}

.form-group {
  margin-bottom: 15px;
}

.form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--secondary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(90, 175, 219, 0.2);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  background: var(--accent-color);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
  width: 100%;
}

.btn-submit:hover {
  background: var(--dark-color);
}

/* Newsletter Section */
.newsletter {
  padding: 4rem 0;
  background-color: #e6f4fa;
  text-align: center;
}

.newsletter-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.newsletter-desc {
  max-width: 600px;
  margin: 0 auto 2rem auto;
}

.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-input {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 30px 0 0 30px;
  font-size: 1rem;
  border-right: none;
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--secondary-color);
}

.newsletter-btn {
  padding: 0 20px;
  background: var(--accent-color);
  color: white;
  border: none;
  border-radius: 0 30px 30px 0;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
}

.newsletter-btn:hover {
  background: var(--dark-color);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 2rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: linear-gradient(45deg, #00f2fe, #4facfe);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-link:hover::before {
  width: 150%;
  height: 150%;
}

.social-link i {
  position: relative;
  z-index: 1;
}

.social-link:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.footer-container {
  padding: 4rem 2rem;
  margin-top: 4rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.footer-col {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  padding: 0 1rem;
}

@media (max-width: 768px) {
  .footer-col {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }

  .footer-col h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-col ul li::before {
    display: none;
  }

  .footer-col ul li a:hover {
    transform: translateY(-3px);
  }

  .social-links {
    justify-content: center;
  }
}

.footer-col h4 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  color: #fff;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, #00f2fe, #4facfe);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
}

.footer-col ul li {
  margin-bottom: 0.8rem;
  position: relative;
}

.footer-col ul li::before {
  content: '';
  position: absolute;
  left: -15px;
  top: 50%;
  width: 6px;
  height: 6px;
  background: linear-gradient(45deg, #00f2fe, #4facfe);
  border-radius: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: all 0.3s ease;
}

.footer-col ul li:hover::before {
  opacity: 1;
  left: -10px;
}

.footer-col ul li a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: black;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
  background: transparent;
}

.footer-col ul li a:hover {
  transform: translateX(10px);
  background: transparent;
}

.footer-col ul li a img {
  width: 24px;
  height: 24px;
  margin-right: 12px;
}

.footer-col ul li a strong {
  font-weight: 500;
  font-size: 1rem;
}

.copyright {
  text-align: center;
  padding: 1.5rem 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 3rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

/* Responsive */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    text-align: center;
  }

  nav ul {
    margin-top: 1rem;
    justify-content: center;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .section-title {
    margin-top: 2rem;
    font-size: 1.8rem;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-input {
    border-radius: 30px;
    border-right: 1px solid #ddd;
    margin-bottom: 10px;
  }

  .newsletter-btn {
    border-radius: 30px;
  }
}

/* Facebook Comments styling */
.fb-comments-container {
    width: 100%;
    max-width: 100%;
    margin: 30px 0;
    padding: 0 15px;
    box-sizing: border-box;
}

.fb-comments-container iframe {
    width: 100% !important;
}

.fb-comments, 
.fb-comments iframe, 
.fb-comments span {
    width: 100% !important;
}

/* Make sure comments display properly on mobile */
@media (max-width: 768px) {
    .fb-comments-container {
        padding: 0 10px;
    }
    
    .fb-comments {
        width: 100% !important;
    }
    
    .fb-comments iframe {
        width: 100% !important;
    }
}

/* Facebook Comments section styling */
.fb-comments-section {
    background-color: #f9f9f9;
    padding: 30px 0;
    margin: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.fb-comments-section .subsection-title {
    text-align: center;
    margin-bottom: 20px;
    color: #1E3A5F;
    font-size: 22px;
    position: relative;
}

.fb-comments-section .subsection-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
}

.view-detail-btn {
    background-color: #1E3A5F;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    margin-right: 10px;
}

.view-detail-btn:hover {
    background-color: #2a517f;
}

.search-result-details {
    display: flex;
    flex-direction: column;
}

.search-result-details button {
    margin-top: 10px;
}

/* Add search status container styling */
#searchStatusContainer {
  background-color: #f5f9ff;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 25px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

#searchStatusMessage {
  font-size: 16px;
  color: #1E3A5F;
  margin-bottom: 10px;
  font-weight: 500;
}

#clearSearchBtn {
  background-color: #1E3A5F;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s;
}

#clearSearchBtn:hover {
  background-color: #28507a;
}

/* Enhance product card for better search visibility */
.product-card {
  transition: all 0.3s ease;
}

/* Style search input for better user experience */
#productSearchInput {
  border: 2px solid #ddd;
  transition: border-color 0.3s ease;
}

#productSearchInput:focus {
  border-color: #1E3A5F;
  box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

/* Add highlight effect for product cards matching search */
.product-card.search-highlight {
  transform: scale(1.02);
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

/* Search options dropdown styling */
.search-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: white;
  border: 1px solid #ddd;
  border-top: none;
  border-radius: 0 0 8px 8px;
  padding: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 100;
}

.search-option {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.search-option:last-child {
  margin-bottom: 0;
}

.search-option label {
  margin-left: 8px;
  font-size: 14px;
  cursor: pointer;
}

.search-option input[type="checkbox"] {
  cursor: pointer;
}

/* Update search container to have position relative for the dropdown */
.search-container {
  position: relative;
}

/* Highlight matching text in search results */
.search-match {
  background-color: #ffe8b3;
  color: #1E3A5F;
  font-weight: bold;
  padding: 0 2px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px #ffcb66;
}

/* Additional animation for search highlight */
@keyframes highlightPulse {
  0% { box-shadow: 0 0 0 0 rgba(30, 58, 95, 0.2); }
  70% { box-shadow: 0 0 0 8px rgba(30, 58, 95, 0); }
  100% { box-shadow: 0 0 0 0 rgba(30, 58, 95, 0); }
}

.product-card.search-highlight {
  animation: highlightPulse 1.5s ease-in-out;
}

/* Responsive adjustments for search on mobile */
@media (max-width: 768px) {
  .search-container {
    width: 100%;
    margin-bottom: 15px;
  }
  
  .search-options {
    width: 100%;
  }
  
  #searchStatusContainer {
    padding: 10px;
  }
  
  #searchStatusMessage {
    font-size: 14px;
  }
}

/* Dropdown search results styling */
.search-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: white;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 1000;
  max-height: 400px;
  overflow-y: auto;
  display: none;
  border: 1px solid #ddd;
}

.search-dropdown-header {
  padding: 12px 15px;
  background-color: #f5f9ff;
  border-bottom: 1px solid #eee;
  font-weight: bold;
  color: #1E3A5F;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.search-dropdown-close {
  cursor: pointer;
  font-size: 18px;
  color: #666;
}

.search-dropdown-content {
  padding: 0;
}

.search-product-item {
  display: flex;
  padding: 12px 15px;
  border-bottom: 1px solid #eee;
  transition: background-color 0.2s;
  text-decoration: none;
  color: inherit;
}

.search-product-item:hover {
  background-color: #f5f9ff;
}

.search-product-image {
  width: 60px;
  height: 60px;
  min-width: 60px;
  margin-right: 15px;
  border: 1px solid #eee;
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-product-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.search-product-details {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.search-product-name {
  font-weight: 500;
  margin-bottom: 5px;
  color: #333;
}

.search-product-price {
  font-weight: bold;
  color: #e7710b;
  font-size: 16px;
}

.search-product-discount {
  display: flex;
  align-items: center;
}

.search-product-original-price {
  text-decoration: line-through;
  color: #999;
  font-size: 14px;
  margin-right: 8px;
}

.search-product-discount-percent {
  color: #e7710b;
  font-size: 14px;
}

.search-no-results {
  padding: 20px;
  text-align: center;
  color: #666;
}

.search-product-promo {
  font-size: 12px;
  color: #666;
  margin-top: 4px;
}

/* Shopping cart styles */
.cart-container {
  margin-left: 15px;
  position: relative;
}

.cart-icon {
  font-size: 24px;
  color: var(--dark-color);
  text-decoration: none;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  transition: transform 0.2s ease;
}

.cart-icon:hover {
  transform: scale(1.1);
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: #e7710b;
  color: white;
  font-size: 12px;
  font-weight: bold;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* For mobile responsiveness */
@media (max-width: 768px) {
  .cart-container {
    position: absolute;
    top: 10px;
    right: 60px;
  }
}

/* Cart page styles */
.cart-page {
  padding: 40px 0;
}

.cart-title {
  text-align: center;
  margin-bottom: 30px;
  color: var(--dark-color);
}

.cart-container-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.cart-empty {
  text-align: center;
  padding: 50px 0;
}

.cart-empty-icon {
  font-size: 60px;
  color: #ccc;
  margin-bottom: 20px;
}

.cart-empty-text {
  font-size: 18px;
  color: #666;
  margin-bottom: 30px;
  margin-top: 20px;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
}

.cart-table th {
  background-color: #f5f9ff;
  padding: 12px;
  text-align: left;
  color: var(--dark-color);
  font-weight: 600;
}

.cart-table td {
  padding: 15px 12px;
  border-bottom: 1px solid #eee;
  vertical-align: middle;
}

.cart-product {
  display: flex;
  align-items: center;
}

.cart-product-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  margin-right: 15px;
  border: 1px solid #eee;
  padding: 2px;
}

.cart-product-name {
  font-weight: 500;
  color: var(--dark-color);
}

.cart-qty {
  width: 70px;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-align: center;
}

.cart-remove {
  color: #ff4d4d;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  transition: color 0.2s;
}

.cart-remove:hover {
  color: #ff1a1a;
}

.cart-actions {
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.cart-continue-shopping {
  padding: 10px 20px;
  background-color: #fff;
  color: var(--dark-color);
  border: 1px solid var(--dark-color);
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
}

.cart-continue-shopping:hover {
  background-color: #f5f9ff;
}

.cart-summary {
  width: 350px;
  padding: 20px;
  background-color: #f5f9ff;
  border-radius: 8px;
}

.summary-title {
  font-size: 18px;
  margin-bottom: 15px;
  color: var(--dark-color);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.summary-label {
  color: #666;
}

.summary-value {
  font-weight: 500;
}

.summary-total {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #ddd;
  font-size: 18px;
  font-weight: bold;
}

.checkout-btn {
  width: 100%;
  padding: 12px;
  margin-top: 20px;
  background-color: var(--accent-color);
  color: white;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
}

.checkout-btn:hover {
  background-color: var(--dark-color);
}

/* Add to cart confirmation message */
.add-to-cart-confirmation {
  position: fixed;
  top: 30px;
  right: 30px;
  background-color: #ffffff;
  border-left: 4px solid #4CAF50;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  padding: 0;
  z-index: 1000;
  transform: translateX(110%);
  transition: transform 0.3s ease;
  max-width: 300px;
}

.add-to-cart-confirmation.show {
  transform: translateX(0);
}

.confirmation-content {
  display: flex;
  align-items: center;
  padding: 15px;
}

.confirmation-icon {
  background-color: #4CAF50;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-size: 14px;
}

.confirmation-message {
  color: #333;
  font-size: 14px;
}