body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #f7f8fb;
    color: #333;
     background: #f5f5f5;
    padding: 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===== HEADER ===== */
.header {
    background: linear-gradient(90deg, #16a085, #1abc9c);
    color: white;
    text-align: center;
    padding: 40px 20px;
}

.header h1 {
    margin: 0;
    font-size: 44px;
    letter-spacing: 1px;
}

.header p {
    margin: 10px 0 0;
    font-size: 18px;
}

/* ===== MENU ===== */
.menu {
    background: white;
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 15px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.menu a {
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.3s;
}

.menu a:hover {
    background: #1abc9c;
    color: white;
}
.category-wrapper {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 10px;
}

.category {
  min-width: 150px;
  text-align: center;
  cursor: pointer;
}

.category img,
.icon {
  width: 90px;
  height: 90px;
  border-radius: 12px;
  background: #f3f3f3;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  font-size: 14px;
  font-weight: bold;
}

.icon.red {
  background: #e60023;
  color: white;
}

.icon.yellow {
  background: #ffd500;
  color: black;
}

.category p {
  font-size: 14px;
  margin: 0;
  line-height: 1.2;
}

.category:hover img,
.category:hover .icon {
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* ===== SLIDER ===== */
.slider {
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.slide {
    width: 100%;
    height: 300px;
    display: none;
     animation: fadeIn 1s ease-in;
}

/* ===== SECTIONS ===== */
.section {
    padding: 40px 20px;
    text-align: center;
}

.section h2 {
    font-size: 32px;
    margin-bottom: 20px;
}


.slider-container {
  display: flex;
  align-items: center;
  width: 100%;
}

/* CATEGORY WRAPPER WITH MARGIN */
.category-wrapper {
  display: flex;
  overflow-x: auto;
  white-space: nowrap;
  scroll-behavior: smooth;
  margin: 20px;          /* ✅ margin added here */
}

/* Hide scrollbar */
.category-wrapper::-webkit-scrollbar {
  display: none;
}
.category-wrapper {
  scrollbar-width: none;
}

.category {
  min-width: 110px;
  padding: 7px;
  text-align: center;
  flex-shrink: 0;
}
.arrow {
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
}

.arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Section */
.section {
  margin: 16px;
  padding: 16px;
  background-color: #dff5ec;
  border-radius: 16px;
}

.section h2 {
  margin-bottom: 12px;
}


/* Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

/* Card */
.card {
  background-color: #70f6d7;
  border-radius: 12px;
  padding: 8px;
}

.card img {
   width: 100%;
  height: 150px;
  object-fit: contain;
  border-radius: 10px;
  background-color: #f5f5f5;
}



.label {
  font-size: 13px;
  color: #555555;
  margin-top: 6px;
}

.title {
  font-size: 15px;
  font-weight: bold;
  margin-top: 2px;
}

.title {
    font-size: 24px;
    margin-bottom: 15px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.product-card {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.product-card img {
    width: 100%;
    height: 150px;
    object-fit: contain;
}

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

.price {
    font-size: 18px;
    font-weight: bold;
    color: #e53935;
}

.offer {
    display: inline-block;
    margin-top: 5px;
    font-size: 12px;
    color: #388e3c;
}


/* ===== PRODUCTS ===== */
.products {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.product {
    width: 250px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product img {
    width: 100%;
    height: 200px;      /* fixed height */
    object-fit: contain; /* shows full image */
    background: #f4f4f4;
}


.product h3 {
    margin: 15px 0;
    font-size: 20px;
}

/* Hover Effect */
.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.2);
}

/* ===== CONTACT ===== */
.contact p {
    margin: 10px 0;
}

/* ===== FOOTER ===== */
.footer {
    background: #16a085;
    color: white;
    text-align: center;
    padding: 15px 20px;
}
/* TOP HEADER */
.top-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: #e4002b;
    color: white;
}

.top-header input {
    width: 300px;
    padding: 10px;
    border-radius: 5px;
    border: none;
}

/* CATEGORY MENU */
.category-menu {
    display: flex;
    justify-content: center;
    gap: 20px;
    background: #fff;
    padding: 15px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.category-menu a {
    font-weight: bold;
}

/* PRODUCTS */
.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    padding: 20px;
}

.product {
    background: white;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: 0.3s;
}

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

.product img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    background: #f4f4f4;
}

.price {
    color: #e4002b;
    font-size: 18px;
    font-weight: bold;
}


/* ===== WHATSAPP ===== */
.whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    font-size: 28px;
    padding: 15px;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 0 10px #999;
    animation: pulse 1.5s infinite;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section {
    animation: fadeIn 1s ease-in;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
    .menu {
        flex-direction: column;
        gap: 10px;
    }

    .product {
        width: 90%;
    }

    .header h1 {
        font-size: 32px;
    }
}
.menu a {
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.3s;
}

.menu a:hover {
    background: #1abc9c;
    color: white;
}
@media (max-width: 768px) {
    .top-header {
        flex-direction: column;
        gap: 10px;
    }

    .top-header input {
        width: 100%;
    }
}

/* Responsive */
@media (max-width: 480px) {
  .card img {
    height: 120px;
  }
}