/* General Styles */
:root {
  --primary: #059669;
  --primary-hover: #047857;
  --background-light: #f0fdf4;
  --background-lighter: #ecfdf5;
  --white: #ffffff;
  --text-primary: #111827;
  --text-secondary: #4b5563;
  --text-muted: #6b7280;
  --accent-red: #ef4444;
  --accent-red-bg: #fee2e2;
  --font-main: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
}

body {
  font-family: var(--font-main);
  color: var(--text-primary);
  background: linear-gradient(
    135deg,
    var(--background-light),
    var(--background-lighter)
  ) !important;
}

.main-container {
  max-width: 1200px;
  margin: auto;
  padding: 50px 20px;
  border-radius: 16px;
}

.section-title {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary) !important;
  font-weight: 700;
}

.hero {
  position: relative;
  width: 100%;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: linear-gradient(
      135deg,
      rgba(5, 150, 105, 0.85),
      rgba(236, 253, 245, 0.9)
    ),
    url("https://images.squarespace-cdn.com/content/v1/650bfa918064aa0187667b82/0009b7a3-7044-4af8-be22-6af99ba8e343/448991347_864398979062672_7497553271441936578_n.jpg")
      no-repeat center center/cover;
  color: var(--text-primary);
  padding: 2rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 120, 87, 0.18);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 2rem;
  animation: fadeInUp 1s ease-out;
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: clamp(1rem, 3vw, 1.2rem);
  font-weight: 500;
  color: white;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(4, 120, 87, 0.08);
  -webkit-text-stroke: 1px white;
}

.hero-title span {
  color: var(--primary);
}

.hero-text {
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 600px;
  margin-bottom: 2rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white) !important;
  border: none !important;
  border-radius: 8px;
  padding: 8px 16px !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(4, 120, 87, 0.18);
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.18);
  transform: skewX(45deg);
  transition: left 0.6s ease-in-out;
}

.btn-primary:hover::before {
  left: 120%;
}

.btn-primary:active {
  transform: scale(0.95);
  box-shadow: 0 2px 8px rgba(4, 120, 87, 0.12);
}

.btn-secondary {
  background-color: transparent !important;
  color: white;
  border: 2px solid white !important;
  font-weight: 600 !important;
  width: auto;
  font-size: 1.1rem !important;
}

.btn-secondary:hover {
  background-color: var(--primary) !important;
  color: var(--white) !important;
  border: 2px solid var(--primary) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 20px rgba(4, 120, 87, 0.12) !important;
}

.hero-highlights {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.highlight-icon {
  width: 40px;
  height: 40px;
  background-color: var(--background-lighter);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
}

.highlight-icon svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

.highlight-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.hero-image-slider {
  position: absolute;
  right: 5%;
  bottom: 10%;
  width: 300px;
  height: 400px;
  border-radius: 20px;
  /* background-color: var(--white); */
  overflow: hidden;
  /* box-shadow: 0 20px 40px rgba(4, 120, 87, 0.13); */
  opacity: 0;
  transform: translateY(50px);
  animation: fadeInRight 1s ease-out 0.5s forwards;
  z-index: 1;
}

.slider-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.8s ease-in-out, transform 0.8s ease;
  opacity: 1;
  transform: scale(1);
  margin-top: 0px;
}

.slider-image.fade-out {
  opacity: 0;
  transform: scale(1.05); /* Slight zoom on fade-out */
}

.slider-image:hover {
  transform: scale(1.05);
}

.floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.floating-element {
  position: absolute;
  background-color: var(--background-lighter);
  backdrop-filter: blur(2px);
  border-radius: 10px;
  animation: float 6s infinite ease-in-out;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero {
    min-height: 80vh;
    text-align: center;
    justify-content: center;
  }

 .hero-content {
   display: flex;
   flex-direction: column;
   align-items: center;
   text-align: center;
   position: initial;
 }


  .hero-cta {
    justify-content: center;
  }

  .hero-highlights {
    justify-content: center;
    display: none;
  }

  .hero-subtitle {
    display: none;
  }

}

@media (max-width: 768px) {
  .hero {
    min-height: 70vh;
    padding: 1rem;
  }

  .hero-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
  }

  .hero-image-slider {
    position: relative;
    left: 0;
    bottom: 0;
    width: 300px;
    height: 400px;
    margin: 2rem auto 0;
    display: none;
  }
  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero-highlights {
    gap: 1rem;
    margin-top: 2rem;
    /* display: flex; */
    flex-direction: column;
    align-items: baseline;
  }

  .highlight-item {
    flex: 1 1 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 60vh;
  }

  .hero-cta {
    flex-direction: column;
    gap: 0.5rem;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    padding: 0.8rem 1rem;
  }

  .hero-image-slider {
    width: 400px;
    height: 380px;
    right: 50px;
    display: none;
  }
}

/* Product Grid */
.product-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 0 20px;
}

.img-container {
  height: 285px;
  overflow: hidden;
}

.img-fluid{
  height: 100% !important;
}

.product-card {
  background: var(--white);
  padding: 15px 40px;
  border-radius: 10px;
  box-sizing: border-box;
  width: 340px;
  min-height: 480px; /* Ensures consistent card height */
  box-shadow: 0 4px 12px rgba(4, 120, 87, 0.08);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  color: var(--text-primary);
  margin-top: 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(4, 120, 87, 0.18);
}

@media (max-width: 779px) {
  .product-card {
    width: 100%;
    max-width: 300px;
  }
  .product-image {
    max-height: 200px !important;
  }
  .product-title a {
    font-size: 1.2rem !important;
  }
  .product-description {
    font-size: 0.9rem !important;
  }
  .product-price {
    font-size: 1.1rem !important;
  }
  .product-rating {
    font-size: 0.9rem !important;
  }
}
@media (max-width: 700px) {
  .product-card {
    width: 100%;
    max-width: 280px;
  }
  .product-image {
    max-height: 180px !important;
  }
  .product-title a {
    font-size: 1.1rem !important;
  }
  .product-description {
    font-size: 0.85rem !important;
  }
  .product-price {
    font-size: 1rem !important;
  }
  .product-rating {
    font-size: 0.85rem;
  }
}
@media (max-width: 660px) {
  .product-card {
    width: 100%;
    max-width: 260px;
    padding: 10px 20px;
  }
  .product-image {
    max-height: 160px !important;
  }
  .product-title a {
    font-size: 1rem !important;
  }
  .product-description {
    font-size: 0.8rem !important;
  }
  .product-price {
    font-size: 0.9rem !important;
  }
  .product-rating {
    font-size: 0.8rem;
  }
}
@media (max-width: 620px) {
  .product-card {
    width: 100%;
    max-width: 100%;
    padding: 10px 15px;
  }
  .product-grid {
    padding: 0%;
  }
  .product-image {
    max-height: 140px !important;
  }
  .product-title a {
    font-size: 0.9rem !important;
  }
  .product-description {
    font-size: 0.75rem !important;
  }
  .product-price {
    font-size: 0.85rem !important;
  }
  .product-rating {
    font-size: 0.75rem;
  }
  .product-actions {
    flex-direction: column;
    gap: 5px;
  }
  .cart-btn {
    width: 100%;
    padding: 10px 0;
    font-size: 1rem !important;
  }
  .btn-primary {
    width: 100%;
    padding: 10px 0;
    font-size: 1rem !important;
  }
}

.product-image {
  max-height: 250px;
  border-radius: 10px;
  background: var(--background-lighter);
}
.featured-product-image {
  max-width: 80%;
}
.featured {
  display: flex;
  flex-direction: row-reverse;
}
.product-image:hover,
.featured-product-image:hover {
  transform: scale(1.1);
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}

.product-title {
  font-size: 1.4rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text-primary);
  margin: 10px 0;
}

.product-title a {
  color: var(--text-primary);
  text-decoration: none;
}

.product-description {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
  display: flex;
  align-items: center !important;
  justify-content: center;
  gap: 8px;
}

.product-price del {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
  text-decoration: line-through;
}

.product-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 15px;
}

/* Hot Selling Tag */
.hot-selling {
  display: inline-block;
  background: var(--accent-red-bg);
  color: var(--accent-red);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 2px 12px;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.product-actions {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.cart-btn {
  background: transparent;
  color: #059669 !important;
  border: 1px solid #059669 !important;
  border-radius: 8px;
  padding: 7px 14px !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  transition: all 0.3s ease;
  cursor: pointer;
}

.cart-btn:hover {
  animation: vibration 0.2s;
  background: #f0fdf4;
  color: #047857 !important;
  border-color: #047857 !important;
}

@keyframes vibration {
  0% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-2px);
  }
  50% {
    transform: translateX(2px);
  }
  75% {
    transform: translateX(-2px);
  }
  100% {
    transform: translateX(0);
  }
}

.btn-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #059669, #047857);
  color: #ffffff !important;
  border: none !important;
  border-radius: 8px;
  padding: 8px 16px !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #047857, #059669);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(4, 120, 87, 0.18);
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.18);
  transform: skewX(45deg);
  transition: left 0.6s ease-in-out;
}

.btn-primary:hover::before {
  left: 120%;
}

.btn-primary:active {
  transform: scale(0.95);
  box-shadow: 0 2px 8px rgba(4, 120, 87, 0.12);
}

/* Call to Action Section */
.cta {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
  color: #111827;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 150, 105, 0.05);
  z-index: 1;
}

.cta-container {
  position: relative;
  z-index: 2;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #059669;
}

.cta-subtitle {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #4b5563;
}

/* Responsive Design */
@media (max-width: 768px) {
  .cta {
    padding: 60px 15px;
  }

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

  .cta-subtitle {
    font-size: 1rem;
  }

  .btn-primary {
    font-size: 0.9rem;
    padding: 10px 25px;
  }
}

@media (max-width: 480px) {
  .cta {
    padding: 40px 10px;
  }

  .cta-title {
    font-size: 1.8rem;
  }

  .cta-subtitle {
    font-size: 0.9rem;
  }

  .btn-primary {
    font-size: 0.85rem;
    padding: 8px 20px;
  }
}

/* Testimonials Section */
.testimonials {
  padding: 40px 20px;
  background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
  text-align: center;
}

.container-testimonials {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #059669;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 1rem;
  color: #6b7280;
  margin-bottom: 40px;
}

/* Testimonial Card */
.testimonial-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(4, 120, 87, 0.08);
  max-width: 600px;
  margin: 0 auto;
}

.testimonial-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.testimonial-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 15px;
}

.testimonial-info {
  text-align: left;
}

.testimonial-author {
  font-size: 1.1rem;
  font-weight: 600;
  color: #111827;
  margin: 0;
}

.testimonial-role {
  font-size: 0.9rem;
  color: #6b7280;
}

.testimonial-text {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.6;
  margin: 0;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
  width: 40px;
  height: 40px;
  background-color: rgba(5, 150, 105, 0.12);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: brightness(0) invert(1);
}

.carousel-indicators {
  bottom: -40px;
}

.carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #cbd5e1;
  border: none;
}

.carousel-indicators .active {
  background-color: #059669;
}

/* Responsive Design */
@media (max-width: 768px) {
  .testimonials {
    padding: 40px 15px;
  }

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

  .section-subtitle {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .testimonial-card {
    padding: 15px;
  }

  .testimonial-img {
    width: 45px;
    height: 45px;
  }

  .testimonial-author {
    font-size: 1rem;
  }

  .testimonial-text {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.5rem;
  }

  .section-subtitle {
    font-size: 0.9rem;
  }

  .testimonial-card {
    padding: 10px;
  }

  .testimonial-img {
    width: 40px;
    height: 40px;
  }

  .testimonial-author {
    font-size: 0.95rem;
  }

  .testimonial-text {
    font-size: 0.85rem;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 30px;
    height: 30px;
  }

  .carousel-indicators {
    bottom: -30px;
  }
}

.single-product-card {
  padding: 15px 40px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

/* Partners Section */
.partners-section {
  padding: 2rem 1rem;
  position: relative;
  overflow: hidden;
  background: #f0fdf4 !important;
}

.section-header {
  text-align: center;
  position: relative;
}

.marquee-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: scroll 25s linear infinite !important;
  will-change: transform;
}

.marquee-track:hover {
  animation-play-state: paused !important;
}

.brand-item {
  flex: 0 0 auto;
  margin: 0 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  width: 160px;
  height: 90px;
  position: relative;
  filter: grayscale(100%);
  opacity: 0.7;
  padding: 1rem;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(4, 120, 87, 0.08);
}

.brand-item:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(4, 120, 87, 0.13);
  cursor: pointer;
}

.brand-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: var(--transition);
}

.brand-item:hover img {
  transform: scale(1.05);
}

.brand-tooltip {
  position: absolute;
  bottom: -20px !important;
  left: 50%;
  transform: translateX(-50%);
  background-color: #059669;
  color: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  white-space: nowrap;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(4, 120, 87, 0.08);
}

.brand-item:hover .brand-tooltip {
  opacity: 1;
  visibility: visible;
  bottom: -50px;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.marquee-gradient {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.marquee-gradient-left {
  left: 0;
  background: linear-gradient(90deg, #f0fdf4 30%, transparent);
}

.marquee-gradient-right {
  right: 0;
  background: linear-gradient(270deg, #f0fdf4 30%, transparent);
}

.divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #059669, #047857);
  margin: 1.5rem auto;
  border-radius: 3px;
}

@media (max-width: 1024px) {
  .brand-item {
    width: 140px;
    height: 80px;
    margin: 0 1.75rem;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.75rem;
  }

  .brand-item {
    width: 120px;
    height: 70px;
    margin: 0 1.25rem;
    padding: 0.75rem;
  }

  .marquee-track {
    animation-duration: 30s;
  }
}

@media (max-width: 480px) {
  .partners-section {
    padding: 3rem 1rem;
  }

  .brand-item {
    width: 100px;
    height: 60px;
    margin: 0 1rem;
    padding: 0.5rem;
  }

  .brand-tooltip {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
    bottom: -35px;
  }

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

  .section-subtitle {
    font-size: 1rem;
  }
}

/* Category Section */
.category-browser {
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
}

.category-header {
  margin-top: 20px;
  text-align: center;
  margin-bottom: 3rem;
}

.category-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #059669;
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
}

.category-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #059669 0%, #047857 100%);
  border-radius: 3px;
}

.category-subtitle {
  font-size: 1rem;
  color: #4b5563;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.categories-scroll-container {
  width: 100%;
  overflow-x: auto;
  padding-bottom: 20px;
  -webkit-overflow-scrolling: touch;
}

.categories-scroll-container::-webkit-scrollbar {
  height: 6px;
}

.categories-scroll-container::-webkit-scrollbar-track {
  background: #f0fdf4;
  border-radius: 10px;
}

.categories-scroll-container::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 10px;
}

.categories-scroll-container::-webkit-scrollbar-thumb:hover {
  background: #a1a1a1;
}

.categories-container {
  display: inline-flex;
  gap: 1.5rem;
  padding: 0 1rem 1rem;
  min-width: min-content;
}

.category-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(4, 120, 87, 0.08);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  width: 160px;
  height: 160px;
  background: #ecfdf5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid rgba(5, 150, 105, 0.08);
  flex-shrink: 0;
}

.category-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(4, 120, 87, 0.13);
  border-color: #059669;
}

.category-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  border-radius: 50%;
  color: #059669;
  font-size: 1.8rem;
  transition: all 0.3s ease;
}

.category-item:hover .category-icon {
  transform: scale(1.1);
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
}

.category-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #111827;
  text-align: center;
  padding: 0 0.5rem;
}

.category-count {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.9);
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #059669;
  box-shadow: 0 2px 6px rgba(4, 120, 87, 0.05);
}

@media (max-width: 768px) {
  .category-browser {
    padding: 0rem 1rem;
  }

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

  .category-item {
    width: 140px;
    height: 140px;
  }

  .category-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .category-name {
    font-size: 1rem;
  }
}

@media (min-width: 1343px) {
  .categories-scroll-container {
    overflow-x: visible;
  }

  .categories-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    width: 100%;
  }

  .category-item {
    width: 100%;
  }
}
