/*--- fonts ---*/
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&family=Vollkorn:wght@400;700&display=swap');
*{
    margin:0;
    padding:0;
    line-height: 1em;
}

/*--- general ---*/
html{
    font-family: "Open Sans";
    font-size:18px;
    color:#444;
}
body{
    background: radial-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 1)) fixed, url(/images/union_flag.svg) top center / 100% auto fixed;
}
h1, h2, h3,
.products h2{
    font-family: 'Vollkorn';
    font-size:3.5rem;
    font-weight:700;
    font-variant-caps: small-caps;
    letter-spacing: 0.03em;
    color: #ad433e;
    text-shadow: 0.02em 0.02em #fff;
    filter: drop-shadow(0.05em 0.05em 0 #444)
}
h2, h3{
	font-size:2.25rem;
	text-shadow: none;
	filter:none;
}
h3{
	font-size:1.75rem;
	text-shadow: none;
	filter:none;
}
p + h2, p + h3{
	margin-top:1em;
}
p{
    width:75%;
    margin:0 auto;
    padding-top:1em;
    line-height: 1.5em;
}
a{
	color: #ad433e;
	text-decoration: none;
}
a:hover{
	text-decoration: underline;
}
.button{
    position: relative;
    display:inline-block;
    padding: 1em 1.5em;
    font-family: 'Vollkorn';
    font-size: 1.5rem;
    font-weight: 400;
    color: #FFF;
    text-decoration: none;
    background: radial-gradient(#cb504c, #7b2c26);
    border: 2px solid transparent;
    box-shadow: 0.08em 0.08em #fff;
    text-shadow: 0.08em 0.08em 0 #444;
    filter: drop-shadow(0.15em 0.15em 0 #444);
}
a.button:hover{
	text-decoration: none;
    opacity:0.85;
}
.button.small{
	font-size:1.1rem;
}
.button.vsmall{
	font-size:0.75rem;
}
span.button{
	opacity: 0.1;
	filter:grayscale(1);
}
input[type=text],
select{
	padding: 0.25rem 0.5rem;
	font-size: 1rem;
    color:#444;
    border: 1px solid #AAA;
    vertical-align: middle;
}
hr {
    display:block;
    height:3.8rem;
    margin-top:5.0rem;
    border:none;
    background: url(/images/bunting.svg) center bottom / 25% auto repeat-x;
    overflow: auto;
}

/*--- header ---*/
header{
    position: relative;
    margin:1.25% 2.5% 0;
}
header img{
    width:30%;
    margin:0 auto;
}
header button{
	display:none;
}

/*--- nav ---*/
nav{
    position: absolute;
    top:0;
    left:0;
    width:100%;
}
nav ul{
	list-style: none;
}
nav li {
	position: relative;
    float:left;
    margin:1.25% 3% 0 0;
}
main nav > ul > li:nth-of-type(n+4){
    float:right;
    margin-left:3%;
    margin-right:0;
}
nav li a{
	font-family: 'Vollkorn';
    font-weight:400;
    font-size: 1.25rem;
    color: #5b6f6e;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    text-shadow: 0.02em 0.02em #000;
    white-space: nowrap;
}
nav li a:hover{
    text-decoration: underline;
}
nav li a.selected{
    color: #ad433e;
}
nav ul li ul{
	display:none;
	position: absolute;
	top:1.75em;
	left:-1.0em;
	box-shadow: 0.25em 0.25rem 0.5em 0 rgb(0 0 0 / 0.25);
	z-index:5;
}
nav ul li ul li{
	float:none;
	margin:0;
	text-align: left;
}
nav ul li ul li a{
	display: block;
	padding:0.75em 1em;
	font-size:1.0rem;
	color:#FFF;
	background-color: #ad433e;
	border-top:1px solid #FFF;
}
nav ul li ul li a:hover{
	text-decoration: none;
	filter:brightness(110%);
}

/*--- main contaner ---*/
main{
    position: relative;
    width: 90%;
    max-width:1600px;
    min-height:100vh;
    margin: 0 auto;
    text-align: center;
    background-color:#FFFBF6F6;
    border-left: 1px solid #CCC;
    border-right: 1px solid #CCC;
    box-shadow: 0 0 10vw rgb(0 0 0 / 20%);
    overflow: hidden;
}

/*--- section ---*/
section{
    padding: 3.75% 2.5% 8.75%;
    overflow: auto;
    background: url(/images/bunting.svg) center bottom / 25% auto repeat-x;
}
section img{
    max-width:100%;
}
section > img + h1{
	margin-top:2.5%;
}
section > a.button{
    margin-top:2.5%;
}
section > ul, section > ol{
	list-style-position: inside;
}

/*--- shop categories ---*/
.shop-categories{
	margin:3.75% 10% 0;
}
.shop-categories .button{
	margin: 1.5% 0.5% 0 0;
	padding:0.5em 1em;
	font-size:1.1em;
}

/*--- products ---*/
section.products ul{
    display:flex;
    flex-flow: wrap;
    list-style: none;
}
section.products ul li{
    display:block;
    padding:5% 1.25% 0;
    width:22.5%;
    max-width:500px;
}
section.products ul li a{
    text-decoration: none;
}
section.products ul li a div{
    width: 100%;
    padding-top:100%;
    background-size: cover;
    background-position: center;
    -webkit-mask-image: url("/images/torn_photo_mask_sqaure.png");
    -webkit-mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
}
section.products ul li a h4{
    padding-top: 0.5em;
    font-family: 'Vollkorn';
    font-size: 1.5rem;
    line-height: 1.1em;
    font-weight: 500;
    color: #ad433e;
}
section.products ul li a p{
    padding-top: 0.5em;
    color: #333;
}
section.products ul li a:hover div,
section.products ul li a:hover h2,
section.products ul li a:hover p{
    opacity: 0.85;
}

/*--- product ---*/
section.product{
	padding-bottom:0;
	background:none;
}
section.product > div{
	display: flex;
	gap: 2.5%;
	align-items: flex-start;
	margin:0 0 2.5%;
	overflow: auto;
}
section.product > div div{
	width:48.75%;
	padding-bottom:1.0rem;
}
section.product > div div h1{
	font-size:3.0rem;
}
section.product > div div p{
	width:auto;
}
section.product > div div:first-child,
section.product-images > div div{
	padding-bottom:calc(50% - 1.0rem);
	background-position: center;
	background-size:cover;
	background-repeat: no-repeat;
	-webkit-mask-image: url(/images/torn_photo_mask_sqaure.png);
    -webkit-mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
	cursor:pointer;
}
section.product > div div:first-child:hover,
section.product-images > div div:hover{
	opacity: 0.9;
}
section.product > div:nth-of-type(odd){
	flex-direction: row-reverse;
}
section.product > div:nth-of-type(even) div:nth-child(2){
	float:right;
}
section.product label{
	margin-right:0.5rem;
	font-size: 1.2rem;
	line-height: 2.5em;
    font-weight: 700;
	color:#AD432C;
	
}
section.product p strong{
	font-size: 1.2rem;
    font-weight: 500;
}
section.product select{
	font-size: 1rem;
	padding:0.25em 0.5em;
	font-family: 'Open Sans';
    font-weight: 500;
}
section.product a.button{
	margin-top:2.5%;
}
section.product-images{
	padding-top:1.25%;
}
section.product-images > div{
	display: flex;
	flex-wrap: wrap;
	gap: 1.25%;
	justify-content: center;
}
section.product-images > div div{
	width:calc((100% - 3.75rem) / 4);
	margin-top:1.25%;
	padding-bottom:calc((100% - 3.75rem) / 4);
}

/*--- shopping basket ---*/
header + h3{
	padding-top:5%;
}
main table.sb{
	padding:5% 10% 2.5%;
}
main  table.sb{
	margin-top:15px;
	font-size:0.85rem;
}
main table.sb th{
	text-align:left;
}
main table.sb th,
main table.sb td{
	padding:0.7rem 0.5rem 0.7rem 4.5rem;
	white-space:nowrap;
	border-bottom:1px dotted #666;
}
main table.sb td label{
	display:none;
}
main table.sb td img{
	margin:0;
}
main table.sb th.right,
main table.sb td.right{
	text-align:right;
}
main table.sb th.left,
main table.sb td.left{
	text-align:left;
}
main table.sb th:first-child,
main table.sb td:first-child{
	padding-left:0.5rem;
}
main table.sb + p > a:nth-child(2){
	padding-left:5.0rem;
}
main input{
	width:5.0rem;
}
main .dc{
	padding-top:3.75%;
}

/*--- footer ---*/
footer{
    position: relative;
    margin:2.5% 2.5% 1.25%;
}
footer div:nth-child(2){
    width:15%;
    margin:2.5% auto;
}
footer div ul{
    padding-top:0.5em;
}
footer div ul li{
    display:inline;
}
footer div ul li a{
    padding: 0 0.5em;
    line-height: 1.5em;
    color:#5b6f6e;
    white-space: nowrap;
}
footer p{
    width:auto;
    padding-top: 0.5em;
}
footer div a{
    color: #ad433e;
}