/*
	Theme Name: Popina
	Theme URI: https://wpdedicated.uk
	Description: Hand Crafted theme
	Version: 1.7
	Author: Ben Kitching
	Author URI: https://benkitching.uk
	Tags: Blank, HTML5, CSS3

	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

@view-transition {
  navigation: auto;
}

:root {
  --beige: #dfddd0;
  --pure-white: #fff;
  --delicate-white: #f2f2ee;
  --cloud-white: #f9f9f7;
  --peach: #ffcfaa;
  --greek: #2c48ec;
  --bunny-tail: #ffe5f5;
  --raven: #0a0a0c;
  --yellow: #ffcd13;
  --grey: #9d9d9e;
  --error: #ff0033;
  --wp--preset--font-size--small: 1.4rem;
  --wp--preset--font-size--x-small: 1.2rem;
}

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}

html {
	font-size: 1vw;
	margin: 0;
	padding: 0;
	overflow-x: clip;
	-webkit-tap-highlight-color: transparent;
}

@media (min-width: 1921px) {
	html {
		font-size: 19px;
	}
}

body {
	font: normal 1.4rem/1.2 'Lexend', Arial, sans-serif;
	letter-spacing: -1px;
	color: var(--raven);
	margin: 0;
	padding: 0;
	max-width: 100vw;
	overflow-x: clip;
	background-color: var(--delicate-white);
}
body.wp-theme-popina:not(.wp-admin) {
	cursor: none;
}

body.burger {
	overflow: hidden;
}

/* clear */
.clear: before,
.clear: after {
    content: ' ';
    display: table;
}

.clear:after {
    clear: both;
}

img {
	max-width: 100%;
	vertical-align: bottom;
}

/*------------------------------------*\
    LINKS
\*------------------------------------*/

a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 8px;
	text-decoration-thickness: 1px;
	transition: 0.5s all;
	cursor: none;
}

a:hover {
	text-decoration: none;
}

a:focus {
	outline: 0;
}

a:hover,
a:active {
	outline: 0;
}

a.no-decoration {
	text-decoration: none;
}

a.svg-link svg {
	height: 1rem;
	width: auto;
	margin-left: 0.5rem;
}

.btn, .wc-block-components-button, .woocommerce ul.products li.product a.add_to_cart_button, .woocommerce div.product form.cart .button.single_add_to_cart_button, .woocommerce .woocommerce-message .button {
	font-size: 1rem;
	padding: 0.75rem 1.5rem 0.75rem 1.5rem;
	border: 2px solid var(--beige);
	background-color: var(--beige);
	border-radius: 3rem;
	display: inline-flex;
	text-decoration: none;
	min-width: 10rem;
	justify-content: space-between;
	align-items: center;
	transition: 0.5s all !important;
}

.btn.adding{
	pointer-events: none;
}

.btn:hover {
	text-decoration: none !important;
}

.btn svg {
	height: 0.75rem;
	width: auto;
	margin-left: 0.5rem;
	transition: 0.5s transform;
	will-change: transform;
}

.btn:hover svg {
	transform: translateX(0.5rem);
}

.btn-arrow {
	transition: 0.5s fill;
}
.btn.btn-host {
	color: var(--grey);
}
.btn.btn-host .btn-arrow {
	fill: var(--grey);
}
.btn.btn-white, .btn.btn-host {
	background-color: var(--pure-white);
	border-color: var(--pure-white);
}
.btn.btn-peach {
	color: var(--raven);
	background-color: var(--peach);
	border-color: var(--peach);
}
.btn.btn-peach .btn-arrow {
	fill: var(--raven);
}

.btn.btn-raven, .wc-block-components-button, .woocommerce ul.products li.product a.add_to_cart_button, .woocommerce div.product form.cart .button.single_add_to_cart_button {
	background-color: var(--raven);
	border-color: var(--raven);
	color: var(--delicate-white);
}
.woocommerce ul.products li.product a.add_to_cart_button, .woocommerce div.product form.cart .button.single_add_to_cart_button, .woocommerce .woocommerce-message .button {
	justify-content: center;
}
.btn.btn-raven .btn-arrow {
	fill: var(--delicate-white);
}

.btn.btn-greek {
	color: var(--pure-white);
	background-color: var(--greek);
	border-color: var(--greek);
}
.btn.btn-greek .btn-arrow, .text-delicate .btn {
	fill: var(--pure-white);
}

.btn-outline {
	border-color: inherit;
	background-color: transparent;
}

.wc-block-components-button:hover, .woocommerce ul.products li.product a.add_to_cart_button:hover {
	background-color: transparent;
	color: var(--raven);
	border-color: var(--raven);
}
.btn.btn-filter {
	padding: 0.75rem 1.5rem;
	margin: 0 0.5rem 0.5rem 0;
	justify-content: center;
	min-width: unset;
}
.btn-filter:hover, .btn-filter.active {
	background-color: var(--raven);
	color: var(--delicate-white);
}

.nav-buttons {
	position: relative;
	z-index: 2;
	flex-grow: 1;
	display: flex;
	justify-content: flex-end;
	align-items: center;
}
.nav-buttons .btn {
	margin-left: 1rem;
}

.fades, .accordion-inner {
  transition: transform 1s ease-out, opacity 1s ease;
  transition-delay: 0.2s;
  will-change: transform;
}
.fadeup, .accordion-inner {
  transform: translateY(2rem);
  opacity: 0;
}

/*------------------------------------*\
    WOO
\*------------------------------------*/

.woocommerce-page main {
	padding-top: 12rem;
}
a.wc-block-components-product-name {
	text-decoration: none;
}
#wc-guest-checkout-notice {
	display: none;
}
.wc-block-checkout__terms {
	font-size: var(--wp--preset--font-size--x-small);
}

#header-cart {
	position: relative;
	display: inline-block;
	margin-right: 1rem;
}
#header-cart svg {
	width: 2.2rem;
	height: auto;
}
.header-cart {
	display: none;
	position: absolute;
	display: block;
	bottom: 0.5rem;
	left: 50%;
	transform: translateX(-50%);
	font-size: 1rem;
}

.cart #header-cart, .checkout #header-cart {
	display: none;
}

.wc-block-checkout__sidebar {
    top: 8rem;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

main {
	padding-top: 7rem;	
}

.block {
	width:100%;
	position: relative;
}

.wrapper, .alignwide {
	width: calc(100% - 8rem);
	margin: 0 auto;
	position: relative;
}
.wrapper.wide {
	width: calc(100% - 4rem);
}
.wrapper.thin {
	width: calc(100% - 50rem);
}

.logo {
	width: 8rem;
}

.logo img {
	height: auto;
	width: 100%;
}

#header {
	position: fixed;
	background: transparent;
	width: 100%;
	top:0;
	left: 0;
	z-index: 99;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-right: 1rem;
	background-color: rgba(255, 255, 255, 0.8);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

#header .logo {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 3;
}

.outer-nav {
	background-color: var(--beige);
	width: fit-content;
	padding: 2rem;
	position: relative;
	z-index: 2;
}

#header .nav {
	position: fixed;
	top: 0;
	left: 0;
	width: 8rem;
	height: 6.8rem;
	overflow: hidden;
	background: var(--beige);
	transition: 0.5s width, 0.5s height;
	will-change: width, height;
}

.nav-menu {
	padding: 8rem;
	text-align: center;
	display: none;
	height: 100%;
}

.nav-menu ul {
	list-style-type: none;
	padding: 0;
}

.nav-menu li {
	margin: 1rem 0;
}

.nav-menu a {
	font-size: 2.4rem;
	text-transform: uppercase;
	text-decoration: none;
	text-underline-offset: 8px;
	transition: 0s;
}
.nav-menu a:hover {
	text-decoration: underline;
	font-family: 'Plantin', serif;
	font-style: italic;
	text-transform: none;
	text-decoration-thickness: 1px;
	transition: 0s;
}

#cookie-consent {
	position: fixed;
	z-index: 2;
	bottom: 1rem;
	right: 1rem;
	background-color: var(--raven);
	color: var(--cloud-white);
	border-radius: 1rem; 
	height: 0;
	overflow: hidden;
	transition: 0.5s height;
}
#cookie-consent-inner {
	padding: 1rem 2rem;
}

#cookie-consent.show {
	height: 16rem;
}

#cookie-consent .btn {
	justify-content: center;
}

.footer {
	font-size: 1.2rem;
}

.footer a {
	text-decoration: none;
}
.footer a:hover {
	text-decoration: underline;
}

.footer .wrapper {
	display: flex;
	width: 100%;
}
.footer-left {
	width: 60%;
	display: flex;
}
.footer-right {
	width: 40%;
}
.footer-contact {
	min-width: 50%;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
.footer-col {
	width: min-content;
}
.footer-col a {
	white-space: nowrap;
}
.footer-nav  {
	padding-right: 4rem;
}
.footer-address {
	margin-bottom: 0.5rem;
}
p.footer-google, .footer-buttons {
	margin-top: 0;
	margin-bottom: 2rem;
}
.footer-buttons a.btn {
	margin-right: 0.5rem;
	text-decoration: none !important;
}
.footer-rating {
	display: flex;
	align-items: center;
}
.footer-rating svg {
	height: 2.4rem;
	width: auto;
	fill-rule:evenodd;
	clip-rule:evenodd;
	stroke-linejoin:round;
	stroke-miterlimit:2;
	margin-right: 1rem;
}
.footer-terms {
	width: 150%;
	position: relative;
	z-index: 2;
}
.footer-terms span {
	margin: 0 0.5rem;
}
.footer-col ul {
	list-style-type: none;
	margin: 2rem 0;
	padding: 0;
	font-family: 'Plantin', serif;
	font-size: 1.6rem;
}
.footer-top h2 {
	font-size: 3.2rem;
	margin-bottom: 2rem;
}
.footer-top .h3 {
	font-size: 2.4rem;
}
.footer-info p:last-child {
	margin-bottom: 0;
}
#mailchimp-wrapper {
	position: relative;
}
#mailchimp-signup {
	position: absolute;
	opacity: 0;
	transition: 0.5s opacity;
}
#mailchimp-signup label {
	visibility: hidden;
	position: absolute;
}
#mailchimp-wrapper input[type=email] {
	width: 20rem;
	border-radius: 2rem;
	outline: none;
	border: none;
	font-size: 1rem;
	padding: 0.75rem 1.5rem 0.75rem 1.5rem;
}
.signup a.btn {
	position: absolute;
	opacity: 0;
}
.signup #mailchimp-signup {
	position: relative;
	opacity: 1;
}
.form-error-text {
	color: var(--error);
}
#mailchimp-signup input {
	cursor: none;
}

.footer-social .svg-link {
	display: flex;
	align-items: center;
	margin-bottom: 0.5rem;
}

.footer-social .svg-link svg {
	width: 2rem;
	height: auto;
	margin-right: 1rem;
	margin-left: 0;
	position: relative;
	top: -0.2rem;
}

/*------------------------------------*\
    Hamburger
\*------------------------------------*/

.burger {
	overflow: hidden;
}
#burger {
	display: flex;
	justify-content: space-around;
	flex-direction: column;
	border: none;
	background-color: transparent;
	height: 3rem;
	position: relative;
}
#burger:hover #burger-bottom {
	width: 4rem;
}
.burger-line {
	background-color: var(--raven);
	width: 4rem;
	height: 0.25rem;
	border-radius: 0.5rem;
	transition: 0.5s all;
	transform-origin: center bottom;
	will-change: transform, opacity;
}
#burger-bottom {
	width: 3rem;
}
#burger-middle-two {
	position: absolute;
	top: 1.375rem;
	left: 0.25rem;
}
#burger-top, #burger-bottom {
	transition: opacity 0s, width 0.5s, background-color 1s 0.25s;
}
.burger #burger-top, .burger #burger-bottom {
	opacity: 0;
	background-color: var(--beige);
}

.burger #burger-middle {
	transform: rotate(45deg);
}
.burger #burger-middle-two {
	transform: rotate(-45deg);
}

.burger #header .nav {
	width: 100vw;
	height: 100vh;
}

/*------------------------------------*\
    Cursor
\*------------------------------------*/

.cursor {
  position: fixed;
  opacity: 0;
  pointer-events: none;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: var(--yellow);
  transition: transform 350ms ease;
  transform: translate(-50%, -50%) scale(.5);
  z-index: 1000;
}
.cursor-link {
  transform: translate(-50%, -50%) scale(1);
}
button, a.wp-element-button {
	cursor: none !important;
}

/*------------------------------------*\
    Colors
\*------------------------------------*/

.svg-path {
	fill: var(--raven);
}
.svg-negative {
	fill: var(--delicate-white);
}

.text-delicate {
	color: var(--delicate-white);
}
.text-grey {
	color: var(--grey);
}
.text-raven {
	color: var(--raven);
}

.bg-pure {
	background-color: var(--pure-white);
}
.bg-cloud {
	background-color: var(--cloud-white);
}
.bg-raven {
	background-color: var(--raven);
}
.bg-beige {
	background-color: var(--beige);
}

/*------------------------------------*\
	MISC
\*------------------------------------*/

::selection {
	background: #000;
	color: #fff;
	text-shadow: none;
}
::-webkit-selection {
	background: #000;
	color: #fff;
	text-shadow: none;
}
::-moz-selection {
	background: #000;
	color: #fff;
	text-shadow: none;
}

/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

p {
	margin: 1rem 0;
}

h1, .h1, h2, .h2, h3, .h3, h4, h5, h6 {
	margin:1rem 0;
	font-weight: normal;
	line-height: 1;
}

.large-text {
	font-size: 4rem;
}

h1, .h1 {
	font-size: 2.6rem;
}

h2, .h2 {
	font-size: 2.4rem;
}

h3, .h3 {
	font-size: 1.8rem;
}

h4, .h4 {
	font-size: 1.6rem;
}

h5, .h5 {
	font-size: 1.4rem;
}
h6, .h6 {
	font-size: 1.2rem;
}

.plantin {
	font-family: 'Plantin', serif;
}

.text-center {
	text-align: center;
}
.text-right {
	text-align: right;
}
.text-upper {
	text-transform: uppercase;
}

@font-face {
    font-family: 'Lexend';
    src: url('./fonts/subset-Lexend-Bold.woff2') format('woff2'),
        url('./fonts/subset-Lexend-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lexend';
    src: url('./fonts/subset-Lexend-Regular.woff2') format('woff2'),
        url('./fonts/subset-Lexend-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Plantin';
    src: url('./fonts/plantin-pro-light.woff2') format('woff2'),
        url('./fonts/plantin-pro-light.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Plantin';
    src: url('./fonts/plantin-pro-light-italic.woff2') format('woff2'),
        url('./fonts/plantin-pro-light-italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

/*------------------------------------*\
    Global
\*------------------------------------*/

.breadcrumbs {
	font-size: 1rem;
	margin: 0;
	padding: 2rem 0;
}
.breadcrumbs a {
	margin: 0 0.5rem;
}
.breadcrumbs a:first-child {
	margin-left: 0;
}


.buttons {
	display: flex;
	justify-content: center;
	align-items: center;
}
.buttons .btn {
	margin: 0 1rem;
}

.fixed-image {
	position: relative;
	clip-path: inset(0);
}
.fixed-image img, .fixed-image video {
	position: fixed;
	top: 0;
	left: 0;
}

.fixed-image.h100 {
	height: 56rem 
}

.fixed-image.h75 {
	height: 48rem;
}

.fixed-image.h50 {
	height: 40rem;
}

.border-bottom {
	border-bottom: 1px solid;
}
.border-top {
	border-top: 1px solid;
}

.w100 {
	width: 100%;
}
.w75 {
	width: 75%;
}
.w50 {
	width: 50%;
}
img.w100, svg.w100 {
	height: auto;
}

.h100 {
	height: 56rem;
}
.h75 {
	height: 48rem;
}
.h50 {
	height: 40rem;
}

.boxed-img {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
}
/* Hero Image / Full Bleed Image background video (popina_block_video) */
video.block-video {
	display: block;
}

.relative {
	position: relative;
}

.absolute {
	position: absolute;
}
.absolute.top {
	top: 4rem;
	left: 4rem;
	width: calc(100% - 8rem);
}
.absolute.bottom {
	bottom: 4rem;
	left: 4rem;
	width: calc(100% - 8rem);
}
.absolute.center {
	width: 100%;
	height: max-content;
	top: 50%;
	transform: translateY(-50%);
}

.full-bleed-image .absolute.center {
	width: calc(100% - 8rem);
	left: 4rem;
}

#genp {
	margin: 4rem 0;
}

#genp .w75 {
	width: 100%;
	padding-right: 4rem;
}
#genp .h3 {
	margin-bottom: 0;
}
#genp .h1 {
	margin-top: 0;
	margin-bottom: 2rem;
}


/*------------------------------------*\
    Spacing and Grid
\*------------------------------------*/

.halves {
	display: grid;
	grid-column-gap: 2rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	width: 100%;
}
.thirds {
	display: grid;
	grid-column-gap: 2rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	width: 100%;
}
.quarters {
	display: grid;
	grid-column-gap: 1rem;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	width: 100%;
}

.flex {
	display: flex;
}

.flex.wrap {
	flex-wrap: wrap;
}

.flex.between {
	justify-content: space-between;
}

.no-gap {
	grid-column-gap: 0;
}

.pt0 {
	padding-top: 1px;
}
.pt2 {
	padding-top: 2rem;
}
.pt4 {
	padding-top: 4rem;
}
.pb0 {
	padding-bottom: 1px;
}
.pb2 {
	padding-bottom: 2rem;
}
.pb4 {
	padding-bottom: 4rem;
}
.pb16 {
	padding-bottom: 16rem;
}

.p4 {
	padding: 4rem;
}

.py2 {
	padding-top: 2rem;
	padding-bottom: 2rem;
}

.m0 {
	margin: 0;
}
.mt0 {
	margin-top: 0 !important;
}
.mb2 {
	margin-bottom: 2rem;
}
.mt2 {
	margin-top: 2rem;
}
.mt4 {
	margin-top: 4rem;
}
.ml-auto {
	margin-left: auto;
}

.pull-up .wrapper {
	transform: translateY(-14rem);
	margin-bottom: -14rem;
}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

.sfs {
	display: none;
}

@media (orientation: portrait) {

	html {
		font-size: 1vw;
	}

	.hfs {
		display: none;
	}
	.sfs {
		display: block;
	}

}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}