@charset "utf-8";

/***********
1. Fonts
***********/

@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700,900');

/*********************************
2. Body and some general stuff
*********************************/

* {
	margin: 0;
	padding: 0;
}

body {
	font-family: 'Poppins', sans-serif;
	font-size: 14px;
	line-height: 23px;
	font-weight: 400;
	background: #FFFFFF;
	color: #1e1e27;
	justify-content: center !important;
}

div {
	display: block;
	position: relative;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

ul {
	list-style: none;
	margin-bottom: 0px;
}

p {
	font-family: 'Poppins', sans-serif;
	font-size: 14px;
	line-height: 1.7;
	font-weight: 500;
	color: #51545f;
	-webkit-font-smoothing: antialiased;
	-webkit-text-shadow: rgba(0, 0, 0, .01) 0 0 1px;
	text-shadow: rgba(0, 0, 0, .01) 0 0 1px;
}

p a {
	display: inline;
	position: relative;
	color: inherit;
	border-bottom: solid 2px #E3F2E6;
	/* light green underline */
	-webkit-transition: all 200ms ease;
	-moz-transition: all 200ms ease;
	-ms-transition: all 200ms ease;
	-o-transition: all 200ms ease;
	transition: all 200ms ease;
}

a,
a:hover,
a:visited,
a:active,
a:link {
	text-decoration: none;
	-webkit-font-smoothing: antialiased;
	-webkit-text-shadow: rgba(0, 0, 0, .01) 0 0 1px;
	text-shadow: rgba(0, 0, 0, .01) 0 0 1px;
}

p a:active {
	position: relative;
	color: #2E7D32;
	/* green */
}

p a:hover {
	color: #6B4F2A;
	/* brown */
	background: #F1E6DA;
	/* light brown */
}

p a:hover::after {
	opacity: 0.2;
}

::selection {
	background: #E3F2E6;
	/* light green */
	color: #2E7D32;
	/* green */
}

p::selection {
	background: #E3F2E6;
	/* light green */
}

h1 {
	font-size: 72px;
}

h2 {
	font-size: 36px;
}

h3 {
	font-size: 28px;
}

h4 {
	font-size: 24px;
}

h5 {
	font-size: 16px;
}

h6 {
	font-size: 14px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Poppins', sans-serif;
	color: #282828;
	-webkit-font-smoothing: antialiased;
	-webkit-text-shadow: rgba(0, 0, 0, .01) 0 0 1px;
	text-shadow: rgba(0, 0, 0, .01) 0 0 1px;
}

h1::selection,
h2::selection,
h3::selection,
h4::selection,
h5::selection,
h6::selection {}

::-webkit-input-placeholder {
	font-size: 16px !important;
	font-weight: 500;
	color: #777777 !important;
}

:-moz-placeholder

/* older Firefox*/
	{
	font-size: 16px !important;
	font-weight: 500;
	color: #777777 !important;
}

::-moz-placeholder

/* Firefox 19+ */
	{
	font-size: 16px !important;
	font-weight: 500;
	color: #777777 !important;
}

:-ms-input-placeholder {
	font-size: 16px !important;
	font-weight: 500;
	color: #777777 !important;
}

::input-placeholder {
	font-size: 16px !important;
	font-weight: 500;
	color: #777777 !important;
}

.form-control {
	color: #2E7D32;
	/* green */
}

section {
	display: block;
	position: relative;
	box-sizing: border-box;
}

.clear {
	clear: both;
}

.clearfix::before,
.clearfix::after {
	content: "";
	display: table;
}

.clearfix::after {
	clear: both;
}

.clearfix {
	zoom: 1;
}

.float_left {
	float: left;
}

.float_right {
	float: right;
}

.trans_200 {
	-webkit-transition: all 200ms ease;
	-moz-transition: all 200ms ease;
	-ms-transition: all 200ms ease;
	-o-transition: all 200ms ease;
	transition: all 200ms ease;
}

.trans_300 {
	-webkit-transition: all 300ms ease;
	-moz-transition: all 300ms ease;
	-ms-transition: all 300ms ease;
	-o-transition: all 300ms ease;
	transition: all 300ms ease;
}

.trans_400 {
	-webkit-transition: all 400ms ease;
	-moz-transition: all 400ms ease;
	-ms-transition: all 400ms ease;
	-o-transition: all 400ms ease;
	transition: all 400ms ease;
}

.trans_500 {
	-webkit-transition: all 500ms ease;
	-moz-transition: all 500ms ease;
	-ms-transition: all 500ms ease;
	-o-transition: all 500ms ease;
	transition: all 500ms ease;
}

.fill_height {
	height: 100%;
}

.super_container {
	width: 100%;
	overflow: hidden;
}


/* SHOP */

.shop {
	padding-left: 0;
	padding-right: 0;
	display: flex;
	justify-content: center;
	padding-bottom: 320px;
	top: 240px;
}

.shop .col {
	max-width: 1200px;
}

.shop .col-12 {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}

.categories_shop {
	margin-top: 160px !important;
	padding-left: 0;
	padding-right: 0;
	background: #FFFFFF;
}

.top-container{
	position: fixed;
	width: 100%;
	height: 270px;
	background-color: #FFFFFF;
	z-index: 5;
}


.categories_shop .row {
	display: flex;
	justify-content: center;
}

.categories {
	display: flex;
	gap: 8px;
	justify-content: center;
}

.category_item {
	padding: 10px;
	border: 1px solid #4F5D2F;
	/* green */
	background-color: #4F5D2F;
	/* green */
	border-radius: 25px;
	transition: all 0.9s ease;
	text-align: center;
	justify-content: center;
}

.category_link span {
	font-size: 14px;
	font-weight: 300;
	color: ghostwhite;
}

.product-item {
	max-width: 230px;
}

.category_item:hover {
	padding: 10px;
	border: 1px solid #6B4F2A;
	/* brown */
	background-color: #6B4F2A;
	/* brown */
	border-radius: 25px;
}


.btn-search3{
	background-color: #4F5D2F;
	border-color: #4F5D2F;
	color: whitesmoke;
}

.btn-search3:hover{
	background-color: #6B4F2A;
	border-color: #6B4F2A;
	color: whitesmoke;
}

/* Active category: border green, background white, text green */
.categories .category_item.active {
	border: 1px solid #4F5D2F;
	/* green */
	background-color: #ffffff;
}

.categories .category_item.active .category_link span {
	color: #4F5D2F;
	/* green */
}

/* Keep active style on hover */
.categories .category_item.active:hover {
	border: 1px solid #4F5D2F;
	/* green */
	background-color: #ffffff;
}

.categories .category_item a {
	cursor: pointer;
}

/* Search bar styling */
.shop-search {
	border: 1px solid #6B4F2A;
	/* brown */
	border-radius: 20px;
	height: 40px;
	padding: 0 14px;
	max-width: 320px;
	width: 100%;
}

.shop-search:focus {
	outline: none;
	border-color: #6B4F2A;
	box-shadow: 0 0 0 2px rgba(107, 79, 42, 0.15);
}

/* Space between categories and search */
.search_bar {
	padding-top: 16px;
}

.search_bar .col {
	gap: 8px;
}

/* Filter dropdowns (match search bar theme) */
.filters_row {
	gap: 10px;
	padding-left: 15px;
	padding-right: 15px;
}

.filters_col {
	max-width: 340px;
}

.shop-filter-select {
	border: 1px solid #6B4F2A !important;
	border-radius: 20px;
	height: 40px;
	padding: 0 34px 0 14px;
	color: #4F5D2F !important;
	background-color: #FFFFFF !important;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%234F5D2F' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 16px 16px;
}

.shop-filter-select:focus {
	outline: none;
	border-color: #6B4F2A !important;
	box-shadow: 0 0 0 2px rgba(107, 79, 42, 0.15);
}

/* Hide native arrow on old IE/Edge */
select.shop-filter-select::-ms-expand {
	display: none;
}

/* Some browsers do not inherit select text color into the option list */
.shop-filter-select option {
	color: #4F5D2F;
}

/* Product grid layout + spacing */
.product-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	justify-content: center;
	max-width: 1200px;
	margin: 20px auto 0;
}

.product-item {
	min-width: 230px;
}



@media (max-width: 768px) {
	.categories_shop {
		margin-top: 90px !important;
		padding-left: 0;
		padding-right: 0;
	}

	.shop {
		margin-top: 0px;
		padding-left: 0;
		padding-right: 0;
		display: flex;
		justify-content: center;
		padding-bottom: 120px;
	}

	/* Make categories fit on screen (wrap) */
	.categories {
		flex-wrap: wrap;
		justify-content: center;
		gap: 8px;
		padding-left: 15px;
		padding-right: 15px;
	}

	.categories .category_item {
		flex: 0 1 auto;
		padding: 8px 12px;
		border-radius: 20px;
	}

	/* Two-column products on phones */
	.shop .col {
		max-width: 100%;
	}

	.product-grid {
		margin: 2px -4px;
		margin-top: 20px;
		/* small gutters for 2 cols */
	}

	.product-item {
		width: calc(50% - 12px) !important;
		/* two columns */
		max-width: none;
	    margin: 0 4px 16px; 
		box-sizing: border-box;
		min-width: 0 !important; /* Allow shrinking below 230px */
	}

	.product_image img {
		width: 100%;
		height: auto;
		display: block;
	}

	/* Prevent edge clipping from Bootstrap row gutters */
	.categories_shop .row {
		margin-left: 0;
		margin-right: 0;
	}

	.categories.row {
		margin-left: 0;
		margin-right: 0;
	}

	/* More breathing room on the sides + safe-area support */
	.categories {
		padding-left: 16px;
		padding-right: 16px;
		width: 100%;
		box-sizing: border-box;
	}

	/* Safe-area fallback pattern */
	.categories {
		padding-left: calc(16px + env(safe-area-inset-left));
		padding-right: calc(16px + env(safe-area-inset-right));
	}

	/* Center the two-column product layout and override absolute positioning */
	.product-grid {
		display: flex !important;
		flex-wrap: wrap;
		justify-content: center;
		gap: 0;
		padding-left: 12px;
		padding-right: 12px;
	}

 /* .product-item {
		position: static !important;
		float: none;
		transform: none !important;
		max-width: 30px !important;
		height: 500px !important;
		margin: 0 0 16px 0;
	}  */

	.red_button {
		display: block !important;
		opacity: 1 !important;
		position: static !important;
		visibility: visible !important;
		pointer-events: auto !important;
		z-index: 10 !important;
	}
}

/* --- Option B: High Specificity for Mobile Layout (< 520px) --- */
@media (max-width: 520px) {
    
    /* Target the main shop row to ensure it doesn't interfere */
    #shop > .col {
        padding: 0;
        margin: 0;
    }

    /* 1. Force the grid container to be a wrapping flex container */
    #shop .product-grid {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: space-between !important; /* Space between the two columns */
        align-items: stretch !important; /* Ensures products in the same row have the same height */
        padding: 0 5px !important;
    }

    #shop .product-item {
        width: 49% !important; 
        position: static !important;
        float: none !important;
        transform: none !important;
        margin: 0 0 15px 0 !important; 
        height: auto !important; 
		padding-left: 5px;
		padding-right: 5px;
    }

	.product-item .product_desc{
        display: none !important;
	}

	.product, .product-item{
		max-width: 220px;
	}

	.add_to_cart_button{
     max-width: 220px;
	}

	/* .product-item .product_image{
		max-width: 180px;
	}
    
    #shop .product { 
        min-height: 160px; 
    } */

    #shop .red_button {
        display: block !important;
        opacity: 1 !important;
        position: static !important;
        visibility: visible !important;
        pointer-events: auto !important;
        z-index: 10 !important;
        margin-top: 10px !important;
    }
}

/* Brands sidebar (right column) - mirror category styles but vertical */
.brands_sidebar {
	margin-top: 20px;
	max-height: 600px;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	position: fixed;
	z-index: 6;
}
.brands_header h6 {
	font-size: 16px;
	font-weight: 500;
	color: #1e1e27;
}
.brands_list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.brands_list .brand_item {
	padding: 10px;
	border: 1px solid #4F5D2F;
	background-color: #ffffff;
	color:#4F5D2F;
	border-radius: 25px;
	text-align: center;
}
.brands_list .brand_item a {
	color: #4F5D2F;
	display: block;
	font-size: 14px;
	font-weight: 300;
}
.brands_list .brand_item:hover {
	border: 1px solid #6B4F2A;
	background-color: #6B4F2A;
	color: #ffffff;
}

.brands_list .brand_item a:hover {
	color: #ffffff;
}
.brands_list .brand_item.active {
	border: 1px solid #4F5D2F;
	background-color: #4F5D2F;
}
.brands_list .brand_item.active a { color: #ffffff; }

@media (max-width: 992px) {
	.brands_sidebar { display: none; }
}




