#menu_icons
{
	display: flex;
	z-index: 1;
}

#menu_icons a
{
	margin: auto;
	font-size: 20px;
	position: relative;
}

#menu_icons .shopping_cart_quantity
{
	background-color: var(--highlight);
	color: #FFFFFF;
	border-radius: 50%;
	display: block;
	width: 16px;
	height: 16px;
	font-size: 8px;
	font-weight: bold;
	text-align: center;
	line-height: 18px;
	position: absolute;
	top: -5px;
	right: -5px;
}

@media (max-width: 1199px)
{
	#navmenu
	{
		order: 3;
	}

	#menu_icons
	{
		order: 2;
		margin-left: auto;
		padding: 0 9px;
		font-size: 20px;
		margin-left: auto;
	}
}

/* ****************************** */

#shopping_cart
{
	padding: 30px;
	min-height: 100vh;
}

#shopping_cart>div
{
	display: flex;
}

#shopping_cart>div>div
{
	/* margin: 10px; */
	/* overflow: hidden; */
}

#shopping_cart .list
{
	padding: var(--gap);
	flex: 1;
}

#shopping_cart .list table
{
	margin: 0 auto;
	width: 100%;
	border-collapse: collapse;
}

#shopping_cart .list table thead
{
	border-bottom: 1px solid #858585;
}

#shopping_cart .list table thead th
{
	padding: 10px;
}

#shopping_cart .list table tbody
{
	font-size: 14px;
}

#shopping_cart .list table tbody tr
{
	border-bottom: 1px solid #858585;
}

#shopping_cart .list table tbody td
{
	padding: 10px;
}

#shopping_cart .list table tbody td img
{
	height: 100px;
	max-width: 100px;
	vertical-align: middle;
}

.cart_quantity
{
	width: 50px;
	text-align: right;
	border: 1px solid black;
	padding: 2px 6px;
}

.cart_remove a
{
	color: #ff0000;
	font-size: 16px;
	cursor: pointer;
	z-index: 1;
	background: none;
	width: 16px;
	height: 16px;
	display: block;
	position: relative;
}

.cart_remove a i
{
	position: absolute;
}

#shopping_cart .list table thead th:nth-child(3),
#shopping_cart .list table tbody td:nth-child(3)
{
	text-align: left;
}

#shopping_cart .list table thead th:nth-child(3),
#shopping_cart .list table tbody td:nth-child(3)
{
	text-align: center;
}

#shopping_cart .list table thead th:nth-child(2),
#shopping_cart .list table thead th:nth-child(4),
#shopping_cart .list table tbody td:nth-child(2),
#shopping_cart .list table tbody td:nth-child(4)
{
	text-align: right;
}

/* #shopping_cart  */
.checkout
{
	border-left: 1px solid #858585;
	width: 25%;
	padding: var(--gap);
	text-align: left;
}

/* #shopping_cart  */
.checkout table
{
	width: 100%;
	margin-bottom: var(--gap);
}

/* #shopping_cart  */
.checkout table th,
/* #shopping_cart  */
.checkout table td
{
	padding: 10px;
}

/* #shopping_cart  */
.checkout table tbody
{
	border-top: 1px solid #858585;
	border-bottom: 1px solid #858585;
}

#shopping_cart textarea
{
	display: none;
}

/* MOBILE */
@media (max-width: 990px)
{
	#shopping_cart>div
	{
		flex-direction: column;
	}

	#shopping_cart .list table thead
	{
		display: none;
	}

	#shopping_cart .list table tbody tr
	{
		border-bottom: 1px solid #858585;
	}

	#shopping_cart .list table tbody td
	{
		display: block;
		text-align: left !important;
		padding-left: 70px;
		position: relative;
	}

	#shopping_cart .list table tbody td:nth-child(n+1):not(:last-child)::before
	{
		content: attr(data-label) ':';
		position: absolute;
		left: -10px;
		text-transform: capitalize;
	}

	/* #shopping_cart .checkout
	{
		width: auto;
		border-left: none;
	} */

	/* #shopping_cart .list table tbody td:nth-child(1), */
	#shopping_cart .list table tbody td:nth-child(2)
	{
		display: none !important;
	}

	.cart_remove a
	{
		position: absolute;
		right: 0;
		top: -70px;
	}

	div.split,
	div.flex
	{
		flex-direction: column;
		gap: 0 !important;
	}

	.checkout
	{
		border-left: none;
		width: auto;
	}

	.cart_item_image
	{
		display: none;
	}
}

.cart_item td:first-child>div
{
	display: flex;
	align-items: center;
}

.cart_item_image
{
	margin-right: 10px;
	width: 100px;
	text-align: center;
}


/* ****************** */
/*      SHOWCASE      */
/* ****************** */
#showcase,
#showcase section
{
	padding: var(--gap);
	background: white;
}

#showcase .headline
{
	width: 50%;
}

#showcase .categories
{
	/* min-width: 315px; */
}

#showcase .categories ul
{
	display: flex;
	gap: var(--gap);
	font-size: 14px;
	padding: 0;
	flex-wrap: wrap;
	justify-content: center;
}

#showcase .categories li a
{
	padding: 10px;
	display: block;
	transition: 0;
	background-color: white;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 32px;
	white-space: nowrap;
	min-width: 85px;
	text-align: center;
}

#showcase .categories li.active a
{
	background-color: black;
	color: white;
}

#showcase .categories li:not(.active) a:hover
{
	background-color: #f0f0f0;
}

#showcase .search
{
	padding: 0;
}

#showcase .products
{
	padding: 0 var(--gap);
}

#showcase .search form
{
	padding: 15px 0 15px 15px;
	text-align: left;
	display: flex;
	justify-content: center;
	gap: 5px;
}

#showcase .search form input
{
	height: 30px;
	padding: 10px;
	border-radius: 5px;
	border: 1px solid #909090;
	flex: 1;
	max-width: 375px;
}

#showcase .products ul.catalog
{
	display: grid;
	/* grid-template-columns: repeat(auto-fill, 400px); */
	/* grid-template-columns: repeat(auto-fill, minmax(min(95%, 400px), 1fr)); */
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 400px));
	grid-gap: var(--gap);
	justify-content: center;
	list-style: none;
	padding: 0;
}

#showcase .products ul.catalog li
{
	display: flex;
	flex-direction: column;
	max-width: 400px;
	/* min-width: 400px; */
	min-height: 325px;
	padding: 10px;
	font-family: 'Poppins';
	text-align: left;
}


#showcase div.thumbnail
{
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	aspect-ratio: 1;
	border-radius: 15px;
}

#showcase .products ul.catalog li h3
{
	font-family: inherit;
	margin: 5px;
	line-height: 1.25;
	font-size: 20px;
	display: block;
	min-height: 45px;
}

#showcase .products ul.catalog li span.price
{
	color: var(--highlight);
	font-size: 16px;
	display: block;
	margin: 5px;
}

#showcase .product
{
	display: flex;
	gap: var(--gap);
	width: 80%;
	margin: 0 auto;
}

#showcase .product > div
{
	flex: 1;
}

#showcase button
{
	cursor: pointer;
	background-color: var(--highlight);
	padding: 0 15px;
	border: none;
	border-radius: 5px;
	color: #FFFFFF;
	height: 45px;
	width: 100%;
	font-size: 16px;
}

#showcase button:hover
{
	background-color: var(--highlightDark);
}

#showcase ul.pagination
{
	display: flex;
	justify-content: center;
	margin: var(--gap);
	gap: 10px;
	border-top: 1px solid var(--highlight);
	padding-top: 15px;
}

#showcase ul.pagination li
{
	background-color: var(--highlight);
	border-radius: 5px;
	min-width: 40px;
	text-align: center;
	color: #FFFFFF;
}

#showcase ul.pagination li.active
{
	background-color: var(--highlightDark);
	padding: 5px 15px;
}

#showcase ul.pagination li:hover
{
	background-color: var(--highlightDark);
}

#showcase ul.pagination li a
{
	display: block;
	padding: 5px 15px;
}

#showcase ul.breadcrumbs
{
	display: flex;
	flex-wrap: wrap;
}

#showcase ul.breadcrumbs li:not(:last-child)::after {
  content: ">";
  margin: 0 8px;
  color: #6c757d;
}

#showcase .product h4
{
	color: var(--highlight);
	font-size: 16px;
}

#showcase .product h5 span
{
	color: var(--highlight);
	font-size: 12px;
}

#showcase .product .price
{
	font-size: 24px;
	margin: 20px 0;
	display: block;
}

#showcase .product .thumbnail
{
	/* box-shadow: 0px 0px 15px #eaeaea; */
}

#showcase .buying_info
{
	background-color: var(--softPink);
	display: flex;
	gap: var(--gap);
	padding: 15px;
	margin-top: 30px;
	border-radius: 5px;
}

#showcase .buying_info li
{
	flex: 1;
	display: flex;
}

#showcase .buying_info span
{
	font-size: 10px;
}

#showcase .buying_info i
{
	color: var(--highlight);
	display:  inline-block;
	margin-right: 5px;
}

#showcase i.stock
{
	color: #0fbc0f;
}

#showcase i.no_stock
{
	color: #b50a0a;
}

@media (max-width: 800px)
{
	#showcase .product
	{
		flex-direction: column;
		width: 100%;
	}
}

@media (max-width: 720px)
{
	#showcase
	{
		flex-direction: column;
		padding: var(--gap);
	}

	#showcase .headline
{
	width: 100%;
}

	#showcase .categories
	{
		min-width: auto;
	}

	#showcase .catalog li
	{
		width: auto;
		min-height: 370px;
	}

	#showcase .search
	{
		margin: 0;
	}

	#showcase .search form
	{
		padding: 15px 0;
	}
}


/* billing */
#billing
{
	padding: 30px;
	min-height: 100vh;
}

#billing div.split
{
	display: flex;
	gap: var(--gap);
}

#billing .billing_info
{
	flex: 1;
	padding: var(--gap);
}

#billing .billing_info h2
{
	border-bottom: 1px solid black;
	display: block;
	margin-bottom: 15px;
	padding-bottom: 3px;
}

#billing textarea
{
	display: none;
}

#billing form fieldset
{
	width: 100%;
	/* height: 350px; */
}

#billing form fieldset div
{
	margin: 12px 0;
}

#billing form fieldset div.flex
{
	display: flex;
	gap: var(--gap);
}

#billing form fieldset div.flex div
{
	flex-basis: 50%;
}

#billing form fieldset div label
{
	display: block;
	margin-bottom: 5px;
}

#billing form fieldset div input,
#billing form fieldset div select
{
	border: none;
	background-color: #FFFFFF;
	height: 28px;
	padding: 0 5px;
	border-bottom: 1px solid #c2c1c1;
	width: 100%;
}

#billing form fieldset div input:focus-visible
{
	border: none;
	border-bottom: 1px solid #c2c1c1;
	outline: none;
}

#billing form fieldset div input:user-invalid
{
	border-bottom: 1px solid #e93f3f;
}

#billing form fieldset div input:valid
{
	border-bottom: 1px solid #c2c1c1;
}


#result
{
	padding: 30px;
}

button
{
	width: 100%;
	background-color: var(--highlight);
	color: #FFFFFF;
	border: none;
	font-size: 20px;
	padding: 10px;
	cursor: pointer;
}

