/*
Theme Name: C'Sucré Flex Theme
Theme URI: https://www.c-sucre.com/
Description: The theme made for the C'Sucré shop.
Author: Jason Quartz
Author URI: https://www.jasonquartz.com/
Version: 1.0.0
Text Domain: csucre-flex-theme
Tags: one-column, two-columns, right-sidebar, left-sidebar, full-width-template, custom-background, custom-colors, custom-header, custom-menu, featured-images, threaded-comments, translation-ready
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.html
*/

@charset "UTF-8";
@import 'css/normalize.css';

/*
=========================================================
BASE
=========================================================
*/

html, body {
	width: 100%;
	height: 100%;
	line-height: 1;
}

body {
	background: #fff;
	color: #999;
	font-family: 'Roboto', sans-serif;
	font-size: 1.25rem;
	font-weight: 300;
	letter-spacing: 1px;
}

a {
	color: #7B6865;
	font-size: 1.25rem;
	font-weight: 400;
	text-decoration: none;
	transition: color .35s, background .35s, border-color .35s;
}
a:hover {
	text-decoration: underline;
}

h1, h2, h3, h4, h5, h6,
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
	font-family: 'Oswald', sans-serif;
	font-weight: 400;
	color: #7B6865;
	margin: 0;
	padding: 0;
}
h1 a:hover, h2 a:hover, h3 a:hover,
h4 a:hover, h5 a:hover, h6 a:hover {
	text-decoration: none;
	color: #CEA714;
}
h1, h2, h3, h4, h5, h6 {
	letter-spacing: 1px;
}
h1, h1 a {
	font-size: 2.5rem;
}
h2, h2 a {
	font-size: 2rem;
}
h3, h3 a {
	font-size: 1.5rem;
}
h4, h4 a {
	font-size: 1.25rem;
}
h5, h5 a {
	font-size: 1rem;
}
h6, h6 a {
	font-size: .85rem;
}

p {
	line-height: 1.7;
	margin: 0;
	margin-top: 16px;
}
p:empty {
	display: none;
}

ul, ol {
	margin: 0;
	padding: 0;
}

img {
	border: none;
}

input, textarea, select, option {
	box-sizing: border-box;
	width: auto;
	height: auto;
	padding: 10px 12px;
	font-family: 'Roboto', sans-serif;
	font-weight: 300;
	color: #999;
	border: 1px solid #E5D8D6;
	border-radius: 2px;
}
input[type=submit] {
	background: transparent;
	padding: 8px 12px;
	cursor: pointer;
}
input[type=submit]:hover {
	background: #7B6865;
	color: #fff;
}
::-webkit-input-placeholder {
	font-size: 1rem;
	color: #aeaeae;
	line-height: normal;
}
:-moz-placeholder { /* Firefox 18- */
	font-size: 1rem;
	color: #aeaeae;
	line-height: normal;
}
::-moz-placeholder {  /* Firefox 19+ */
	font-size: 1rem;
	color: #aeaeae;
	line-height: normal;
}
:-ms-input-placeholder {
	font-size: 1rem;
	color: #aeaeae;
	line-height: normal;
}

::selection {
	background: #1C1918;
	color: #fff;
}

.clear {
	clear: both;
}

.wrapper {
	margin: 0 auto;
	width: 88%;
	max-width: 1400px;
}
.container {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	width: 100%;
}

.center-text {
	text-align: center;
}


/*
=========================================================
HEADER LOGO MENU CART LANGUAGE SWITCHER
=========================================================
*/

#header {
	width: 100%;
	height: 96px;
	background: #fff;
	border-bottom: 1px solid #F3F2F0;
}

#header .container {
	align-items: center;
	height: 96px;
}

.header-logo {
	width: 130px;
	height: auto;
}

.header-right {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 144px;
}

#menu-bars {
	margin-top: 2px;
	color: #7B6865;
	font-size: 1.6rem;
	cursor: pointer;
}

#cart-icon-area {
	cursor: pointer;
}
#cart-icon {
	position: relative;
	float: left;
	color: #7B6865;
	font-size: 1.6rem;
	padding-right: 4px;
	pointer-events: none;
}
#cart-count {
	position: relative;
	float: right;
	font-size: .9rem !important;
	font-weight: 700;
	color: #7B6865;
	pointer-events: none;
}
#cart-icon:hover,
#cart-count:hover {
	text-decoration: none;
}

.wpml-ls-legacy-list-horizontal {
	clear: none;
	padding: 0;
	border: none;
	text-transform: uppercase;
}
.wpml-ls-legacy-list-horizontal a {
	font-family: 'Oswald', sans-serif;
	font-size: 1.5rem;
	font-weight: 700;
}
.wpml-ls-legacy-list-horizontal a:hover {
	text-decoration: none;
	color: #7c3e5f;
}
.wpml-ls-legacy-list-horizontal a span {
	vertical-align: initial;
}

#menu {
	display: none;
	z-index: 101;
	position: absolute;
	right: 0;
	top: 65px;
	width: 320px;
	height: auto;
	background: #fff;
	border: 1px solid #E5D8D6;
}
#menu ul {
	display: flex;
	flex-direction: column;
	width: 80%;
	margin: 16px 10%;
	padding: 0;
	list-style-type: none;
}
#menu ul li {
	width: 100%;
	border-bottom: 1px solid #E5D8D6;
}
#menu ul li:last-of-type {
	border-bottom: none;
}
#menu ul li a {
	display: block;
	width: 100%;
	padding: 20px 28px;
	background: transparent;
	font-weight: 700;
	font-size: .8rem;
	text-transform: uppercase;
	text-align: right;
	letter-spacing: 1px;
	color: #7B6865;
	text-decoration: none;
}
#menu ul li.menu-item-has-children.closed a::after {
	content: ' +';
}
#menu ul li.menu-item-has-children.open a::after {
	content: ' -';
}
#menu ul li.menu-item-has-children.closed ul li a::after {
	content: '';
}
#menu ul li.menu-item-has-children.open ul li a::after {
	content: '';
}
#menu ul li a:hover {
	background: #F9F3F3;
	text-decoration: none;
}

#menu ul li ul {
	display: none;
	margin: 0;
	width: 100%;
	border-top: 1px solid #E5D8D6;
}
#menu ul li ul li a {
	font-size: .7rem;
	font-style: italic;
	padding-right: 44px;
}

@media screen and (max-width: 360px) {
	#menu {
		width: 100%;
	}
}

#cart-preview {
	display: none;
	z-index: 101;
	position: absolute;
	right: 0;
	top: 65px;
	width: 320px;
	height: auto;
	background: #fff;
	border: 1px solid #E5D8D6;
}
#cart-preview ul {
	display: flex;
	flex-direction: column;
	width: 80%;
	margin: 16px 10%;
	padding: 0;
	list-style-type: none;
}
#cart-preview ul li {
	width: 100%;
	border-bottom: 1px solid #E5D8D6;
}
#cart-preview ul li:last-of-type,
#cart-preview ul li:nth-last-of-type(2) {
	border-bottom: none;
}
#cart-preview ul li .cart-preview-item,
#cart-preview ul li a {
	display: block;
	width: 100%;
	padding: 20px 28px;
	background: transparent;
	font-weight: 700;
	font-size: .8rem;
	text-transform: uppercase;
	text-align: right;
	letter-spacing: 1px;
	color: #7B6865;
	text-decoration: none;
}
#cart-preview ul li a {
	background: #7c3e5f;
	text-align: center;
	color: #fff;
}
#cart-preview ul li a:hover {
	background: #934f73;
	text-decoration: none;
}
.cart-preview-name {
	display: block;
}
.cart-preview-quantity-price {
	display: block;
	color: #999;
	font-weight: 400;
	text-transform: none;
	margin-top: 6px;
}

@media screen and (max-width: 360px) {
	#cart-preview {
		width: 100%;
	}
}


/*
=========================================================
HERO IMAGE
=========================================================
*/
.hero-image {
	display: flex;
	width: 100%;
	background: url(img/cupcakesbackground.png);
	background-size: cover;
	background-repeat: no-repeat;
}
.hero-image-text-area {
	display: flex;
	flex-direction: column;
	width: calc(50% + 108px);
	padding: 96px 108px;
}
.hero-image-text-area-inner-page {
	padding: 56px 0;
}
.hero-image-text-area h1,
.hero-image-text-area-inner-page h1 {
	color: #fff;
	text-transform: uppercase;
}
.hero-image-brief {
	margin-top: 48px;
	color: #fff;
	line-height: 1.7;
}
.hero-image-brief a {
	color: #fff;
	font-weight: 300;
	text-decoration: underline;
}
.hero-image-button {
	display: block;
	align-self: flex-start;
	margin-top: 48px;
	padding: 16px 28px;
	background-color: #DABFBA;
	color: #1C1918;
	border-radius: 2px;
	font-family: 'Oswald', sans-serif;
	font-weight: 400;
}
.hero-image-button:hover {
	background-color: #E5CCC8;
	text-decoration: none;
}
@media screen and (max-width: 1200px) {
	.hero-image-text-area {
		width: calc(70% + 108px);
	}
}
@media screen and (max-width: 1000px) {
	.hero-image-text-area {
		width: 100%;
	}
}
@media screen and (max-width: 700px) {
	.hero-image-text-area {
		padding: 96px 0;
	}
}


/*
=========================================================
PANELS
=========================================================
*/

.csucre-panel {
	display: flex;
	width: 100%;
	padding: 96px 0;
}
.small-panel {
	padding: 0;
}
.csucre-panel.white-panel {
	background-color: #fff;
}
.csucre-panel.white-text,
.csucre-panel.white-text h1,
.csucre-panel.white-text h2,
.csucre-panel.white-text h3,
.csucre-panel.white-text h4,
.csucre-panel.white-text h5,
.csucre-panel.white-text h6,
.csucre-panel.white-text h1 a,
.csucre-panel.white-text h2 a,
.csucre-panel.white-text h3 a,
.csucre-panel.white-text h4 a,
.csucre-panel.white-text h5 a,
.csucre-panel.white-text h6 a {
	color: #fff;
}
.csucre-panel.black-panel {
	background-color: #111;
}
.csucre-panel.gray-panel {
	background-color: #fafafa;
}
.csucre-panel.brown-panel {
	background-color: #F9F3F3;
}



/*
=========================================================
JUMP BOXES
=========================================================
*/

.jumpboxes,
.jumpboxes ul {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	width: 100%;
}
.jumpboxes ul li {
	display: flex;
	justify-content: space-between;
	width: 45%;
	margin-top: 32px;
	margin-bottom: 32px;
	list-style-type: none;
}
.jumpboxes ul li .icon-area {
	width: 108px;
	font-size: 4rem;
	color: #DABFBA;
}
.jumpboxes ul li .text-area {
	display: flex;
	flex-direction: column;
	width: calc(100% - 108px);
}
.jumpboxes ul li .text-area-title {
	font-weight: 700;
	margin-bottom: 12px;
	text-transform: uppercase;
	color: #7B6865;
}
.jumpboxes ul li .text-area-text {
	font-size: 1rem;
	line-height: 1.5;
}
@media screen and (max-width: 900px) {
	.jumpboxes ul li {
		width: 100%;
	}	
}



/*
=========================================================
WOOCOMMERCE
=========================================================
*/

.woo-items {
	display: flex;
	flex-direction: column;
	width: 100%;
}
.woo-items p {
	margin: 28px 0 56px;
}
.woo-items .woocommerce a.added_to_cart {
	margin-left: 12px;
}

.csucre-woocommerce-container {
	flex-direction: column;
	flex-wrap: initial;
	justify-content: initial;
}


/*
=========================================================
FOOTER
=========================================================
*/

#footer {
	display: flex;
	width: 100%;
	background: #7c3e5f;
	color: #fff;
	padding: 30px 0;
}

#footer .container {
	align-items: center;
}

.footer-logo {
	width: 96px;
	height: auto;
}
.footer-copyright {
	font-size: .8rem;
	text-transform: uppercase;
	font-weight: 400;
}
@media screen and (max-width: 648px) {
	#footer .container {
		flex-direction: column;
	}	
	.footer-copyright {
		margin-top: 24px;
	}
}


