/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0.15
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

/* Tabs: use [tabgroup style="divided"] anywhere. Palette: ink-muted #5C4E4B, border #EBD0CB, accent #C18B73 */
.tabbed-content .nav-divided {
	justify-content: center;
}

.tabbed-content .nav-divided > li {
	margin: 0 1.1em;
}

.tabbed-content .nav-divided > li > a {
	font-weight: 400;
	letter-spacing: 0.06em;
	color: #5C4E4B;
}

.tabbed-content .nav-divided > li > a:hover,
.tabbed-content .nav-divided > li.active > a {
	color: #C18B73;
}

.tabbed-content .nav-divided > li + li > a:after {
	border-left: 1px solid #EBD0CB;
}

/* Quick View button: hidden everywhere (grids, related-products slider). */
a.quick-view,
.product-small .quick-view,
.product-small .quick-view-button {
	display: none !important;
}

/* Contact forms (Jetpack): underline-only fields and a full-width dark Submit button.
   Palette: ink #211815, ink-muted #5C4E4B, accent #C18B73, bg #FDFBF9, surface-alt #F7E1DF */
.contact-form {
	--jetpack--contact-form--error-color: #D9A397;
}

.contact-form label,
.contact-form .grunion-field-label {
	font-size: 0.85em;
	font-weight: 400;
	color: #5C4E4B;
	margin: 0 0 0.25em;
}

.contact-form label span,
.contact-form .grunion-field-label span {
	font-size: 0.9em;
	color: #5C4E4B;
}

/* One consistent gap between every field block (label + input + inline error). */
.contact-form .grunion-field-wrap,
.contact-form .grunion-field-text-wrap,
.contact-form .grunion-field-email-wrap,
.contact-form .grunion-field-textarea-wrap {
	margin: 0 0 1.6em;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="url"],
.contact-form input[type="tel"],
.contact-form textarea {
	width: 100%;
	margin: 0;
	background: transparent;
	border: 0;
	border-bottom: 1px solid #211815;
	border-radius: 0;
	box-shadow: none;
	color: #211815;
	padding-left: 0;
	padding-right: 0;
}

.contact-form input:focus,
.contact-form textarea:focus {
	border-bottom-color: #C18B73;
	box-shadow: none;
}

/* Message box: extremely thin gold scrollbar, no arrows. */
.contact-form textarea {
	scrollbar-width: thin;
	scrollbar-color: #C18B73 transparent;
}

.contact-form textarea::-webkit-scrollbar {
	width: 2px;
	background: transparent;
}

.contact-form textarea::-webkit-scrollbar-track {
	background: transparent;
}

.contact-form textarea::-webkit-scrollbar-thumb {
	background: #C18B73;
	border-radius: 2px;
}

.contact-form textarea::-webkit-scrollbar-button {
	display: none;
	width: 0;
	height: 0;
}

/* Errors: soft pastel instead of strong red. */
.contact-form .contact-form__input-error,
.contact-form .form-error,
.contact-form .contact-form__error {
	color: #B8796C;
	font-size: 0.8em;
}

.contact-form .contact-form__error.show-errors,
.contact-form .form-error {
	background: #F7E1DF;
	border: 1px solid #EBD0CB;
	border-radius: 0;
	color: #5C4E4B;
}

.contact-form .has-errors input,
.contact-form .has-errors textarea,
.contact-form input.contact-form__input-error,
.contact-form textarea.contact-form__input-error {
	border-bottom-color: #D9A397;
}

.contact-form .pushbutton-wide,
.contact-form button[type="submit"],
.contact-form input[type="submit"] {
	display: block;
	width: 100%;
	margin: 1em 0 0;
	background: #211815;
	border: 0;
	border-radius: 0;
	color: #FDFBF9;
	letter-spacing: 0.04em;
}

.contact-form .pushbutton-wide:hover,
.contact-form button[type="submit"]:hover,
.contact-form input[type="submit"]:hover {
	background: #C18B73;
	color: #FDFBF9;
}


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/

	.tabbed-content .nav-divided {
		flex-wrap: wrap;
	}

	.tabbed-content .nav-divided > li {
		margin: 0 0.6em;
	}

	.tabbed-content .nav-divided > li > a {
		font-size: 0.8em;
		letter-spacing: 0.03em;
	}

}

/* Add to basket full width next to the quantity box; fills the row if quantity is hidden */
.single-product .add-to-cart-container form.cart:not(.variations_form),
.single-product .add-to-cart-container .woocommerce-variation-add-to-cart {
	display: flex;
	align-items: stretch;
}
.single-product .add-to-cart-container form.cart .single_add_to_cart_button {
	flex: 1 1 auto !important;
	width: auto !important;
	margin-left: 10px;
	margin-right: 0;
}

/* Product summary column stretches to the gallery height; divider + cart sit at the bottom */
@media (min-width: 550px) {
	.sesamora-summary > .col-inner {
		display: flex;
		flex-direction: column;
		height: 100%;
	}
	.sesamora-summary > .col-inner > .is-divider,
	.sesamora-summary > .col-inner > .sesamora-bottom {
		margin-top: auto !important;
	}
}

/* Product sections in the summary column: heading above its text instead of beside it */
.sesamora-summary .product-section .row {
	flex-direction: column;
}
.sesamora-summary .product-section .row > .col {
	flex-basis: 100%;
	max-width: 100%;
}
.sesamora-summary .product-section {
	padding-top: 8px !important;
	padding-bottom: 0 !important;
	margin: 0 !important;
}
.sesamora-summary .product-section .panel p,
.sesamora-summary .product-section h5 {
	margin-bottom: 0.4em;
}
.sesamora-summary .product-title-container,
.sesamora-summary .product-price-container {
	margin-bottom: 0.3em;
}

/* Round bullets in the product sections */
.sesamora-summary ul.sesamora-bullets {
	list-style: disc;
	margin-left: 1.2em;
	margin-bottom: 0.5em;
}
.sesamora-summary ul.sesamora-bullets li {
	margin-bottom: 0.2em;
}

/* Add to basket button: 10px top and bottom padding */
.single-product form.cart .single_add_to_cart_button {
	padding-top: 10px !important;
	padding-bottom: 10px !important;
}

/* No quantity box (sold individually): button starts at the left edge */
.single-product form.cart .single_add_to_cart_button:first-child {
	margin-left: 0;
}

/* Quantity box matches the button height; +/- buttons are square. Add to basket gets side padding. */
.single-product form.cart .quantity {
	display: flex;
	align-self: stretch;
	margin-bottom: 0;
}
.single-product form.cart .quantity .minus,
.single-product form.cart .quantity .plus {
	width: 56px !important;
	min-width: 56px !important;
	height: 56px !important;
	flex: 0 0 56px !important;
	padding: 0 !important;
	margin: 0 !important;
}
.single-product form.cart .quantity input.qty {
	height: 56px !important;
	box-sizing: border-box;
}
.single-product form.cart .single_add_to_cart_button {
	height: 56px !important;
	min-height: 0 !important;
	line-height: 1 !important;
	box-sizing: border-box;
	padding-left: 30px !important;
	padding-right: 30px !important;
}

/* Hidden quantity (stock of 1): keep it hidden */
.single-product form.cart .quantity.hidden {
	display: none !important;
}
