/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

.product_image{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.products_container{
    margin-top: 2.5rem;
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-gap: 10px;

	@media (max-width: 768px){
		grid-template-columns: 1fr;
	}

	
}

.product_card{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.category_badge{
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #000;
    color: #fff;
    padding: 0.4rem 0.75rem;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;

    @media (max-width: 768px){
		font-size: 11.5px;
        padding: 0.25rem 0.6rem;
	}
}

.name_badge{
    position: absolute;
    bottom: 8px;
    left: 8px;
    color: black;
    padding: 0.4rem 0.75rem;
    border-radius: 10px;
    border: none;
    font-size: 16px !important;
}

.name_badge h4{
    margin: 0 !important;

    @media (max-width: 768px){
		font-size: 14.5px !important;
        padding: 0.25rem 0.5rem;
	}
}

.active{
    background-color: #000;
    color: #fff;
}

 .main-navigation,.main-navigation ul ul {
                background-color: #fff!important;
 }

.homepage-popup {
  display: flex;
  justify-content: center; /* Centers the boxes horizontally */
  align-items: center; /* Centers the boxes vertically */
  flex-wrap: wrap; /* Ensures the boxes wrap to the next row if needed */
  gap: 20px; /* Adds space between the boxes */
  padding: 20px; /* Adds some padding around the container */
}

.homepage-popup-box {
  display: flex;
  flex-direction: column; /* Ensures the content inside each box stacks vertically */
  align-items: center; /* Centers the content inside each box */
  text-align: center; /* Centers the text inside each box */
  width: 300px; /* Sets a consistent width for the boxes */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Adds a subtle shadow for better appearance */
  border-radius: 8px; /* Rounds the corners */
  background-color: #fff; /* Sets the background color */
	color: #000;
}
