/* Tapetil Child - shop.tapetil.com without Elementor.
 * Carries over the parts of Elementor's CSS the pages depended on: the global kit (7), the product
 * template (11044), the category templates (9974 ...) and the 404 (10259). The shop's own design
 * (Customizer > Additional CSS "MASTER CSS v2.0") still prints after this file and wins ties, as before.
 */

/* ---------- Elementor global kit 7, 1:1 (body carries the class elementor-kit-7) ---------- */
.elementor-kit-7 {
	--e-global-color-primary: #5B2333;
	--e-global-color-secondary: #FFFFFF;
	--e-global-color-text: #000000;
	--e-global-color-accent: #0C4160;
	--e-global-typography-primary-font-family: "Open Sans Hebrew";
	--e-global-typography-text-font-family: "Open Sans Hebrew";
	background-color: #FFFFFF;
	color: #0C4160;
	font-family: "Open Sans Hebrew", Sans-serif;
}
.elementor-kit-7 button,
.elementor-kit-7 input[type="button"],
.elementor-kit-7 input[type="submit"] {
	background-color: #0C4160;
	font-family: "Open Sans Hebrew", Sans-serif;
	color: #FFFFFF;
}
.elementor-kit-7 a { color: #5B2333; font-family: "Open Sans Hebrew", Sans-serif; }
.elementor-kit-7 h1, .elementor-kit-7 h2, .elementor-kit-7 h3,
.elementor-kit-7 h4, .elementor-kit-7 h5, .elementor-kit-7 h6 { color: #0C4160; font-family: "Open Sans Hebrew", Sans-serif; }
.elementor-kit-7 label { color: #0C4160; font-family: "Open Sans Hebrew", Sans-serif; }
.elementor-kit-7 input:not([type="button"]):not([type="submit"]),
.elementor-kit-7 textarea {
	font-family: "Open Sans Hebrew", Sans-serif;
	color: #0C4160;
	accent-color: #0C4160;
	background-color: #FFFFFF;
	border-radius: 200px;
}

/* ---------- Elementor's base rules for everything inside its documents, on our wrappers ---------- */
:is(.tpt-loc-header, .tpt-loc-footer, .tpt-cat-row, .tpt-sp, .tpt-404) a { text-decoration: none; box-shadow: none; }
:is(.tpt-loc-header, .tpt-loc-footer, .tpt-cat-row, .tpt-sp, .tpt-404) *,
:is(.tpt-loc-header, .tpt-loc-footer, .tpt-cat-row, .tpt-sp, .tpt-404) *::before,
:is(.tpt-loc-header, .tpt-loc-footer, .tpt-cat-row, .tpt-sp, .tpt-404) *::after { box-sizing: border-box; }
:is(.tpt-loc-header, .tpt-loc-footer, .tpt-cat-row, .tpt-sp, .tpt-404) img { height: auto; max-width: 100%; border-radius: 0; box-shadow: none; }

/* ---------- GeneratePress: full width, no boxes (as the Elementor templates were) ---------- */
.tpt-full .site.grid-container,
.tpt-full .container.grid-container { max-width: 100%; }
.tpt-full.separate-containers .site-main,
.tpt-full.no-sidebar.separate-containers .site-main { margin: 0; }
.tpt-full.separate-containers .inside-article,
.tpt-full .inside-article { padding: 0; background: transparent; }
.tpt-full .site-content { padding: 0; display: block; }
.tpt-full .content-area { width: 100%; }
/* Elementor's containers gave the header and footer HTML a 10px frame. */
.tpt-loc-header, .tpt-loc-footer { width: 100%; box-sizing: border-box; padding: 10px; }
/* The Elementor header was sticky at the top on every device (offset 0). */
.tpt-loc-header { position: sticky; top: 0; z-index: 999; background-color: #FFFFFF; }
/* WooCommerce's clearfix pseudo-elements would take a grid cell. */
.tpt-cat-main ul.products::before, .tpt-cat-main ul.products::after,
.tpt-sp-related ul.products::before, .tpt-sp-related ul.products::after { display: none; }

/* ---------- Single product (template 11044) ---------- */
.tpt-sp-banner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 107px;
	padding: 10px;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}
.tpt-sp-banner::before {
	content: "";
	position: absolute;
	inset: 0;
	background-color: #0C4160;
	opacity: .73;
}
.tpt-sp-banner-title {
	position: relative;
	margin: 0 0 8px;
	font-family: "Open Sans Hebrew", Sans-serif;
	font-size: 4em;
	font-weight: 600;
	line-height: 1.5em;
	color: #FFFFFF;
	text-align: center;
}
.tpt-sp-cols {
	display: flex;
	flex-direction: row-reverse; /* RTL: the buy column (first in the code) sits on the left */
	align-items: flex-start;
	margin-top: 5%;
	padding: 0 6%;
}
.tpt-sp-buy {
	width: 65.6%;
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.tpt-sp-buy > * { margin-top: 0; margin-bottom: 0; }
.tpt-sp-desc {
	width: 34.4%;
	padding-left: 3.5%;
	box-sizing: border-box;
}
.tpt-sp-content {
	margin: 0 0 0 2em;
	font-family: "Open Sans Hebrew", Sans-serif;
	font-size: 21px;
	font-weight: 500;
	line-height: 1.5em;
	color: #0C4160;
	text-align: center;
}
.tpt-sp .woocommerce-product-gallery { width: 100% !important; float: none !important; margin: 0 !important; }
.tpt-sp .woocommerce-product-gallery__image img,
.tpt-sp .flex-control-thumbs img { border: 2px solid #0C4160; }
/* Thumbnails as a grid of real tiles, close to Elementor's justified gallery under the main image. */
.tpt-sp .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 10px 0 0; padding: 0; list-style: none; }
.tpt-sp .flex-control-thumbs li { width: auto !important; float: none !important; margin: 0 !important; }
.tpt-sp .flex-control-thumbs img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; opacity: 1; }
@media (max-width: 767px) { .tpt-sp .flex-control-thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tpt-sp .tpt-sp-buy .cart button,
.tpt-sp .tpt-sp-buy .cart .button {
	font-family: "Open Sans Hebrew", Sans-serif;
	font-size: 1.2em;
	font-weight: 700;
	line-height: 1em;
	border: 0 solid #FFFFFF;
	border-radius: 30px;
	padding: 15px 50px;
	color: #FFFFFF;
	background-color: #0C4160;
	transition: all .2s;
}
.tpt-sp .tpt-sp-buy .cart button:hover,
.tpt-sp .tpt-sp-buy .cart .button:hover { color: #FFFFFF; background-color: #5B2333; }
/* Elementor's add-to-cart widget: no quantity box (the calculator fills it), stacked, centered on phones. */
.tpt-sp .tpt-sp-buy form.cart .quantity { display: none !important; }
@media (max-width: 1024px) { .tpt-sp .tpt-sp-buy .cart button, .tpt-sp .tpt-sp-buy .cart .button { font-size: 14px; } }
@media (max-width: 767px) {
	.tpt-sp .tpt-sp-buy form.cart .single_add_to_cart_button,
	.tpt-sp .tpt-sp-buy form.cart .tpt-buy-now { display: block; width: max-content; max-width: 100%; margin-left: auto; margin-right: auto; float: none; }
}
.tpt-sp .woocommerce-product-details__short-description { margin: 0 0 0 2em; color: #324A6D; font-size: 22px; }
.tpt-sp .product_meta > span { display: inline-block; margin: 0 7.5px; }
.tpt-sp .product_meta > span:first-child { margin-right: 0; }
.tpt-sp .product_meta .detail-label { font-weight: 700; }
.tpt-sp .shop_attributes a { color: inherit; text-decoration: none; }
.tpt-sp-related { margin-top: 34px; }
.tpt-sp-related-title {
	margin: 0 0 20px;
	padding: 10px 0;
	border-top: 2px solid #0C4160;
	border-bottom: 2px solid #0C4160;
	text-align: center;
	font-family: "Open Sans Hebrew", Sans-serif;
	font-size: 2em;
	font-weight: 600;
	line-height: 1.2em;
	color: #1C244B;
}
.tpt-sp-related .related.products { padding: 0 20px; }
.tpt-sp-related .related.products > h2 { display: none; }
.tpt-sp-related ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tpt-sp-related ul.products li.product { text-align: center; width: auto; margin: 0; float: none; }
@media (max-width: 767px) { .tpt-sp-related ul.products { grid-template-columns: minmax(0, 1fr); } }
.tpt-sp-related ul.products li.product .woocommerce-loop-product__title { color: #1C244B; font-family: "Open Sans Hebrew", Sans-serif; font-size: 1.2em; font-weight: 600; line-height: 1.2em; }

@media (max-width: 1024px) {
	.tpt-sp-banner-title { font-size: 3em; }
	.tpt-sp-cols { padding: 0 5%; }
	.tpt-sp-desc { padding-left: 4.5%; }
}
@media (max-width: 767px) {
	/* Room for the title's two lines from the first paint: with the fallback font it fits one line, with Open Sans
	   Hebrew two, and the banner used to grow when the font arrived (PageSpeed CLS 0.13, 08.11). */
	.tpt-sp-banner { min-height: 156px; }
	.tpt-sp-banner-title { font-size: 2.5em; }
	.tpt-sp-cols { flex-direction: column; padding: 0 5%; }
	.tpt-sp-buy, .tpt-sp-desc { width: 100%; }
	.tpt-sp-desc { padding: 16.875px 0 0; }
	.tpt-sp-content { margin: 0; }
	.tpt-sp-related-title { font-size: 28px; }
}

/* ---------- Product categories (templates 9974, 10274, 10418, 11016, 12992) ---------- */
.tpt-cat-row {
	display: flex;
	flex-direction: row;
	width: 94%;
	margin: 1em auto;
}
.tpt-cat-filter { width: 20%; flex: none; padding: 10px; box-sizing: border-box; }
.tpt-cat-main { width: 80%; flex: none; padding: 10px; box-sizing: border-box; }
.tpt-cat-row--solo .tpt-cat-main { width: 100%; }
.tpt-cat-main ul.products li.product { text-align: center; }
.tpt-cat-main ul.products li.product .woocommerce-loop-product__title { font-weight: 800; }
.tpt-cat-main ul.products li.product .price,
.tpt-cat-main ul.products li.product .price ins,
.tpt-cat-main ul.products li.product .price del { color: #0C4160; }
.tpt-cat-main ul.products li.product .price { font-size: 18px; }
.tpt-cat-main ul.products li.product .button { color: #FFFFFF; background-color: #0C4160; border-radius: 400px; }
@media (max-width: 767px) {
	.tpt-cat-filter { display: none; }
	.tpt-cat-main { width: 100%; }
}
/* Intro fold (owner 08.11): H1 + two lines of text, the rest and the trust bar open with the button. */
.tpt-cat-intro .tpt-cat-fold {
	position: relative;
	font-size: var(--tpt-fs-base, 17px);
	line-height: 1.7;
	max-height: 3.4em;
	overflow: hidden;
}
.tpt-cat-intro .tpt-cat-fold::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1.4em;
	background: linear-gradient(to bottom, rgba(251, 248, 243, 0), var(--tpt-cream, #FBF8F3));
	pointer-events: none;
}
.tpt-cat-intro .tpt-cat-fold.is-open { max-height: none; overflow: visible; }
.tpt-cat-intro .tpt-cat-fold.is-open::after { display: none; }
.tpt-cat-intro button.tpt-cat-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 12px 0 0;
	padding: 8px 22px;
	border: 1.5px solid #0C4160;
	border-radius: 400px;
	background: #FFFFFF;
	color: #0C4160;
	font-family: "Open Sans Hebrew", Sans-serif;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
	cursor: pointer;
}
.tpt-cat-intro button.tpt-cat-more::after {
	content: "";
	width: 7px;
	height: 7px;
	border: solid currentColor;
	border-width: 0 2px 2px 0;
	transform: translateY(-2px) rotate(45deg);
}
.tpt-cat-intro button.tpt-cat-more[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }
.tpt-cat-intro button.tpt-cat-more:hover,
.tpt-cat-intro button.tpt-cat-more:focus-visible { background: #0C4160; color: #FFFFFF; }
.tpt-cat-intro .tpt-cat-more-close,
.tpt-cat-intro button.tpt-cat-more[aria-expanded="true"] .tpt-cat-more-open { display: none; }
.tpt-cat-intro button.tpt-cat-more[aria-expanded="true"] .tpt-cat-more-close { display: inline; }

/* ---------- Pages that were built with Elementor (home, cart, checkout, account, legal, samples, search) ---------- */
:is(.tpt-page) a { text-decoration: none; box-shadow: none; }
:is(.tpt-page) *, :is(.tpt-page) *::before, :is(.tpt-page) *::after { box-sizing: border-box; }
:is(.tpt-page) img { height: auto; max-width: 100%; }
.tpt-page > .tpt-e-con { display: flex; flex-direction: column; padding: 10px; }
.tpt-e-con > .tpt-e, .tpt-loc-header > .tpt-e, .tpt-loc-footer > .tpt-e { width: 100%; }
.tpt-page > .tpt-e-con:not(.tpt-e-banner) { margin: 1em 0; gap: 20px; }
/* The navy photo banner with the page's H1 (same design on every page that has one) */
.tpt-page .tpt-e-banner {
	position: relative;
	justify-content: center;
	gap: 0;
	min-height: var(--tpt-min-h, 368px);
	margin: 0;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}
.tpt-page .tpt-e-banner::before {
	content: "";
	position: absolute;
	inset: 0;
	background-color: var(--tpt-ov-color, #0C4160);
	opacity: var(--tpt-ov, .73);
}
.tpt-page .tpt-e-banner > * { position: relative; }
.tpt-page .tpt-e-banner .tpt-e-heading {
	margin: 0;
	padding: 0;
	text-align: center;
	font-size: 4em;
	font-weight: 700;
	text-transform: capitalize;
	line-height: 80px;
	letter-spacing: 0;
	color: #FFFFFF;
}
.tpt-page .tpt-e-text {
	text-align: center;
	font-family: "Open Sans Hebrew", Sans-serif;
	font-size: 1.3em;
	font-weight: 500;
	line-height: 1.4em;
	color: #0C4160;
}
@media (max-width: 1024px) { .tpt-page .tpt-e-banner .tpt-e-heading { line-height: 56px; } }
@media (max-width: 767px) {
	.tpt-page .tpt-e-banner { gap: 10px; }
	.tpt-page .tpt-e-banner .tpt-e-heading { font-size: 2.5em; line-height: 42px; }
}
/* The product search page: a plain text block, not the legal-page look */
.tpt-page-13987 .tpt-e-text { font-size: inherit; font-weight: inherit; line-height: inherit; }

/* Cart (was Elementor Pro's cart widget): items on the right, totals card on the left, 1140px box */
.tpt-e-cart, .tpt-e-checkout, .tpt-e-account { width: 100%; max-width: 1140px; margin: 0 auto; }
.tpt-e-cart table.shop_table { border: 1px solid #E8E3D9; border-radius: 12px; border-collapse: separate; border-spacing: 0; overflow: hidden; }
.tpt-e-cart table.shop_table thead th { background-color: #1A3A5C; color: #FFFFFF; font-size: 17px; }
@media (min-width: 768px) {
	.tpt-e-cart > .woocommerce { display: grid; grid-template-columns: minmax(0, 673fr) minmax(0, 437fr); column-gap: 30px; align-items: start; }
	.tpt-e-cart > .woocommerce > * { grid-column: 1 / -1; }
	.tpt-e-cart > .woocommerce > .woocommerce-cart-form { grid-column: 1; }
	.tpt-e-cart > .woocommerce > .cart-collaterals { grid-column: 2; grid-row: span 2; }
	.tpt-e-cart .cart-collaterals .cart_totals { width: 100%; float: none; }
}

/* My account (was Elementor Pro's my-account widget): wine titles, grey round fields without a border, navy buttons */
.tpt-page .tpt-e-account .woocommerce h2, .tpt-page .tpt-e-account .woocommerce h3 { color: #5B2333; font-family: "Open Sans Hebrew", Sans-serif; font-size: 35px; font-weight: 400; }
.tpt-e-account label { color: #0C4160; font-size: 14px; }
.tpt-e-account .woocommerce form.login, .tpt-e-account .woocommerce form.register,
.tpt-e-account .woocommerce form.woocommerce-ResetPassword { border: 0; border-radius: 0; padding: 16px 30px; margin: 28px 0; background-color: #FFFFFF; }
.tpt-e-account .woocommerce .form-row .input-text,
.tpt-e-account .woocommerce .form-row select {
	background-color: #F9FAFA;
	border: 0;
	border-radius: 400px;
	color: #5B2333;
	padding: 16px;
}
.tpt-e-account .woocommerce button.button {
	background-color: #0C4160;
	color: #FFFFFF;
	border-radius: 400px;
	padding: 12px 32px;
	font-size: 14px;
	font-weight: 700;
	font-family: "Open Sans Hebrew", Sans-serif;
}
.tpt-e-account .woocommerce-MyAccount-navigation ul li.is-active a { background-color: #0C4160; color: #FFFFFF; }
.tpt-e-account .lost_password a, .tpt-e-account a { color: #5B2333; }
.tpt-e-account .lost_password, .tpt-e-account .woocommerce .register p:not([class]) { font-size: 12px; color: #5B2333; }

/* Checkout (was Elementor Pro's checkout widget): titles centred, round fields and buttons, wine-coloured pay button */
.tpt-e-checkout h3#order_review_heading,
.tpt-e-checkout .woocommerce-billing-fields h3,
.tpt-e-checkout .woocommerce-additional-fields h3 { font-size: 1.2em; text-align: center; }
.tpt-e-checkout .input-text, .tpt-e-checkout select, .tpt-e-checkout textarea,
.tpt-e-checkout .select2-container--default .select2-selection--single { border-radius: 400px; color: #0C4160; }
.tpt-e-checkout .form-row label { color: #0C4160; }
.tpt-e-checkout .woocommerce-button, .tpt-e-checkout button.button { border-radius: 400px; }
.tpt-e-checkout .woocommerce-checkout-review-order-table, .tpt-e-checkout .woocommerce-checkout-review-order-table th,
.tpt-e-checkout .woocommerce-checkout-review-order-table td { color: #0C4160; }
@media (min-width: 768px) {
	.tpt-e-checkout form.checkout { display: grid; grid-template-columns: minmax(0, 638fr) minmax(0, 478fr); column-gap: 23px; align-items: start; }
	.tpt-e-checkout form.checkout > * { grid-column: 1 / -1; }
	.tpt-e-checkout form.checkout > #customer_details { grid-column: 1; grid-row: span 3; }
	.tpt-e-checkout form.checkout > #customer_details .col-1,
	.tpt-e-checkout form.checkout > #customer_details .col-2 { width: 100%; float: none; }
	.tpt-e-checkout form.checkout > #order_review_heading,
	.tpt-e-checkout form.checkout > #order_review { grid-column: 2; }
}

/* ---------- 404 (template 10259) ---------- */
.tpt-404 .tpt-e-f01dce3 { display: flex; flex-direction: row; align-items: stretch; overflow: hidden; }
.tpt-404 .tpt-e-36d8a740 { display: flex; flex-direction: column; justify-content: center; gap: 10px; width: 24.572%; padding: 0 0 0 2%; box-sizing: border-box; text-align: center; }
.tpt-404 .tpt-e-61e45ff0 { width: 75.394%; min-height: 82.5vh; background: url("https://shop.tapetil.com/wp-content/uploads/2024/06/Depositphotos_658986962_XL-scaled.jpg") center center / cover no-repeat; }
.tpt-404 .tpt-e-64ff1d3a { margin: -25px 0 0; font-family: "Open Sans Hebrew", Sans-serif; font-size: 65px; font-weight: 300; text-transform: uppercase; line-height: 1.2em; letter-spacing: 6px; color: #1E1E1E; text-align: center; }
.tpt-404 .tpt-e-d0c462f { font-size: 1.2em; color: #0C4160; }
.tpt-404 .tpt-e-d0c462f p { margin: 0; }
.tpt-404 .tpt-e-button {
	display: inline-block;
	padding: 12px 24px;
	background-color: transparent;
	font-family: "Open Sans Hebrew", Sans-serif;
	font-size: 20px;
	font-weight: bold;
	font-style: italic;
	text-transform: uppercase;
	line-height: 1em;
	color: #0C4160;
	border: 3px solid #0C4160;
	border-radius: 200px;
	text-decoration: none;
}
.tpt-404 .tpt-e-button:hover, .tpt-404 .tpt-e-button:focus { background-color: #FFFFFF; color: #1E1E1E; }
@media (max-width: 1024px) {
	.tpt-404 .tpt-e-f01dce3 { flex-wrap: wrap; min-height: 40vh; }
	.tpt-404 .tpt-e-36d8a740 { width: 100%; padding: 8% 20% 10%; }
	.tpt-404 .tpt-e-61e45ff0 { width: 100%; min-height: 425px; }
	.tpt-404 .tpt-e-64ff1d3a { margin-top: -15px; font-size: 50px; line-height: 1em; letter-spacing: 5px; }
	.tpt-404 .tpt-e-button { font-size: 18px; }
}
@media (max-width: 767px) {
	.tpt-404 .tpt-e-f01dce3 { min-height: 54.9vh; }
	.tpt-404 .tpt-e-36d8a740 { padding: 10% 0 14%; }
	.tpt-404 .tpt-e-61e45ff0 { min-height: 300px; margin-bottom: 20px; }
	.tpt-404 .tpt-e-64ff1d3a { font-size: 38px; letter-spacing: 3px; }
	.tpt-404 .tpt-e-button { display: block; font-size: 16px; }
}
