/* Base styles
–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-family: inherit;
	vertical-align: baseline;
}

:focus {
	outline: 0;
}

* {
	box-sizing: border-box;
}

body {
	background: transparent;
	font-family: 'Lato', sans-serif;
	font-size: 16px;
	line-height: 1.3;
	color: #222;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

.hr_thin {
  border: none;
  border-top: 0.5px solid #ddd;
}

/* Variables
–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */
body {
	/*
	--color-primary: rgb(226, 27, 35);
	--color-link: rgb(226, 27, 35);
	*/
	--color-primary: rgb(120, 179, 87);
	--color-link: rgb(120, 179, 87);
}


/* Typography
–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */
h1, h2, h3, h4, h5 {
	font-family: 'Titillium Web', 'Lato', sans-serif;
	font-weight: 600;
	line-height: 1;
}

h1 {
	font-size: 30px;
	margin: 0 0 20px;
}

h2 {
	font-size: 30px;
	margin-bottom: 0.9em;
}

h3 {
	font-size: 24px;
	margin-bottom: 0.7em;
}

h4 {
	font-size: 20px;
	margin-bottom: 1em;
}

h5 {
	font-size: 16px;
	line-height: 1.3;
}

a {
	color: var(--color-link);
	text-decoration: none;
}
	
a:hover {
	text-decoration: underline;
}

p {
	margin-bottom: 1.5rem;
}

strong {
	font-weight: bold;
}

em {
	font-style: italic;
}

u {
	text-decoration: underline;
}


/* Lists
–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */
ul, ol {
	margin-bottom: 1.5rem;
	overflow: hidden;
}

ul {
	padding-left: 1rem;
	list-style: disc;
}

ol {
	list-style: inside decimal;
}

	ul li {
		margin: 0 0 0.5rem;
	}


/* Grid
–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */
.grid {
	--columns: 3;
	display: grid;
	grid-template-columns: repeat(var(--columns), minmax(0, 1fr));
	gap: 1rem;
}

/* 720 */
@media (max-width: 720px) {

	.grid {
		--columns: 2;
	}

}

/* 480px */
@media (max-width: 480px) {

	.grid {
		--columns: 1;
	}

}


/* Structure
–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */
section {
	width: 100%;
}

section + section {
	margin-top: 3rem;
}


/* Cards
–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */
.card, .my_profile_btn {
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: auto 1fr auto;
	background-color: #fff;
	border: 1px solid #ccc;
	font-family: 'Titillium Web', 'Lato', sans-serif;
}

.my_profile_btn {
	width: 22%;
	margin-right: 4%;
	text-align: center;
	float: left;
}

.my_profile_btn.last {
	margin-right: 0% !important; 
}


	.card > * {
		width: 100%;
		overflow: hidden;
	}

	.card .img {
		aspect-ratio: 16/9;
		display: flex;
		justify-content: center;
		align-items: center;
	}

	.card .has-pad {
		padding: 1rem;
	}

		.card .img img {
			width: 100%;
			height: 100%;
			object-fit: cover;
		}

		.card .has-pad img {
			width: auto;
			height: auto;
			max-height: 100%;
			object-fit: contain;
		}

	.card .headline {
		padding: 1rem;
		border-top: 1px solid #ccc;
		font-size: 1.125em;
		font-weight: 600;
		text-transform: uppercase;
	}

	.card footer {
		width: 100%;
		display: flex;
		justify-content: space-between;
		align-items: center;
		background-color: #f0f0f0;
		border-top: 1px solid #ccc;
	}

	.card .name {
		padding: 0.5rem 1rem;
		font-weight: 600;
		overflow: hidden;
		white-space: nowrap;
		text-transform: uppercase;
		text-overflow: ellipsis;
	}

	.card .btn {
		padding: 0.5rem 1.25rem;
		background-color: var(--color-primary);
		font-weight: 600;
		color: #fff;
		text-transform: uppercase;
	}

	.card .btn:hover {
		text-decoration: none;
		filter: brightness(1.1);
	}
	
	.my_profile_btn .btn {
		padding: 0.5rem 1.25rem;
		background-color: var(--color-primary);
		font-weight: 600;
		color: #fff;
		text-transform: uppercase;
	}
	
	.my_profile_btn .btn:hover {
		text-decoration: none;
		filter: brightness(1.1);
	}


/* Headings
–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */
.heading {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	padding-bottom: 1rem;
	margin-bottom: 1.5rem;
	border-bottom: 1px solid #ccc;
}

	.heading > :first-child {
		display: flex;
		align-items: stretch;
		gap: 0.75rem;
		margin-bottom: 0;
	}

	.heading > :first-child::before {
		content: "";
		width: 3px;
		min-height: 1em;
		display: block;
		background-color: var(--color-primary);
	}

	.heading .search {
		width: 17rem;
		max-width: 40%;
	}

		.heading .search form {
			display: grid;
			grid-template-columns: 1fr 2rem;
			align-items: stretch;
			background-color: #f0f0f0;
			border: 1px solid #ccc;
		}

		.heading .search form::after {
			content: "";
			display: block;
			mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2' viewBox='0 0 20 32'%3E%3Cpath d='M10 0c5.519 0 10 4.481 10 10 0 7.144-8.558 22.029-10 22-1.442-.029-10-14.879-10-22C0 4.481 4.481 0 10 0Zm0 3.85a6.078 6.078 0 0 1 6.075 6.075A6.078 6.078 0 0 1 10 16a6.078 6.078 0 0 1-6.075-6.075A6.078 6.078 0 0 1 10 3.85Z'/%3E%3C/svg%3E");
			mask-position: center;
			mask-size: auto 50%;
			mask-repeat: no-repeat;
			background-color: var(--color-primary);
		}

			.heading .search input {
				width: 100%;
				padding: 0.5em;
				background: transparent;
				border: 0;
				font: inherit;
			}

/* 480px */
@media (max-width: 480px) {

	.heading {
		flex-direction: column;
	}

		.heading > * {
			width: 100% !important;
		}

		.heading .search {
			max-width: 100%;
		}

}


/* Single article
–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */
article.single .subhead {
	font-weight: bold;
}

article.single figure {
	width: 15rem;
	aspect-ratio: 1/1;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 1rem;
	margin: 0 0 1.5rem;
	background-color: #fff;
	border: 1px solid #ccc;
}

article.single figure.float-left {
	float: left;
	margin-right: 1.5rem;
}

.redeem {
	width: 100%;
	margin-top: 3rem;
	text-align: center;
	clear: both;
}

	.redeem .btn {
		display: inline-block;
		padding: 1.5em 3em;
		background-color: var(--color-primary);
		font-family: 'Titillium Web', 'Lato', sans-serif;
		font-size: 1.25rem;
		font-weight: 600;
		color: #fff;
		text-align: center;
		text-transform: uppercase;
	}

	.redeem .btn:hover {
		text-decoration: none;
		filter: brightness(1.1);
	}

.full_width {
	width: 100%;
	display: block;
}

.third_width {
	width: 33%;
	float: left;
	display: block;
}

#vendor_custom_list, #category_custom_list {
	margin-left: 50px;
	margin-bottom: 15px;
}

.textbox {
	border: 1px solid #ccc; /* Grey outline */
	background-color: white; /* White background */
	padding: 10px; /* Padding */
	border-radius: 4px; /* Optional: rounded corners */
	font-size: 16px; /* Font size */
	box-sizing: border-box; /* Include padding in width */
}

.textbox:focus {
	outline: none; /* Remove default outline on focus */
	border-color: #888; /* Darker grey on focus */
}

/* 950px */
	@media (max-width: 950px) {
	
		.my_profile_btn {
			width: 100%;
			margin-right: 0%;
			float: none;
			margin-bottom: 10px;
		}
		
		.my_profile_btn.last {
			margin-bottom: 0px !important;
		}
		
		.third_width {
			width: 49%;
		}
	
	}


/* 480px */
@media (max-width: 480px) {

	article.single figure {
		width: 100%;
		margin-inline: 0 !important;
	}

	.redeem .btn {
		width: 100%;
		padding-inline: 1.5rem;
	}
	
	.third_width {
		width: 100%;
		float: none;
	}

}