/* **********************************************************************************************************************************
******************************************************** CAROUSEL - HERO SECTION ****************************************************
************************************************************************************************************************************* */

.animated-text-section {
  position: relative;
  padding: 150px 0;
  overflow: hidden;
  height: 80vh;
  display: flex;
  align-items: center;
}

.background-images {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

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

.bg-image.active {
  opacity: 1;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.animated-text-container {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.main-heading {
  font-size: 4rem;
  font-weight: 700;
  font-family: "League Spartan", sans-serif !important;
  margin-bottom: 2rem;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out;
}

.highlight {
  color: #00e6ac;
  position: relative;
}

.highlight::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #00e6ac;
  transform: scaleX(0);
  transform-origin: right;
  animation: underline 1.5s ease-out forwards;
}

.text-slider {
  height: 50px;
  overflow: hidden;
  margin-bottom: 2rem;
  position: relative;
  font-family: "League Spartan", sans-serif;
}

.slider-wrapper {
  position: absolute;
  width: 100%;
  animation: slideUp 20s linear infinite;
}

.slider-text {
  font-size: 2.3rem;
  font-weight: 600;
  color: #ffffff;
  height: 60px;
  line-height: 60px;
  text-align: center;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s ease-out forwards;
  position: relative;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  animation: fadeInUp 1s ease-out 0.5s both;
  margin-top: 2rem;
}

.animated-text-section .btn {
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.animated-text-section .btn-primary {
  background: #0d5560 !important;
  border: none !important;
  color: #ffffff !important;
}

.animated-text-section .btn-primary:hover {
  background: #e0fdf9 !important;
  color: #0d5560 !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

.animated-text-section .btn-outline-primary {
  border: 2px solid #ffffff !important;
  color: #ffffff !important;
  background: transparent !important;
}

.animated-text-section .btn-outline-primary:hover {
  background: #ffffff !important;
  color: #0d5560 !important;
  transform: translateY(-2px);
  border: 2px solid #0d5560 !important;
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  0% {
    transform: translateY(0);
  }

  4% {
    transform: translateY(-12px);
  }

  8% {
    transform: translateY(-24px);
  }

  12% {
    transform: translateY(-36px);
  }

  16% {
    transform: translateY(-48px);
  }

  20% {
    transform: translateY(-60px);
  }

  24% {
    transform: translateY(-72px);
  }

  28% {
    transform: translateY(-84px);
  }

  32% {
    transform: translateY(-96px);
  }

  36% {
    transform: translateY(-108px);
  }

  40% {
    transform: translateY(-120px);
  }

  44% {
    transform: translateY(-132px);
  }

  48% {
    transform: translateY(-144px);
  }

  52% {
    transform: translateY(-156px);
  }

  56% {
    transform: translateY(-168px);
  }

  60% {
    transform: translateY(-180px);
  }

  64% {
    transform: translateY(-192px);
  }

  68% {
    transform: translateY(-204px);
  }

  72% {
    transform: translateY(-216px);
  }

  76% {
    transform: translateY(-228px);
  }

  80% {
    transform: translateY(-240px);
  }

  84% {
    transform: translateY(-252px);
  }

  88% {
    transform: translateY(-264px);
  }

  92% {
    transform: translateY(-276px);
  }

  96% {
    transform: translateY(-288px);
  }

  100% {
    transform: translateY(-300px);
  }
}

@keyframes underline {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@media (max-width: 768px) {
  .main-heading {
    font-size: 2.5rem;
  }

  .slider-text {
    font-size: 1.5rem;
  }

  .cta-buttons {
    flex-direction: column;
  }
}

/* **********************************************************************************************************************************
******************************************************** FEATURED SECTION ***********************************************************
************************************************************************************************************************************* */

/* Featured Categories Section */
.featured-categories {
  padding: 4rem 0;
  background-color: #f8f9fa;
  text-align: center;
}

.featured-categories h2 {
  font-family: "League Spartan", sans-serif;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #333;
}

.category-line {
  width: 100px;
  height: 3px;
  background-color: #0d5560;
  margin: 0 auto 3rem;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 0 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.category-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  aspect-ratio: 4/3;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.category-images {
  position: relative;
  width: 100%;
  height: 100%;
}

.category-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.category-image.active {
  opacity: 1;
}

.category-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 2rem 1rem 1rem;
  color: white;
  text-align: left;
}

.category-title {
  font-family: "League Spartan", sans-serif;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: white;
}

.explore-btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: #0d5560;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-family: "League Spartan", sans-serif;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
}

.explore-btn:hover {
  background-color: #a2fff3;
  color: #0d5560;
}

/* Responsive Design */
@media (max-width: 992px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .categories-grid {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }

  .featured-categories h2 {
    font-size: 2rem;
  }

  .category-title {
    font-size: 1.2rem;
  }
}

/* **********************************************************************************************************************************
******************************************************** COMPANY BANNER *************************************************************
************************************************************************************************************************************* */

/* Banner Section */
.banner {
  position: relative;
  width: 100%;
  height: 450px;
  overflow: hidden;
}

.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  background: rgba(0, 0, 0, 0.5);
  /* Dark overlay */
  padding: 20px;
  border-radius: 8px;
}

.banner-content h2 {
  font-size: 2rem;
  font-weight: bold;
}

.banner-content p {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.btn-primary {
  background-color: #0d5560;
  border: none;
  padding: 10px 20px;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .banner {
    height: 300px;
  }

  .banner-content h2 {
    font-size: 1.5rem;
  }

  .banner-content p {
    font-size: 1rem;
  }
}

/* **********************************************************************************************************************************
******************************************************** PRODUCT CARDS **************************************************************
************************************************************************************************************************************* */

/* Product Cards Section */
.featured-products {
  padding: 4rem 0;
  background-color: #f8f9fa;
}

.section-header-with-line {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  white-space: nowrap;
  color: #0d5560;
  font-family: "League Spartan", sans-serif;
  text-align: center;
  padding-bottom: 8px;
}

.section-title-line {
  flex: 1;
  height: 2px;
  border: none;
  background: #e0e0e0;
  margin-left: 1rem;
}

/* Filter Chips */
.filter-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
  padding: 0 1rem;
}

.filter-chip {
  padding: 0.5rem 1.5rem;
  background-color: white;
  border: 2px solid #0d5560;
  border-radius: 25px;
  color: #0d5560;
  font-family: "League Spartan", sans-serif;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-chip:hover,
.filter-chip.active {
  background-color: #0d5560;
  color: white;
}

.clear-filters {
  background-color: #ff4444;
  border-color: #ff4444;
  color: white;
}

.clear-filters:hover {
  background-color: #cc0000;
  border-color: #cc0000;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 0 1rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* Product Card */
.product-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 500px;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-image-container {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover img {
  transform: scale(1.05);
}

.product-topic {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(13, 85, 96, 0.9);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-family: "League Spartan", sans-serif;
  font-size: 0.9rem;
  z-index: 1;
}

.product-actions {
  position: absolute;
  bottom: 15px;
  right: 15px;
  display: flex;
  gap: 0.5rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1;
}

.product-card:hover .product-actions {
  opacity: 1;
  transform: translateY(0);
}

.product-actions button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  font-family: "League Spartan", sans-serif;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.product-actions button:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.share-btn {
  color: #333;
}

.cart-btn {
  position: relative;
  overflow: hidden;
}

.cart-btn i {
  transition: transform 0.3s ease;
}

.cart-btn.clicked i {
  animation: cartPop 0.5s ease;
}

@keyframes cartPop {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.2);
  }

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

.like-btn {
  background: #ff4444 !important;
  color: white;
}

.product-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-title {
  font-family: "League Spartan", sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
}

.product-price {
  font-family: "League Spartan", sans-serif;
  font-size: 1.5rem;
  color: #0d5560;
  font-weight: bold;
  margin-bottom: 1rem;
}

.product-description {
  font-family: "League Spartan", sans-serif;
  color: #666;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  flex: 1;
}

.view-btn {
  display: block;
  width: 100%;
  padding: 0.75rem;
  background-color: #0d5560;
  color: white;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  font-family: "League Spartan", sans-serif;
  font-size: 0.9rem;
  margin-top: 1rem;
  transition: background-color 0.3s ease;
}

.view-btn:hover {
  background-color: #0a3d45;
  color: white;
}

/* See More Button */
.see-more-btn {
  display: block;
  margin: 2rem auto;
  padding: 1rem 2rem;
  background-color: #0d5560;
  color: white;
  border: none;
  border-radius: 25px;
  font-family: "League Spartan", sans-serif;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  max-width: 200px;
}

.see-more-btn:hover {
  background-color: #0a3d45;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 992px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .product-card {
    height: 450px;
  }

  .product-image-container {
    height: 250px;
  }
}

@media (max-width: 576px) {
  .products-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
  }

  .product-card {
    height: 400px;
  }

  .product-image-container {
    height: 200px;
  }

  .section-title {
    font-size: 2rem;
  }

  .filter-container {
    gap: 0.5rem;
  }

  .filter-chip {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
  }
}

/* **********************************************************************************************************************************
******************************************************** HAPPINESS BANNER ***********************************************************
************************************************************************************************************************************* */

.happiness-banner {
  background-color: #f8c9a0;
  /* Light peach background */
  text-align: center;
  padding: 30px 20px;
  font-family: "Arial", sans-serif;
}

.happiness-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
  /* Darker text */
}

.happiness-text {
  font-size: 14px;
  color: #333;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
  .happiness-title {
    font-size: 16px;
  }

  .happiness-text {
    font-size: 13px;
    padding: 0 10px;
  }
}

/* **********************************************************************************************************************************
******************************************************** ABOUT US *******************************************************************
************************************************************************************************************************************* */

.partners-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 50px;
  /* background-color: #f8f6f1; */
  position: relative;
  /* Needed for the pseudo-element overlay */
  overflow: hidden;
}

/* Pseudo-element for the transparent background image */
.partners-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../images/banner/house.png") no-repeat center/cover;
  opacity: 0.3;
  /* Adjust transparency as needed */
  z-index: -1;
  /* Place behind the content */
}

.partners-content {
  max-width: 50%;
  z-index: 1;
  /* Ensure content appears above the background image */
}

.partners-title {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}

.partners-text {
  font-size: 16px;
  color: #130000;
  line-height: 1.5;
  margin-bottom: 20px;
}

.partners-brands {
  position: relative;
  height: 30px;
  overflow: hidden;
  font-family: "League Spartan", sans-serif;
  margin: 20px 0;
}

.brand {
  position: absolute;
  width: 100%;
  text-align: left;
  font-size: 22px;
  font-weight: 500;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease-in-out, transform 1s ease-in-out;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 15px;
}

.partners-divider {
  margin-top: 10px;
  width: 100%;
  height: 2px;
  background-color: #ccc;
  border: none;
}

.partners-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .partners-section {
    flex-direction: column;
    text-align: center;
  }

  .partners-content {
    max-width: 100%;
  }

  .partners-brands {
    height: 60px;
    margin: 15px 0;
  }

  .brand {
    font-size: 18px;
    padding: 0 20px;
    white-space: normal;
    text-align: center;
    line-height: 1.4;
    height: auto;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .partners-image img {
    width: 100%;
    max-width: 100%;
    margin-top: 20px;
  }
}

/* **********************************************************************************************************************************
******************************************************** COMPANY - BANNER ***********************************************************
************************************************************************************************************************************* */

/* Overlay covers entire screen */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  /* Initially transparent */
  visibility: hidden;
  opacity: 0;
  transition: background 0.5s ease, opacity 0.5s ease;
  z-index: 999;

  /* Center the banner */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* When active, overlay darkens the screen */
.popup-overlay.show {
  background: rgba(0, 0, 0, 0.6);
  visibility: visible;
  opacity: 1;
}

/* Popup Banner styling */
.popup-banner {
  background: #fff;
  width: 100%;
  max-width: 800px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);

  /* Start off-screen (below) */
  transform: translateY(100%);
  transition: transform 0.5s ease;
}

/* Slide up when overlay is shown */
.popup-overlay.show .popup-banner {
  transform: translateY(0);
}

/* Close Button Styling */
.close-popup {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: #fff;
  font-size: 24px;
  line-height: 24px;
  padding: 0 8px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1001;
  transition: background 0.3s;
}

.close-popup:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* Banner Image */
.popup-banner img {
  width: 100%;
  display: block;
  /* Ensure the image is large enough for clear reading on mobile */
  max-height: 80vh;
  object-fit: cover;
}

/* **********************************************************************************************************************************
******************************************************** CHATBOT SECTION ************************************************************
************************************************************************************************************************************* */

/* Chat Icon Button */
#chat-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  cursor: pointer;
  z-index: 1000;
}

#chat-button img {
  width: 60px;
  height: auto;
}

/* Chat Widget */
.chat-widget {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 320px;
  max-width: 90%;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  display: none;
  flex-direction: column;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

/* Chat Header */
.chat-header {
  background: #0d5560;
  color: #fff;
  padding: 10px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.close-chat {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

/* Chat Messages */
.chat-messages {
  height: 250px;
  overflow-y: auto;
  padding: 10px;
  background: #f9f9f9;
}

.chat-message {
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 14px;
}

.chat-message.bot {
  background-color: #e1f5fe;
  text-align: left;
}

.chat-message.user {
  background-color: #c8e6c9;
  text-align: right;
}

/* Chat Input Area */
.chat-input-area {
  display: flex;
  border-top: 1px solid #ccc;
}

.chat-input-area input {
  flex: 1;
  padding: 10px;
  border: none;
  border-bottom-left-radius: 8px;
  font-size: 14px;
}

.chat-input-area button {
  background: #0d5560;
  color: #fff;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  border-bottom-right-radius: 8px;
  font-size: 14px;
}

/* FAQ Buttons */
.faq-question {
  display: block;
  padding: 8px 12px;
  margin: 5px 0;
  background: #f1f1f1;
  border-radius: 4px;
  cursor: pointer;
  transition: 0.3s;
}

.faq-question:hover {
  background: #dceefc;
}

/* Floating Cart Button */
.floating-cart {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #0d5560;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: move;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-cart:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.floating-cart i {
  color: white;
  font-size: 24px;
}

.cart-counter {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: #ff4444;
  color: white;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  font-family: "League Spartan", sans-serif;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

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

/* Cart Items List */
.cart-items-list {
  position: fixed;
  bottom: 100px;
  right: 30px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  padding: 15px;
  width: 300px;
  max-height: 400px;
  overflow-y: auto;
  display: none;
  z-index: 999;
}

.cart-items-list.show {
  display: block;
}

/* Custom Scrollbar */
.cart-items-list::-webkit-scrollbar {
  width: 6px;
}

.cart-items-list::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.cart-items-list::-webkit-scrollbar-thumb {
  background: #0d5560;
  border-radius: 3px;
}

.cart-items-list::-webkit-scrollbar-thumb:hover {
  background: #0a3d45;
}

.cart-item {
  display: flex;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid #eee;
  position: relative;
  transition: all 0.3s ease;
}

.cart-item.deleting {
  transform: translateX(100%);
  opacity: 0;
  height: 0;
  padding: 0;
  margin: 0;
  border: none;
}

.cart-item img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 5px;
  margin-right: 10px;
}

.cart-item-details {
  flex: 1;
  min-width: 0;
  /* Prevents text overflow */
}

.cart-item-title {
  font-family: "League Spartan", sans-serif;
  font-size: 14px;
  margin-bottom: 5px;
  color: #000000;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-price {
  color: #0d5560;
  font-weight: bold;
  font-size: 14px;
}

.cart-item-actions {
  display: flex;
  gap: 10px;
  margin-top: 5px;
}

.delete-item {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #ff4444;
  cursor: pointer;
  font-size: 18px;
  transition: color 0.3s ease;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.delete-item:hover {
  color: #cc0000;
  background: rgba(255, 68, 68, 0.1);
}

.view-item {
  background: none;
  border: none;
  color: #0d5560;
  cursor: pointer;
  font-size: 14px;
  transition: color 0.3s ease;
  padding: 5px 10px;
  border-radius: 4px;
}

.view-item:hover {
  color: #0a3d45;
  background: rgba(13, 85, 96, 0.1);
}

.cart-total {
  padding: 10px;
  border-top: 1px solid #eee;
  margin-top: 10px;
  text-align: right;
  font-family: "League Spartan", sans-serif;
  font-weight: bold;
  color: #000000;
}

.checkout-btn {
  display: block;
  width: 100%;
  padding: 10px;
  background-color: #0d5560;
  color: white;
  border: none;
  border-radius: 5px;
  margin-top: 10px;
  cursor: pointer;
  font-family: "League Spartan", sans-serif;
  transition: background-color 0.3s ease;
}

.checkout-btn:hover {
  background-color: #0a3d45;
}

/* Topbar Styles */
.topbar {
  background-color: #f8f9fa;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
  position: relative;
  margin-bottom: 0;
}

.topbar.hidden {
  display: none;
  height: 0;
  padding: 0;
  margin: 0;
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  background: transparent;
  margin-top: 0;
}

/* Adjust main content to account for fixed header */
main {
  padding-top: 0 !important;
  transition: padding-top 0.3s ease;
}

/* When topbar is hidden, adjust main content */
.topbar.hidden+main {
  padding-top: 80px;
  /* Same as header height */
}

/* Header Navigation */
.header-nav {
  background: rgba(255, 255, 255, 0.95);
  padding: 1rem 0;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-nav.visible {
  transform: translateY(0);
}

/* Adjust main content to account for both header and nav */
main {
  padding-top: 160px;
  /* Increased to account for both header and nav */
}

/* Ensure header stays above nav */
.header {
  z-index: 1000;
}

/* Categories and Search Styles */
.categories {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.category-link {
  color: #000000;
  text-decoration: none;
  font-family: "League Spartan", sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.category-link:hover {
  color: #0d5560;
}

.search-container {
  display: flex;
  align-items: center;
  background: #f8f9fa;
  border-radius: 25px;
  padding: 0.5rem 1rem;
}

.search-input {
  border: none;
  background: transparent;
  padding: 0.5rem;
  width: 100%;
  font-family: "League Spartan", sans-serif;
  font-size: 0.9rem;
}

.search-input:focus {
  outline: none;
}

.search-btn {
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  padding: 0;
  transition: color 0.3s ease;
}

.search-btn:hover {
  color: #0d5560;
}

/* Categories and Search Container Transitions */
.categories-container,
.search-container {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* Responsive Design */
@media (max-width: 992px) {
  .categories {
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
  }

  .category-link {
    white-space: nowrap;
  }

  .search-container {
    margin-top: 1rem;
  }
}

@media (max-width: 576px) {
  .header-nav {
    padding: 0.5rem 0;
  }

  .categories {
    gap: 0.75rem;
  }

  .category-link {
    font-size: 0.8rem;
  }

  .search-input {
    font-size: 0.8rem;
  }
}

/* Cart Notification */
.cart-notification {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #0d5560;
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  font-family: "League Spartan", sans-serif;
  font-size: 0.9rem;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 1001;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.cart-notification.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Flying Product Animation */
.flying-product {
  position: fixed;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1001;
  pointer-events: none;
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.flying-product img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.flying-product.animate {
  opacity: 1;
}