/* Custom Homepage Styles */

/*********************************
Hero Section Styles
*********************************/

.hero_text_overlay {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    text-align: left;
    max-width: 45%;
    z-index: 2;
}

.hero_title {
    font-size: 4rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.8);
    font-family: 'Days One', sans-serif;
    line-height: 1.1;
}

.hero_subtitle {
    font-size: 2rem;
    font-weight: 600;
    color: #ffffff;
    margin-top: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    font-family: 'Days One', sans-serif;
}

/*********************************
Popular Products Section
*********************************/

.product_grid
{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.product_item
{
	width: 245px;
	box-sizing: border-box;
	padding: 15px;
	position: static !important;
	left: 0 !important;
	background: #FFFFFF;
	cursor: pointer;
	padding-top: 40px;
	z-index: 0;
	height: auto;
	border-radius: 8px;
	box-shadow: 0px 2px 8px rgba(0,0,0,0.1);
	margin: 0 5px 50px 5px;
}

.product_image
{
	height: 240px;
	overflow: hidden;
	text-align: center;
}

.product_image img
{
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.product_content
{
	position: relative !important;
	top: auto !important;
	left: auto !important;
	margin-top: 15px !important;
	width: 100% !important;
	display: block !important;
	padding: 0 10px 10px 10px;
}

.product_price
{
	font-size: 14px !important;
}

.product_name div a
{
	white-space: normal !important;
}

.product_fav
{
	position: absolute;
	top: 10px;
	right: 10px;
	font-size: 20px;
	color: #ccc;
}

.product_marks
{
	position: absolute;
	top: 10px;
	left: 10px;
	list-style: none;
	padding: 0;
	margin: 0;
}

.product_mark
{
	background: #ff6b6b;
	color: white;
	padding: 2px 8px;
	border-radius: 4px;
	font-size: 12px;
	margin-bottom: 2px;
}

/*********************************
Mobile Responsive Styles
*********************************/

/* Show mobile banner and hide desktop banner on mobile devices */
@media (max-width: 768px) {
    .banner-desktop {
        display: none !important;
    }
    
    .banner-mobile {
        display: block !important;
    }
    
    .hero_text_overlay {
        top: 60%;
        left: 5%;
        max-width: 90%;
        transform: translateY(-60%);
    }
    
    .hero_title {
        font-size: 2.5rem;
    }
    
    .hero_subtitle {
        font-size: 1.5rem;
    }
    
    .product_item {
        width: 50%;
    }
}

@media (max-width: 480px) {
    .hero_text_overlay {
        top: 70%;
        left: 5%;
        max-width: 90%;
        transform: translateY(-70%);
    }
    
    .hero_title {
        font-size: 2rem;
    }
    
    .hero_subtitle {
        font-size: 1.2rem;
    }
    
    .product_item {
        width: 100%;
    }
}

@media (max-width: 360px) {
    .hero_text_overlay {
        top: 75%;
        left: 5%;
        max-width: 90%;
        transform: translateY(-75%);
    }
    
    .hero_title {
        font-size: 1.8rem;
    }
    
    .hero_subtitle {
        font-size: 1rem;
    }
}
