/* Narudžba majica */

/* uvodni dio: vizualno odvojen od artikala */
.shop-intro {
	background: rgba(210, 215, 217, 0.2);
	border-left: solid 4px #f56a6a;
}

.shop-intro h4 {
	margin-bottom: 0.75em;
}

.shop-intro h4 .fa {
	color: #f56a6a;
	margin-right: 0.3em;
}

.shop-intro ul {
	margin-bottom: 0;
}

/* artikl: gore slika uz tekst, ispod toga narudžbeni obrazac */
.shop-product {
	margin-bottom: 2.5em;
	padding-bottom: 1.5em;
	border-bottom: solid 1px rgba(210, 215, 217, 0.75);
}

.shop-product-head {
	display: flex;
	align-items: flex-start;
	gap: 1.5em;
	margin-bottom: 1.25em;
}

.shop-product-body {
	flex: 1 1 auto;
	min-width: 0;
}

/* slika u vlastitom stupcu (umjesto float-a iz teme), 30 % širine */
.image.left.shop-product-image {
	float: none;
	flex: 0 0 30%;
	max-width: 30%;
	padding: 0;
	top: 0;
}

.shop-product-image img {
	max-width: 100%;
}

.shop-product-name {
	margin-bottom: 0.2em;
}

.shop-price {
	font-size: 1.5em;
	font-weight: 700;
	color: #f56a6a;
	margin-bottom: 0.75em;
}

/* link na tablicu veličina uz oznaku "Veličina"; slika se otvara u modalu */
a.shop-size-chart {
	margin-left: 0.75em;
	font-weight: 400;
	border-bottom: 0;
	text-decoration: underline;
}

a.shop-size-chart .fa {
	margin-right: 0.2em;
}

/* svako polje narudžbe u svom redu */
.shop-field {
	margin-bottom: 1.25em;
}

.shop-field > label {
	margin-bottom: 0.5em;
}

.shop-order-form select {
	max-width: 14em;
}

/* količina uz gumb "Dodaj u košaricu" */
.shop-add {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75em;
}

.shop-add > label {
	margin: 0;
}

.shop-add input[type="number"] {
	width: 5em;
	text-align: center;
}

/* boje: uzorak (swatch) umjesto hex koda */
.shop-swatch {
	display: inline-block;
	width: 1.5em;
	height: 1.5em;
	border-radius: 50%;
	border: solid 1px rgba(0, 0, 0, 0.3);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
	vertical-align: middle;
	flex-shrink: 0;
}

.shop-color .shop-swatch {
	width: 1.1em;
	height: 1.1em;
	margin-right: 0.4em;
	vertical-align: -0.15em;
}

.shop-colors {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em 1em;
}

.shop-colors label.shop-color-option {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	margin: 0;
	padding: 0.25em 0.5em 0.25em 0.25em;
	font-weight: 400;
	cursor: pointer;
	border: solid 1px transparent;
	border-radius: 4px;
}

.shop-colors label.shop-color-option:hover {
	border-color: rgba(0, 0, 0, 0.15);
}

.shop-colors input[type="radio"] {
	position: absolute;
	float: none;
	width: 0;
	height: 0;
	margin: 0;
	opacity: 0;
}

.shop-colors input[type="radio"]:checked + .shop-swatch {
	box-shadow: 0 0 0 2px #fff, 0 0 0 4px #333;
}

.shop-colors input[type="radio"]:focus-visible + .shop-swatch {
	box-shadow: 0 0 0 2px #fff, 0 0 0 4px #1f66d1;
}

.shop-colors input[type="radio"]:checked ~ .shop-color-name {
	font-weight: 700;
}
