body {
	font-family: "Fredoka", sans-serif;
	max-width: 1000px;
	margin: 0 auto;
	padding: 16px;
	background: white;
	color: black;
}

a {
	color: #c2338f;
}

a:hover {
	color: #9e1f72;
}

header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 30px;
}

.button-primary,
.button-secondary {
	display: inline-block;
	padding: 8px 16px;
	border: none;
	border-radius: 999px;
	font: inherit;
	font-weight: 500;
	text-decoration: none;
	cursor: pointer;
}

.button-primary {
	padding: 12px 28px;
	background: #f898d8;
	color: black;
}

.button-primary:hover {
	background: #f07ac8;
}

.button-secondary {
	background: #f8e818;
	color: black;
}

.button-secondary:hover {
	background: #e8d800;
}

.cart-link {
	white-space: nowrap;
}

footer {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 12px;
	margin-top: 48px;
	padding-top: 16px;
	border-top: 1px solid #eee;
}

footer img {
	height: 20px;
}

header a {
	color: black;
	text-decoration: none;
}

.blurb {
	margin-bottom: 50px;
}

.artist {
	margin-top: 48px;
	padding: 24px;
	background: #fdf7c3;
	border-radius: 16px;
}

.artist h2 {
	margin-top: 0;
}

.products {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 16px;
}

.product-card {
	display: block;
	color: black;
	text-decoration: none;
}

.product-card img {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	object-fit: contain;
}

@media (max-width: 500px) {
	header {
		margin-top: 21px;
		margin-bottom: 26px;
	}

	header h1 {
		margin: 0;
	}

	.blurb {
		margin-bottom: 32px;
	}

	.products {
		grid-template-columns: 1fr 1fr;
		gap: 24px 12px;
	}
}

.product-card h3 {
	margin: 8px 0 4px;
}

.product-card p {
	margin: 0;
}

.product {
	display: grid;
	grid-template-columns: 3fr 2fr;
	gap: 24px;
	align-items: start;
}

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

.product-image {
	display: block;
	width: 100%;
}

.product-thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 8px;
}

.product-thumbs button {
	padding: 0;
	border: 2px solid transparent;
	background: none;
	cursor: pointer;
}

.product-thumbs button.selected {
	border-color: black;
}

.product-thumbs img {
	display: block;
	width: 64px;
	height: 64px;
	object-fit: cover;
}

.product-info h2 {
	margin-top: 0;
}

.description {
	white-space: pre-line;
}

#cart-list {
	list-style: none;
	padding: 0;
}

.cart-row {
	display: flex;
	align-items: center;
	gap: 24px;
	padding: 24px 0;
	border-bottom: 1px solid #eee;
}

.cart-row .thumb {
	width: 140px;
	height: 100px;
	object-fit: contain;
}

.cart-row .info {
	flex: 1;
}

.cart-row .amount {
	display: flex;
	align-items: center;
	gap: 12px;
}

.cart-row .row-total {
	width: 80px;
	text-align: right;
}

@media (max-width: 500px) {
	.cart-row {
		display: grid;
		grid-template-columns: 100px 1fr;
		gap: 8px 16px;
	}

	.cart-row .thumb {
		grid-row: span 3;
		width: 100px;
		height: 100px;
		align-self: start;
	}

	.cart-row .info p {
		margin: 0 0 4px;
	}

	.cart-row .row-total {
		grid-column: 2;
		width: auto;
		margin: 0;
		text-align: left;
		font-weight: bold;
	}
}

.admin-table {
	border-collapse: collapse;
}

.admin-table td,
.admin-table th {
	padding: 8px;
	border-bottom: 1px solid #eee;
	text-align: left;
}

.admin-table .hidden-product {
	background: #f3f3f3;
}

.admin-table img {
	height: 60px;
}

.admin-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
	max-width: 500px;
}

.admin-form label {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.admin-images {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.admin-image img {
	width: 150px;
	aspect-ratio: 1;
	object-fit: contain;
	border: 1px solid #eee;
}

.admin-form .checkbox {
	flex-direction: row;
	align-items: center;
}

.admin-image {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
}

.added-message {
	position: relative;
	width: fit-content;
	margin-top: 12px;
	padding: 8px 16px;
	background: #fde6f5;
	border-radius: 999px;
}

.added-message a {
	color: black;
	font-weight: bold;
}

.artist a {
	color: black;
	font-weight: 500;
}

.added-message[hidden] {
	display: none;
}

.added-message::before {
	content: "";
	position: absolute;
	top: -8px;
	left: 24px;
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	border-bottom: 8px solid #fde6f5;
}

.admin-nav {
	display: flex;
	gap: 16px;
}

.order {
	padding: 16px;
	margin-bottom: 16px;
	background: #f7f2ea;
	border-radius: 8px;
	max-width: 500px;
}

.order.shipped {
	background: #f2f2f2;
}

.order p,
.order ul {
	margin: 0 0 8px;
}

.ship summary,
.receipt {
	display: inline-block;
	padding: 2px 8px;
	border: 1px solid #767676;
	border-radius: 3px;
	background: #efefef;
	cursor: pointer;
	list-style: none;
}

.ship summary::-webkit-details-marker {
	display: none;
}

.ship-bubble {
	position: relative;
	margin-top: 12px;
	padding: 12px 16px;
	background: white;
	border-radius: 8px;
}

.ship-bubble::before {
	content: "";
	position: absolute;
	top: -8px;
	left: 24px;
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	border-bottom: 8px solid white;
}

.logo-face {
	height: 1.44em;
	margin-right: 0.4em;
	border-radius: 6px;
	vertical-align: middle;
}

.logo-text {
	position: relative;
	top: 0.08em;
}

.receipt {
	color: black;
	text-decoration: none;
}
