* {
    box-sizing: border-box;
  }

  body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: #f5f5f5; /* Set background color like Flipkart */
    overflow-x: hidden;
  }
  .cart-count {
background-color: red;
color: white;
font-size: 12px;
padding: 2px 6px;
border-radius: 50%;
position: absolute;
top: -8px;
right: -10px;
font-weight: bold;
line-height: 1;
}
.nav-item {
position: relative;
}

  /* Header */
  .petsgo-header {
    background-color: #fff;
    padding: 10px 16px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  .header-container {
    display: grid;
    grid-template-columns: 1fr 2.5fr 1.5fr;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    width: 100%;
  }

  /* Logo Section */
  .logo-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .logo {
    font-size: 24px;
    font-weight: bold;
    color: #2874f0;
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .logo i {
    color: #ff4081;
  }

  .tagline {
    font-size: 12px;
    color: #878787;
  }

  .tagline .highlight {
    color: #f57c00;
    font-weight: 600;
    margin-left: 4px;
  }

  /* Search Bar */
  .search-bar {
    width: 100%;
  }

  .search-bar input {
    width: 100%;
    padding: 10px 14px;
    border: none;
    background-color: #f1f6ff;
    border-radius: 6px;
    font-size: 14px;
    box-shadow: inset 0 0 1px #ccc;
  }

  /* Nav Icons */
  .nav-icons {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    align-items: center;
  
  }

  .nav-item {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #000;
    font-size: 16px;
    font-weight: 500;
  }

  .nav-item i {
    font-size: 16px;
  }

  .desktop-only {
    display: inline-flex;
  }

  /* Responsive */
  @media (max-width: 768px) {
    .header-container {
      display: grid;
      grid-template-columns: 1fr 1fr;
      grid-template-areas:
        "logo icons"
        "search search";
      gap: 10px;
      padding: 0;
    }

    .logo-section {
      grid-area: logo;
      flex-direction: column;
      align-items: flex-start;
      gap: 2px;
    }

    .search-bar {
      grid-area: search;
      width: 100%;
    }

    .search-bar input {
      width: 100%;
      font-size: 13px;
    }

    .nav-icons {
      grid-area: icons;
      justify-content: flex-end;
      gap: 15px;
    }

    .desktop-only {
      display: none;
    }

    .petsgo-header {
      padding: 10px 12px;
    }
  }
 /* Category Bar */
.category-bar {
  display: flex;
  overflow-x: auto;
  gap: 24px;
  padding: 20px 40px;
  background-color: #fff;
  justify-content: center;
  scroll-behavior: smooth;
  scrollbar-width: none;
  white-space: nowrap;
  scroll-snap-type: x mandatory;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.category-bar::-webkit-scrollbar {
  display: none;
}

.category-item {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 90px;
  cursor: pointer;
  scroll-snap-align: center;
  transition: transform 0.3s ease;
}

.category-item img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  background-color: #fff;
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-item span {
  margin-top: 10px;
  font-size: 15px;
  font-weight: 700;
  color: #333;
  transition: color 0.3s ease;
}

.category-item:hover img {
  transform: scale(1.08);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.category-item:hover span {
  color: #00b4cc;
}

/* Tablet */
@media (max-width: 1192px) {
  .category-bar {
    gap: 16px;
    padding: 15px 20px;
    justify-content: flex-start;
  }

  .category-item {
    width: 80px;
  }

  .category-item img {
    width: 60px;
    height: 60px;
    padding: 8px;
  }

  .category-item span {
    font-size: 13px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .category-bar {
    gap: 16px;
    padding: 12px 10px;
    justify-content: flex-start;
  }

  .category-item {
    width: 80px;
  }

  .category-item img {
    width: 66px;
    height: 66px;
    padding: 8px;
  }

  .category-item span {
    font-size: 12px;
  }
}


/* ======== Banner Container ======== */
.banner {
width: 95%;
max-width: 1600px;
height: 48vh;
display: flex;
align-items: center;
justify-content: center;
position: relative;
overflow: hidden;
border-radius: 15px;
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
transition: all 0.3s ease-in-out;
margin: 0 auto;
margin-top: 15px;  /* Increased gap from the top */
}

  /* ======== All Banner Images ======== */
  .banner-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: fadeBanner 12s infinite;
  }

  .img1 {
    animation-delay: 0s;
  }

  .img2 {
    animation-delay: 4s;
  }

  .img3 {
    animation-delay: 8s;
  }

  /* ======== Cross-fade Animation ======== */
  @keyframes fadeBanner {
    0% { opacity: 1; }
    25% { opacity: 1; }
    33.33% { opacity: 0; }
    100% { opacity: 0; }
  }

  /* ======== Overlay (Optional: Add dark layer) ======== */
  .banner::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.05);
    z-index: 1;
  }

  /* ======== Banner Text Styling ======== */
  .banner h1 {
    position: relative;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    padding: 12px 24px;
    border-radius: 10px;
    z-index: 2;
    animation: fadeIn 1.5s ease-in-out;
  }

  /* ======== Fade-in for Text ======== */
  @keyframes fadeIn {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
  }

  /* ======== Hover Zoom Effect ======== */
  .banner:hover {
    transform: scale(1.01);
  }

  /* ======== Responsive Adjustments ======== */
  @media (max-width: 1024px) {
    .banner {
      height: 38vh;
    }
    .banner h1 {
      font-size: 1.8rem;
      padding: 10px 22px;
    }
  }

  @media (max-width: 768px) {
    .banner {
      height: 30vh;
    }
    .banner h1 {
      font-size: 1.6rem;
      padding: 8px 18px;
    }
  }

  @media (max-width: 480px) {
    .banner {
      width: 100%;
      height: 22vh;
    }
    .banner-img {
      object-fit: contain;
    }
    .banner h1 {
      font-size: 1.4rem;
      padding: 6px 14px;
    }
  }

  .pet-section {
    padding: 30px 20px;
    background-color: #fdfdfd;
    position: relative;
    overflow: hidden;
    margin-top: 15px;
  }
  
  .section-heading {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    margin-top: -12px;
  }
  
  .pet-carousel-wrapper {
    position: relative;
  }
  
  .pet-grid {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px;
    padding-bottom: 10px;
  }
  
  .pet-grid::-webkit-scrollbar {
    display: none;
  }
  
  .pet-card {
    min-width: 16.5%;
    max-width: 16.5%;
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: #333;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
  }
  
  .pet-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
  }
  
  .pet-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
  }
  
  .pet-name {
    font-size: 16px;
    font-weight: 800;
    padding: 10px 10px 0 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center; /* ✅ Center text horizontally */
  }
  
  
  .pet-price {
    font-size: 14px;
    color: #2e7d32;
    font-weight: 500;
    padding: 0 10px 10px 10px;
  }
  
  /* Arrows */
  .arrow-left,
  .arrow-right {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    background-color: rgba(255,255,255,0.9);
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    z-index: 1;
  }
  
  .arrow-left {
    left: 0;
  }
  
  .arrow-right {
    right: 0;
  }
  
  /* Mobile view */
  @media (max-width: 768px) {
    .pet-card {
      min-width: 37%;
      max-width: 37%;
    }
  
    .arrow-left,
    .arrow-right {
      display: none;
    }
  
    .pet-name {
      font-size: 14px;
    }
  
    .pet-price {
      font-size: 13px;
    }
  }



  .pet-section-container {
    display: flex;
    gap: 16px;
    padding: 20px;
    font-family: Arial, sans-serif;
    flex-wrap: wrap;
    background-color: #fff;
  }
  
  .pet-left-column,
  .pet-middle-column,
  .pet-right-column {
    flex: 1;
    min-width: 280px;
  }
  
  /* Right column styling */
  .pet-right-column {
    background: #f7f7f7;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .pet-banner-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 12px;
    object-fit: cover;
    display: block;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease;
  }
  
  .pet-banner-image:hover {
    transform: scale(1.02);
  }
  
 /* Default desktop layout */
.pet-product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
  
  .pet-product,
  .pet-middle-product {
    background: #fff;
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
    border-radius: 8px;
  }
  
  .pet-product img,
  .pet-middle-product img {
    width: 100%;
    height: auto;
    border-radius: 6px;
  }
  
  .pet-price {
    color: #000;
    font-weight: bold;
  }
  
  .pet-discount {
    color: green;
    font-size: 0.9em;
    margin-left: 6px;
  }
  
  .pet-label {
    color: green;
    font-weight: bold;
    font-size: 0.85em;
    margin-top: 4px;
  }
  
  .pet-right-column-content {
    text-align: center;
    padding: 20px;
  }
  
  .pet-right-column-content h2 {
    font-size: 1.8em;
    margin-bottom: 10px;
  }
  
  .pet-right-column-content button {
    padding: 10px 20px;
    background-color: #2b7a78;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
  }
  
  @media (max-width: 768px) {
    .pet-section-container {
      flex-direction: column;
      padding: 10px;
    }
  
    .pet-product-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  
    .pet-right-column {
      display: none; /* Hide right column on mobile */
    }
  
    .pet-product,
    .pet-middle-product {
      padding: 10px;
    }
  
    .pet-left-column,
    .pet-middle-column {
      margin-bottom: 20px;
    }
  }
  
/* Extra small screens (like narrow phones) - fallback to 1 column */
@media (max-width: 480px) {
  .pet-product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}





.pet-layout-container {
  display: flex;
  gap: 16px;
  padding: 20px;
  font-family: Arial, sans-serif;
  flex-wrap: wrap;
  background-color: #fff;
}

.pet-left-columns,
.pet-middle-columns,
.pet-right-columns {
  flex: 1;
  min-width: 280px;
}

/* Reorder right column to appear first on desktop */
@media (min-width: 769px) {
  .pet-right-columns {
    order: -1;
  }
}

/* Right column styling */
.pet-right-columns {
  background: #f7f7f7;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pet-banner-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 12px;
  object-fit: cover;
  display: block;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
}

.pet-banner-image:hover {
  transform: scale(1.02);
}

/* Product Grid Layout */
.pet-product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.pet-product,
.pet-middle-product {
  background: #fff;
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.pet-product img,
.pet-middle-product img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.pet-price {
  color: #000;
  font-weight: bold;
}

.pet-discount {
  color: green;
  font-size: 0.9em;
  margin-left: 6px;
}

.pet-label {
  color: green;
  font-weight: bold;
  font-size: 0.85em;
  margin-top: 4px;
}

.pet-right-column-content {
  text-align: center;
  padding: 20px;
}

.pet-right-column-content h2 {
  font-size: 1.8em;
  margin-bottom: 10px;
}

.pet-right-column-content button {
  padding: 10px 20px;
  background-color: #2b7a78;
  color: white;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.pet-right-column-content button:hover {
  background-color: #205e5d;
}

/* Tablet & Mobile View */
@media (max-width: 768px) {
  .pet-section-container {
    flex-direction: column;
    padding: 10px;
  }

  .pet-product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Show right column at top on mobile */
  .pet-right-columns {
    display: flex;
    order: -1;
    margin-bottom: 16px;
    display: none;
  }

  .pet-product,
  .pet-middle-product {
    padding: 10px;
  }

  .pet-left-column,
  .pet-middle-column {
    margin-bottom: 20px;
  }
}

/* Extra small screens (like narrow phones) */
@media (max-width: 480px) {
  .pet-product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}



.ellipsis-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border: 1px solid #ccc;
  width: 180px;
  transform-origin: top right;
  transform: rotateY(90deg);
  opacity: 0;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}

.ellipsis-dropdown.show {
  transform: rotateY(0deg);
  opacity: 1;
  pointer-events: auto;
}

.ellipsis-dropdown a {
  padding: 10px 15px;
  text-decoration: none;
  color: #333;
  border-bottom: 1px solid #eee;
  background-color: white;
  font-weight: 500;
}

.ellipsis-dropdown a:hover {
  background-color: #f1f1f1;
}



/* Pantone Section Styling */
.petcare-section {
  width: 100%;
  padding: 40px 20px;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Scrollable Container */
.scroll-container {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 20px;
  width: 100%;
}

/* Hide Scrollbar */
.scroll-container::-webkit-scrollbar {
  display: none;
}

/* Grid Layout */
.grid {
  display: flex;
  gap: 20px; /* GAP between cards */
  flex-wrap: nowrap;
  padding-left: 10px;
  padding-right: 10px;
}

/* Individual Grid Items */
.grid__item {
  flex: 0 0 auto;
  width: 220px;
  scroll-snap-align: start;
}


/* Pantone Section Styling */
.petcare-section {
    width: 100%;
    padding: 20px;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Scrollable Container */
.scroll-container {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 10px;
    white-space: nowrap;
    width: 100%;
    justify-content: center; /* Center align on desktop */
}

/* Hide Scrollbar */
.scroll-container::-webkit-scrollbar {
    display: none;
}

/* Grid Layout */
.grid {
    display: flex;
    flex-wrap: nowrap;
    width: max-content; /* Ensures all items fit inside */
    justify-content: center; /* Center align grid on larger screens */
}

/* Individual Grid Items */
.grid__item {
    flex: 0 0 auto;
    width: 220px; /* Adjust width */
}

/* Pantone Cards */
.pantone-card {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* Hover Effect */
.pantone-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Pantone Card Images */
.pantone-card img {
    width: 100%;
    height: 150px;
    border-radius: 10px;
}

/* Card Footer */
.pantone-card__footer {
    margin-top: 10px;
    padding: 10px;
}

/* Pantone Card Title */
.pantone-card__name {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .scroll-container {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
        padding: 0 10px 20px;
        justify-content: flex-start;
        gap: 10px;
    }

    .grid {
        display: flex;
        flex-wrap: nowrap;
        width: max-content;
        gap: 10px;
    }

    .grid__item {
        flex: 0 0 auto;
        width: 130px;  /* Smaller card width */
        scroll-snap-align: start;
    }

    .pantone-card {
        padding: 10px;
        border-radius: 10px;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    }
.pantone-card img {
    width: 100%;
    height: 120px; /* Reduced height for mobile */
    object-fit: cover;
    border-radius: 8px;
}
    .pantone-card__footer {
        margin-top: 8px;
        padding: 6px;
    }

    .pantone-card__name {
        font-size: 14px;
    }
}
.mekozza-toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #222;
  color: #fff;
  padding: 12px 20px;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  z-index: 9999;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  animation: fadeSlide 0.5s ease-in-out;
}
.mekozza-toast.success { background: #4caf50; }
.mekozza-toast.warning { background: #ff9800; }

@keyframes fadeSlide {
  from { opacity: 0; bottom: 10px; }
  to { opacity: 1; bottom: 20px; }
}
