.tire-search-desktop {
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    padding: 20px;
    border-radius: 5px;
    font-family: Arial, sans-serif;
}

.search-inputs {
    display: flex;
    gap: 10px;
}

select {
    padding: 8px;
    border: 1px solid #ccc;
}

#search-button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
}

#search-button:hover {
    background-color: #0056b3;
}

#error-message {
    color: red;
    margin-top: 10px;
}   
    
/* My Tire Search Style Mobile */    
        .tire-search-container {
            background-color: #f5f5f5;
            border: 1px solid #ccc;
            padding: 20px;
            border-radius: 5px;
            font-family: Arial, sans-serif;
        }

        .search-inputs {
            display: flex;
            gap: 10px;
        }

        select {
            padding: 8px;
            border: 1px solid #ccc;
        }

        #search-button {
            background-color: #007bff;
            color: white;
            border: none;
            padding: 8px 15px;
            cursor: pointer;
        }

        #search-button:hover {
            background-color: #0056b3;
        }

        #error-message-desktop {
            color: red;
            margin-top: 10px;
        }    
    
/* Basic Menu Styling */
.menu {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); /* Adjusted minmax for smaller items */
  gap: 10px; /* Reduced gap */
  padding: 10px; /* Reduced padding */
}

.menu-item {
  text-align: center;
}

/* Improved Product Name Styling */
.menu-item a {
  text-decoration: none;
  color: #333;
  font-family: sans-serif;
  font-size: 1.2em;           /* Smaller font size */
  font-weight: 500;
  line-height: 1.2;           /* Adjusted line height */
}

/* Icon Styling */
.icon {
  width: 100px; /* Reduced icon size */
  height: 100px; /* Reduced icon size */
  background-color: #f0f0f0;
  border-radius: 8px;         /* Reduced border radius */
  margin: 0 auto 5px auto;    /* Reduced margin */
  display: flex;
  justify-content: center;
  align-items: center;
}

.icon img {
  max-width: 80px;            /* Reduced image size */
}

/* Hover Effect */
.menu-item:hover {
  transform: translateY(-5px);  
}

/* Media Query for larger screens (adjust as needed) */
@media (min-width: 768px) {
  /* Increased sizes for larger screens */
  .menu {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    padding: 20px;
  }

  .menu-item a {
    font-size: 1.33em;
  }

  .icon {
    width: 180px;
    height: 180px;
    border-radius: 10px;
    margin: 0 auto 10px auto;
  }

  .icon img {
    max-width: 120px;
  }
}

@media (min-width: 768px) {
  .menu-item a {
    font-size: 1.6em;
  }
}    
    
    /* Styles for floating buttons */
    .floating-button {
        position: fixed;
        bottom: 20px;
        z-index: 9999;
        display: none; /* Initially hide the buttons */
    }

    /* Show the floating buttons only on screens smaller than 768px (mobile devices) */
    @media (max-width: 767px) {
        .floating-button {
            display: block; /* Show the buttons on mobile devices */
        }
    }

    /* Style for WhatsApp button */
    .whatsapp-btn {
        right: 20px; /* Adjust position as needed */
    }

    /* Style for call button */
    .call-btn {
        left: 20px; /* Adjust position as needed */
    }