/*
Theme Name: Coffee.dp.ua mk2
Author: Kostohlod A.
*/

/* Reorganized for maintainability. Rule values are preserved. */

/* ========================================================================
   01. BASE / LAYOUT
   ======================================================================== */
html, body {
	background-color: #fdfcf9;
	position: relative;
	height: 100%;
}

body.page-template-default,
body.page-template-page-discounts {
	display: flex;
	flex-direction: column;
}

#primary {
	max-width: 1280px;
	margin: 0 auto;
}

section.content, div#primary {
	flex: 1 0 auto;
}

section.disqus {
	min-height: 100%;
}

section.content {
	flex: 1 0 auto;
}

/* ========================================================================
   02. TYPOGRAPHY / TEXT
   Text helpers and non-heading typography
   ======================================================================== */
.text-white {
	color: #fff;
}

#demo {
	font-size: 2rem;
	font-weight: bold;
}

span.subheading {
	font-weight: bold;
	text-transform: uppercase;
	display: block;
}

.text-light {
	color: #fff;
}

.text-dark {
	color: #8a4e00;
}

span.counter {
	font-size: 3rem;
	font-weight: bold;
}

.dark {
	color: #444;
}

.light {
	color: #fff;
}

.blockquote {
	font-size: 1rem;
	margin-bottom: 2rem;
}

/* ========================================================================
   03. HEADINGS
   General site headings; WooCommerce headings are kept in WooCommerce section
   ======================================================================== */
h1.page-heading {
	color: #204d48;
	text-align: center;
	font-weight: bold;
	font-size: 2rem;
	margin-bottom: 1rem;
	width: 100%;
}

h2.mainpage {
	text-align: center;
	font-size: 2rem;
	padding-bottom: 1rem;
}

h1.h1-main {
	text-align: center;
	font-weight: bold;
	text-transform: uppercase;
	font-size: 1.5rem;
	margin-bottom: 1.5rem;
	color: #2d5201;
}

h2 {
	font-weight: bold;
	font-size: 1.1rem;
}

div#comments h2 {
	color: rgb(153, 51, 0);
}

h3 {
	text-align: center;
	font-weight: bold;
	text-transform: uppercase;
	font-size: 1.2rem;
	margin-bottom: 2rem;
}

h3.discounts {
	color: #fff;
}

h3.widget-title {
	font-weight: bold;
	text-transform: uppercase;
	font-size: 1.2rem;
	color: #2d5201;
	text-align: left;
	margin-bottom: 0;
}

/* ========================================================================
   04. LISTS
   ======================================================================== */
ul.list-blue {
	padding-left: 1rem;
	padding-top: 0.5rem;
	list-style: none;
}

ul.list-blue li {
	background-image: url("img/list-blue.svg");
	background-repeat: no-repeat;
	background-position: 0 8px;
	padding-left: 2rem;
}

ul {
	list-style: none;
	padding-left: 0;
}

ul.list li {
	padding-bottom: 0.5rem;
	font-weight: bold;
	text-transform: uppercase;
}

ul.list > li::before {
	content: "";
	background: url(img/check.png) no-repeat;
	top: 6px;
	left: 0;
	width: 14px;
	height: 14px;
	display: inline-block;
	margin-right: 0.5rem;
}

/* ========================================================================
   05. WORDPRESS CORE
   Alignment, captions and accessibility helpers
   ======================================================================== */
.comment {
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
}

.comment span.badge-success {
	margin-bottom: 1rem;
}

.even {
	background-color: #fccc4c3d;
}

.alignnone {
	margin: 0;
}

.aligncenter,
div.aligncenter {
	display: block;
	margin: 5px auto 5px auto;
}

.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

.alignleft {
	float: left;
	margin: 10px;
}

a img.alignright {
	float: right;
	margin: 10px;
}

a img.alignnone {
	margin: 10px;
}

a img.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	background: #fff;
	border: 1px solid #f0f0f0;
	max-width: 96%;
	padding: 5px 3px 10px;
	text-align: center;
}

.wp-caption.alignnone {
	margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
	margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
	margin: 5px 0 20px 20px;
}

.wp-caption img {
	border: 0 none;
	height: auto;
	margin: 0;
	max-width: 98.5%;
	padding: 0;
	width: auto;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	margin: 0;
	padding: 0 4px 5px;
}

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* ========================================================================
   06. PAGE SECTIONS / CONTENT
   ======================================================================== */
#left_sidebar {
	margin-top: 1rem;
}

.mobile-fallback-img {
	display: none;
}

.mainpage-block {
	padding-top: 30px;
	padding-bottom: 30px;
}

section {
	background-position: top center;
}

.carousel-indicators li {
	background-color: #B0B0B0;
}

.carousel-indicators .active {
	background-color: #000;
}

.cell-text {
	font-size: 1rem;
	color: #fff;
}

.cell-text h5 {
	font-weight: bold;
	font-size: 1.2rem;
}

.stats {
	color: #5a3e26;
	font-weight: bold;
}

.discounts li.sale {
	border-radius: 5px;
	background-color: #fff;
}

.discounts li.sale img {
	border-radius: 0;
	border: none !important;
}

section.page-content {
	padding-top: 1rem;
	flex: 1 0 auto;
}

article {
	width: 100%;
}

p.form-allowed-tags {
	display: none;
}

.comment-respond {
	width: 100%;
}

.cell-head-red {
	background-color: #D92222;
	padding-top: 0.8rem;
	padding-bottom: 0.8rem;
	margin-bottom: 1rem;
}

.cell-head-red h3 {
	margin-bottom: 0px;
}

/* ========================================================================
   07. HEADER / NAVIGATION
   ======================================================================== */
.navbar {
	padding-top: 0;
	padding-bottom: 0;
	padding-left: 1rem;
	padding-right: 1rem;
}

a.navbar-brand {
	color: #fff;
	transition: 0.3s;
}

a.navbar-brand:hover {
	color: #fff;
	color: #fbb02c;
}

header .navbar-text {
	text-transform: uppercase;
	font-size: 1rem;
	margin-right: 1rem;
}

header .navbar-text img {
	padding: 2px;
	padding-bottom: 4px;
}

.custom-toggler.navbar-toggler {
	border-color: white;
}

.custom-toggler .navbar-toggler-icon {
	background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 0.8)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

header.main-header {
	background-color: #204d48;
	color: #fff;
	transition: background 1s ease;
}

header .menu {
	padding-top: 15px;
}

.navbar-nav .nav-link {
	padding-right: .5rem;
	padding-left: .5rem;
}

header li a {
	padding-top: 7px !important;
	padding-bottom: 7px !important;
	color: #fff;
	transition: 0.3s;
}

header.dark-header li a {
	padding-top: 7px !important;
	padding-bottom: 7px !important;
	color: #000;
}

.link-white {
	color: #fff !important;
}

header li a:hover {
	color: #fbb02c;
}

header li.active a {
	color: #fff;
}

header li.active a:hover {
	color: #fff;
}

header li.active {
	background: #ff7800;
	border-radius: 3px;
}

.header-top {
	color: #fff;
	background-color: #000;
	text-transform: uppercase;
	font-size: 1rem;
	font-weight: bold;
	padding-top: 5px;
	padding-bottom: 5px;
}

.header-top a {
	color: #fff;
	padding-right: 0.25rem;
	padding-left: 0.25rem;
}

.logo-text {
	display: inline-block;
	margin-top: 0.5rem;
	margin-bottom: 0.5rem;
}

/* ========================================================================
   08. SLIDER / CAROUSEL
   ======================================================================== */
.swiper-container {
	width: 100%;
	height: 600px;
}

.swiper-slide {
	color: #fff;
	display: -webkit-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	-webkit-align-items: center;
	align-items: center;
	height: auto;
}

.slide-inner-content {
	color: #FFF;
}

.slide-inner-content .btn-primary {
	color: #fff;
	background-color: #ffffff24;
	border-color: #dfe0e1;
}

.slide-inner-content .btn-primary:hover {
	background-color: #62626224;
}

.slide-inner-content .btn-primary:focus {
	box-shadow: none;
}

.swiper-button-n, .swiper-button-p {
	width: 27px;
	height: 44px;
	z-index: 10;
	cursor: pointer;
	background-size: 27px 44px;
	background-position: center;
	background-repeat: no-repeat;
}

.swiper-button-p, .swiper-button-n {
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23007aff'%2F%3E%3C%2Fsvg%3E");
}

.swiper-pagination-bullet-active {
	opacity: 1;
	background: #fff;
}

.swiper-pagination-bullet {
	width: 24px;
	height: 24px;
	background: #FFF;
	border-radius: 0;
}

.slider-wrapper {
	min-height: 760px;
}

.slide-inner-content h1 {
	font-size: 4rem;
	font-weight: bold;
}

.sale-product h2 {
	font-weight: bold;
	font-size: 2rem;
}

.sale-product p {
	font-weight: bold;
	font-size: 1.2rem;
}

.sale-product a {
	color: #fff;
}

.swiper-container-2 {
	margin: 0 auto;
	position: relative;
	overflow: hidden;
	list-style: none;
	padding: 0;
	z-index: 1;
}

/* ========================================================================
   09. FORMS / CONTACT FORM 7
   ======================================================================== */
.form-control {
	display: block;
	width: 100%;
	padding: .375rem .75rem;
	font-size: 1rem;
	line-height: 1.5;
	color: #495057;
	background-color: #fff;
	background-clip: padding-box;
	border: none;
	border-radius: 0rem;
	border-bottom: 1px solid #ced4da;
	transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

input::-moz-placeholder {
	color: #5a3e26;
	opacity: 1;
}

input::-webkit-input-placeholder {
	color: #5a3e26;
	opacity: 1;
}

input:-ms-input-placeholder {
	color: #5a3e26;
	opacity: 1;
}

input::-ms-input-placeholder {
	color: #5a3e26;
	opacity: 1;
}

input::placeholder {
	color: #5a3e26;
	opacity: 1;
}

textarea::-moz-placeholder {
	color: #fff;
	opacity: 1;
}

textarea::-webkit-input-placeholder {
	color: #5a3e26;
	opacity: 1;
}

textarea:-ms-input-placeholder {
	color: #5a3e26;
	opacity: 1;
}

textarea::-ms-input-placeholder {
	color: #5a3e26;
	opacity: 1;
}

textarea::placeholder {
	color: #5a3e26;
	opacity: 1;
}

.contact-top {
	padding: 1rem;
}

div.wpcf7 .ajax-loader {
	display: none;
}

.btn-primary {
	background-color: #659104;
	border-color: #659104;
	font-weight: bold;
	padding: 5px;
	font-size: 16px;
}

.proposal-field {
	width: 100%;
	background: transparent;
	border: 1px solid #659104;
	border-radius: 3px;
	outline: none;
	font-size: 16px;
	padding: 5px;
	color: #659104;
	margin-bottom: 1rem;
}

.btn-contacts {
	color: #fff;
	background-color: #ffffff24;
	border-color: #dfe0e1;
}

.btn-contacts:hover {
	background-color: #62626224;
}

.btn-contacts:focus {
	box-shadow: none;
}

.contact-bottom form {
	background-color: #fff;
	padding: 10px;
	box-shadow: 4px 4px 2px #779b53;
}

.contact-bottom form .proposal-field {
	width: 100%;
	background: transparent;
	font-size: 1em;
	border: 1px solid #dddddd;
	padding: 9px 40px 8px 40px;
	color: #7d7d7e;
}

.contact-bottom form .btn-primary {
	font-size: 14px;
	font-weight: bolder;
	color: #fff;
	text-transform: uppercase;
	text-decoration: none;
	background-color: #ecb929;
	padding: 6px 38px 5px;
	transition: 0.4s;
	margin-top: 8px;
	display: inline-block;
	border: none;
	border-bottom-color: currentcolor;
	border-bottom-style: none;
	border-bottom-width: medium;
	border-bottom: 3px solid #a77e08;
}

.contact-bottom form .btn-primary:hover {
	background: #000;
	color: #ffffff;
}

.contact-bottom form .btn-primary:focus {
	box-shadow: none;
}

/* ========================================================================
   10. WOOCOMMERCE
   Catalog, product cards, product page, cart, blocks and variations
   ======================================================================== */
body.woocommerce-page {
	display: flex;
	flex-direction: column;
}

/* --- Cart icon / mini-cart counter --- */
.cart-contents {
	height: 50px;
	width: 50px;
	position: relative;
	display: flex !important;
	flex-flow: column nowrap;
	justify-content: center;
	background-image: url("img/shopping-cart.png");
}

.cart-contents:hover {
	text-decoration: none;
}

.cart-contents-count {
	position: absolute;
	top: 20px;
	right: -3px;
	transform: translateY(-105%) translateX(25%);
	font-family: Arial, Helvetica, sans-serif;
	font-weight: normal;
	font-size: 12px;
	line-height: 22px;
	height: 22px;
	width: 22px;
	vertical-align: middle;
	text-align: center;
	color: #fff;
	background: rgb(255, 0, 0);
	border-radius: 50%;
	padding: 1px;
}

/* --- WooCommerce headings and product text --- */
h1.woocommerce-products-header__title {
	color: #2c221e;
	text-align: center;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 1.5rem;
	margin-bottom: 2rem;
}

h1.product_title {
	color: #2c221e;
	font-weight: bold;
	font-size: 1.3rem;
}

#tab-description h2 {
	color: #2c221e;
	font-weight: bold;
	font-size: 1.3rem;
}

section.related.products h2, section.upsells.products h2  {
	color: #2c221e;
	font-weight: bold;
	font-size: 1.3rem;
	padding-bottom: 0.5rem;
}

.woocommerce-product-details__short-description {
	font-size: 15px;
}

.form-row {
	width: 100% !important;
}

span.woocommerce-input-wrapper {
	width: 100%;
}

/* --- WooCommerce Blocks / general structure --- */
a.wc-block-components-product-name {
	font-size: 16px !important;
	font-weight: 600 !important;
	margin-bottom: 6px;
	color: #2c221e;
}

.wp-block-woocommerce-product-collection h2.wp-block-heading {
	color: #2c221e;
	font-weight: bold;
	font-size: 1.2rem;
}

.attachment-woocommerce_thumbnail, .woocommerce div.product div.images img {
	border-radius: 2px;
	border: 1px solid #f7f7f7;
}

/* --- Product categories --- */
li.cat-parent > a {
	font-weight: bolder;
}

li.cat-parent ul.children {
	padding-left: 1rem;
}

ul.product-categories span.count {
	color: #659104;
	font-size: 0.9rem;
}

ul.tabs {
	display: none;
}

/* --- Sale badges / quantity / price helpers --- */
.woocommerce span.onsale {
	display: none;
}

.woocommerce ul.products li.product .onsale {
	top: 5px;
	right: 5px;
	left: auto;
	margin: 0;
}

div.qty {
	float: left;
	padding-right: 15px;
}

div.latin_name {
	color: #535353;
	font-style: italic;
}

p.price {
	margin-top: 1rem;
}

/* --- Shop / product cards --- */
body.woocommerce-shop div.product, .products .type-product {
	margin-bottom: 15px !important;
	display: flex;
	padding-left: 8px;
	padding-right: 8px;
}

.product-wrapper {
	padding: 15px;
	border: 1px solid #e6dfd5;
	border-radius: 12px;
	background-color: #fff;
	display: flex;
	flex-direction: column;
}

li.product a.add_to_cart_button, li.product a.product_type_simple, .woocommerce ul.products li.product .button {
	background: #c37a2e;
	display: block;
	width: 75%;
	margin: 0 auto;
	color: #fff;
	text-align: center;
	line-height: normal;
	font-weight: normal;
	padding: 4px;
	border-radius: 2px;
}

.product-type-variable span.price {
	display: none;
}

/* --- Single product / add to cart --- */
.woocommerce div.product form.cart .button {
	margin-top: 0.5rem;
	background-color: #222;
	transition: ease 0.3s;
	border-radius: 8px;
	padding: 12px;
	font-weight: normal;
}

button.single_add_to_cart_button {
	width: 100%;
	margin: 0;
}

a.added_to_cart {
	display: block;
	width: 100%;
	text-align: center;
	color: #438a43;
	font-weight: bold;
}

.woocommerce div.product form.cart .button:hover {
	margin-top: 0.5rem;
	background-color: #ff9a2f;
	color: #fff;
}

.woocommerce #respond input#submit:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover {
	background-color: #ff9a2f;
	text-decoration: none;
	background-image: none;
	color: #fff;
}

/* --- Product gallery --- */
.woocommerce-product-gallery__image {
	border-radius: 3px;
}

.woocommerce div.product div.images .flex-control-thumbs li {
	width: auto;
	height: auto;
	margin-right: 5px;
	margin-top: 5px;
}

.woocommerce div.product div.images .flex-control-thumbs li img {
	border-radius: 3px;
	opacity: 1;
	max-width: 100px;
}

/* --- Shop sorting / loop --- */
form.woocommerce-ordering {
	display: none;
}

p.woocommerce-result-count {
	display: none;
}

.woocommerce ul.products li.product .button {
	margin-top: 0.5rem;
}

.woocommerce ul.products li.product .button:hover {
	background-color: #ec8c27;
}

.woocommerce ul.products li.product .price {
	text-align: center;
	font-weight: bold;
	font-size: 1em;
}

a.woocommerce-loop-product__link {
	color: #bf570b;
}

a.woocommerce-loop-product__link:hover {
	text-decoration: none;
}

a.woocommerce-loop-product__link p {
	line-height: 0.9rem;
	font-size: 12px;
	padding-top: 8px;
}

a.woocommerce-loop-product__link br {
	display: none;
}

/* --- Breadcrumbs / archive description --- */
.woocommerce .woocommerce-breadcrumb {
	margin-bottom: 0.5rem;
	margin-top: 0.5rem;
}

header.woocommerce-products-header div.term-description {
	color: #5a3e26;
	font-weight: bold;
	text-transform: uppercase;
	text-align: center;
	font-size: 1rem;
}

/* --- Related products / variations / extra options --- */
section.related {
	position: relative;
	display: block;
	float: left;
	width: 100%;
}

table.variations {
	display: none;
}

table.thwepo-extra-options {
	display: block;
	float: left;
	width: 100%;
	margin-bottom: 1rem;
}

.thwepo-extra-options label.label-tag {
	font-weight: 700;
}

.product-main-wrapper .star-rating, .product-wrapper div.star-rating {
	margin: 0 auto !important;
}

/* --- Cart / block cart --- */
.wp-block-woocommerce-empty-cart-block .wp-block-woocommerce-product-new, .wp-block-woocommerce-empty-cart-block h2 {
	display: none;
}

h2.wc-block-cart__empty-cart__title {
	display: block;
	text-align: center;
}

/* --- Simple products --- */
a.product_type_simple {
	margin-top: auto !important;
	padding: 10px 18px !important;
	border: 0;
	background-color: #222 !important;
	color: #fff !important;
	cursor: pointer !important;
	transition: opacity .2s ease, background-color .2s ease !important;
	display: block;
	width: 100%;
	text-align: center;
	font-weight: normal !important;
	line-height: normal !important;
	border-radius: 8px !important;
}

span.price {
	display: block;
	width: 100%;
	text-align: center;
	color: #222 !important;
	font-size: 1rem !important;
	margin-bottom: 0.5rem;
}

/* --- One-page WooCommerce product grid --- */
.product-main-wrapper {
	width: 100%;
}

.product-main-wrapper ul.products.columns-4 li.product {
	float: left;
	display: block;
	text-align: center;
	margin: 2%;
	padding: 0;
	position: relative;
	width: 22%;
	margin-left: 0;
}

.product-main-wrapper ul.products.columns-4 li.product h2 {
	font-size: 1rem;
	padding: .5em 0;
	margin-bottom: 0;
	color: #2d5201;
}

h2.woocommerce-loop-product__title {
	text-align: center;
	color: #2c221e;
}

.product-main-wrapper ul.products.columns-4 li.product img {
	width: 100%;
	height: auto;
	display: block;
	margin: 0 0 1em;
	box-shadow: none;
}

.product-main-wrapper .woocommerce ul.products li.product .price, .woocommerce ul.products li.product .price {
	display: none !important;
}

/* --- Variation price --- */
.woocommerce-variation-price {
	text-align: right;
}

/* WooCommerce Checkout Block
-------------------------------------------------- */

/* Страна */
.wc-block-components-address-form__country {
	display: none !important;
}

/* Область */
.wc-block-components-address-form__state {
	display: none !important;
}

/* Почтовый индекс */
.wc-block-components-address-form__postcode {
	display: none !important;
}

/* ========================================================================
   11. FOOTER
   ======================================================================== */
footer {
	flex: 0 0 auto;
}

footer.main-footer, footer.page-footer {
	background-color: #233237;
	width: 100%;
	color: #FFF;
}

span.copyright {
	line-height: 50px;
	font-weight: 300;
	font-size: 12px;
}

span.copyright a {
	color: #FFF !important;
}

.scrollTop {
	opacity: 0;
	transition: all 0.4s ease-in-out 0s;
	line-height: 50px;
	font-weight: 300;
}

.scrollTop a {
	font-size: 14px;
	color: #fff;
}

/* ========================================================================
   12. RESPONSIVE / MEDIA QUERIES
   Keep overrides at the end of the stylesheet
   ======================================================================== */
@media only screen and (min-width: 1600px) {
	.container {
		max-width: 1280px;
	}
}

@media only screen and (max-width: 768px) {
	.product-main-wrapper ul.products.columns-4 li.product {
		width: 100%;
	}

	.mainpage-block {
		padding-top: 15px;
		padding-bottom: 15px;
	}

	.swiper-container {
		height: auto;
	}

	.slide-inner-content {
		text-align: center !important;
	}

	.slide-inner-content h1 {
		padding-top: 30px;
	}

	.slide-inner-content h2 {
		padding-bottom: 30px;
	}

	.sale-product {
		padding-bottom: 35px;
	}

	section.page-content {
		padding-left: 1rem;
		padding-right: 1rem;
	}

	h1.product_title {
		font-size: 1.7rem;
	}

	.woocommerce-variation-price {
		text-align: center;
		padding-bottom: 1rem;
	}

	.variations {
		width: 100% !important;
		display: block;
	}

	a.reset_variations {
		display: none !important;
	}
}

@media only screen and (width: 1024px) {
	.navbar-expand-xl {
		justify-content: flex-start;
	}
}
