/*
Theme Name: Vivetlo Tienda
Description: Tema para las páginas de Elementor y WooCommerce de Vivetlo.
Version: 0.3.1
Requires PHP: 8.0
*/
@font-face { font-family: Montserrat; src: url(assets/montserrat.woff2) format("woff2"); font-display: swap; font-weight: 100 900; }
@font-face { font-family: Inter; src: url(assets/inter.woff2) format("woff2"); font-display: swap; font-weight: 100 900; }
:root {
	--ink: #121212;
	--hero: #111415;
	--teal: #00bfa6;
	--teal-text: #006a61;
	--gold: #d3ac69;
	--paper: #fff;
	--quiet: #515859;
	--line: #e2e7e5;
	--headings: Montserrat, sans-serif;
	--body: Inter, sans-serif;
	--gutter: clamp(20px, 5vw, 82px);
	--site-max: 1310px;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 20px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.6 var(--body); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .24em; }
a:hover { color: var(--teal-text); }
:focus-visible { outline: 3px solid #008b7d; outline-offset: 4px; }
:where(h1,h2,h3,h4) { font-family: var(--headings); line-height: 1.15; }
img { max-width: 100%; }
.shell { width: min(calc(100% - 2 * var(--gutter)), var(--site-max)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 20; left: 16px; top: 0; padding: 8px; background: #fff; transform: translateY(-120%); }
.skip-link:focus { transform: translateY(0); }
.shop-strip { background: #161a1a; color: #e9f4f1; font-size: .73rem; }
.shop-strip .shell { display: flex; padding-block: 6px; justify-content: space-between; gap: 12px; }
.demo-label { color: #a4d6ce; text-align: right; }
.site-header { border-bottom: 1px solid var(--line); background: white; }
.masthead { min-height: 75px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; gap: 11px; align-items: center; font: 700 1.27rem/1 var(--headings); letter-spacing: .18em; }
.brand img { width: 31px; height: 36px; object-fit: contain; mix-blend-mode: multiply; }
.masthead nav, .shop-actions { display: flex; align-items: center; gap: clamp(14px, 3vw, 44px); }
.masthead a, .footer-main a { text-decoration: none; }
.masthead nav, .shop-actions { font-size: .87rem; font-weight: 600; }
.shop-cart { display: flex; gap: 7px; align-items: center; }
.cart-number { border-radius: 50%; min-width: 23px; height: 23px; display: inline-grid; place-items: center; background: #cef4ec; font-size: .78rem; }
.page-body { padding-block: 36px 80px; min-height: 55vh; }
.site-footer { padding-block: 38px 18px; background: var(--hero); color: #dce5e2; }
.footer-main, .footer-bottom { display: flex; justify-content: space-between; gap: 24px; }
.footer-brand { color: #fff; font: 700 1.15rem/1.2 var(--headings); letter-spacing: .17em; }
.footer-main p { margin: 9px 0 0; color: #b7c5c1; font-size: .86rem; }
.footer-main nav { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: .86rem; align-items: start; }
.footer-main a:hover { color: var(--teal); }
.footer-bottom { margin-top: 28px; padding-top: 15px; border-top: 1px solid #343d3a; color: #b3c0bd; font-size: .77rem; }

/* Elementor usa estas clases en contenedores y widgets editables. */
.e-con.vivetlo-hero { position: relative; overflow: hidden; background: var(--hero); color: #fff; }
.e-con.vivetlo-hero-inner, .e-con.vivetlo-content { width: min(calc(100% - 2 * var(--gutter)), var(--site-max)); max-width: none; margin-inline: auto; padding: 0; }
.e-con.vivetlo-hero-inner { min-height: 568px; gap: clamp(20px, 5vw, 95px); align-items: center; }
.e-con.vivetlo-hero-copy { padding: clamp(38px, 6vw, 82px) 0; gap: 18px; width: 48%; z-index: 1; }
.elementor .hero-title .elementor-heading-title { color: #fff; font: 650 clamp(2.6rem, 4.65vw, 4.85rem)/1.045 var(--headings); letter-spacing: -.055em; }
.hero-title em { color: #a2eddf; font-style: normal; }
.elementor .vivetlo-eyebrow .elementor-heading-title { color: #9ce4d8; font: 650 .77rem/1.4 var(--body); letter-spacing: .115em; text-transform: uppercase; }
.elementor .hero-description { max-width: 34rem; color: #d0dad7; font: 400 clamp(.95rem, 1.28vw, 1.08rem)/1.6 var(--body); }
.hero-description p, .vivetlo-description p { margin: 0; }
.elementor .vivetlo-button .elementor-button { background: var(--teal); color: #101817; font: 700 .88rem/1.35 var(--body); border-radius: 4px; padding: 14px 21px; }
.elementor .vivetlo-button .elementor-button:hover { background: #98e9dc; color: #101817; }
.e-con.vivetlo-collection { position: relative; width: 52%; min-height: 505px; display: grid; grid-template-columns: repeat(3, 1fr); align-content: center; align-items: center; gap: 0; padding: 0; isolation: isolate; }
.vivetlo-collection::before { content: ""; z-index: -1; position: absolute; inset: 5% -5%; background: radial-gradient(ellipse at 48% 58%, #b8843938, transparent 63%); }
.vivetlo-collection::after { content: ""; z-index: -1; position: absolute; inset: 13% -7% 6%; background: radial-gradient(ellipse at 72% 45%, #41766a21, transparent 60%); }
.vivetlo-collection .elementor-widget-image { width: 100%; }
.vivetlo-collection .elementor-widget-image img { width: 100%; height: auto; filter: drop-shadow(8px 18px 18px #000b); }
.vivetlo-collection .product-fine { transform: translate(3%, 2%); }
.vivetlo-collection .product-silk { transform: translate(1%, -15%) scale(1.11); z-index: 1; }
.vivetlo-collection .product-intense { transform: translate(-2%, 9%) scale(1.04); }
.e-con.vivetlo-content { padding-block: clamp(42px, 6vw, 82px); gap: 20px; }
.elementor .vivetlo-heading .elementor-heading-title { color: var(--ink); font: 650 clamp(1.9rem, 3.4vw, 3.35rem)/1.12 var(--headings); letter-spacing: -.04em; }
.elementor .vivetlo-description { color: var(--quiet); font-family: var(--body); }
.elementor .catalog-label .elementor-heading-title { color: var(--teal-text); font: 700 .73rem/1.35 var(--body); text-transform: uppercase; letter-spacing: .14em; }
.elementor .vivetlo-shop-grid ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2.2vw, 34px); }
.vivetlo-shop-grid ul.products::before, .vivetlo-shop-grid ul.products::after { display: none; }
.elementor .vivetlo-shop-grid ul.products li.product { width: auto; margin: 0; float: none; }
.elementor .vivetlo-shop-grid.elementor-widget-woocommerce-products ul.products li.product a img { height: clamp(206px, 23vw, 340px); object-fit: contain; padding: 12px; margin: 0 0 14px; background: #f1f5f4; border-radius: 5px; }
.vivetlo-shop-grid ul.products li.product:nth-child(2) img { background: #f8f2ef; }
.vivetlo-shop-grid ul.products li.product:nth-child(3) img { background: #eef4ed; }
.elementor .vivetlo-shop-grid ul.products li.product .woocommerce-loop-product__title { color: var(--ink); font: 650 clamp(.96rem, 1.55vw, 1.25rem)/1.28 var(--headings); padding: 0; }
.woocommerce ul.products li.product .price, .woocommerce div.product p.price { color: #33423f; font-weight: 600; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit {
	border: 1px solid transparent; background: #132120; color: white; border-radius: 4px; padding: 11px 15px; font: 650 .85rem/1.35 var(--body);
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, .woocommerce #respond input#submit:hover { background: #24554d; color: white; }
.woocommerce #payment #place_order, .woocommerce .wc-proceed-to-checkout .checkout-button { background: var(--teal); color: #101817; }
.woocommerce input.input-text, .woocommerce form .form-row textarea, .woocommerce select { padding: 10px; border: 1px solid #9fa9a7; border-radius: 4px; font: inherit; }
.woocommerce-MyAccount-navigation ul { padding-left: 0; list-style: none; }
.woocommerce-MyAccount-navigation li { border-bottom: 1px solid var(--line); }
.woocommerce-MyAccount-navigation a { display: block; padding-block: 7px; }
.vivetlo-checkout-note, .vivetlo-review-notice { padding: 13px 15px; background: #eaf7f4; border-left: 3px solid var(--teal-text); margin-bottom: 16px; }
.vivetlo-professional-fields { clear: both; padding-top: 15px; }
.vivetlo-professional-fields h3 { margin-top: 0; }
.woocommerce .shop-content div.product div.images { background: #f1f5f4; padding: 18px; }
.woocommerce .woocommerce-product-gallery img { max-height: 520px; object-fit: contain; }
.woocommerce .woocommerce-cart-form .quantity input.qty { width: 4.4rem; }
@media (max-width: 767px) {
	.masthead { gap: 9px; min-height: 60px; }
	.masthead nav { display: none; }
	.brand { font-size: 1rem; gap: 7px; }
	.brand img { width: 23px; height: 28px; }
	.shop-actions { gap: 12px; }
	.e-con.vivetlo-hero-inner { flex-direction: column; min-height: 0; gap: 3px; align-items: stretch; }
	.e-con.vivetlo-hero-copy, .e-con.vivetlo-collection { width: 100%; }
	.e-con.vivetlo-hero-copy { padding-block: 32px 0; gap: 12px; }
	.e-con.vivetlo-collection { min-height: 242px; margin-block: 20px 4px; }
	.elementor .vivetlo-shop-grid ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.elementor .vivetlo-shop-grid.elementor-widget-woocommerce-products ul.products li.product a img { height: 188px; }
	.footer-main, .footer-bottom { flex-wrap: wrap; }
}
@media (max-width: 370px) {
	.elementor .vivetlo-shop-grid ul.products { grid-template-columns: 1fr; }
	.shop-strip .shell { flex-wrap: wrap; gap: 0 10px; }
}

.e-con.vivetlo-product-layout { width: 100%; padding: 0; gap: clamp(24px, 5vw, 80px); align-items: start; }
.e-con.vivetlo-product-image, .e-con.vivetlo-product-details { width: 50%; padding: 0; }
.e-con.vivetlo-product-details { gap: 16px; padding-block: 20px; }
.vivetlo-product-image .woocommerce-product-gallery { width: 100% !important; }
.elementor h1.vivetlo-product-title { margin: 0; color: var(--ink); font: 650 clamp(2rem, 3.8vw, 3.35rem)/1.08 var(--headings); letter-spacing: -.05em; }
.vivetlo-product-details form.cart .qty { width: 4.3rem; padding: 8px; }
@media (max-width: 767px) {
	.e-con.vivetlo-product-layout { flex-direction: column; }
	.e-con.vivetlo-product-image, .e-con.vivetlo-product-details { width: 100%; }
}

.shop-strip-links {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 4px 16px;
}
.shop-strip .patient-link {
	color: #e9f4f1;
	font-weight: 650;
	white-space: nowrap;
}
.shop-strip .patient-link:hover { color: #a2eddf; }

.e-con.vivetlo-public-hero {
	background: radial-gradient(ellipse at 86% 28%, #193a34 0%, transparent 52%), var(--hero);
}
.e-con.vivetlo-public-hero-layout {
	min-height: 490px;
	justify-content: space-between;
	align-items: center;
	gap: clamp(24px, 5vw, 78px);
}
.e-con.vivetlo-public-hero-copy {
	width: min(57%, 730px);
	gap: 20px;
	padding: 0;
}
.e-con.vivetlo-audience-routes {
	width: min(38%, 425px);
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 13px;
	padding: 0;
}
.e-con.vivetlo-audience-route {
	width: 100%;
	gap: 8px;
	padding: clamp(17px, 2.4vw, 28px);
	border: 1px solid #54716a;
	border-radius: 6px;
	background: #192b28;
}
.elementor .vivetlo-audience-title .elementor-heading-title {
	color: #fff;
	font: 650 clamp(1.05rem, 1.8vw, 1.38rem)/1.2 var(--headings);
}
.elementor .vivetlo-audience-description {
	color: #d7e5df;
	font-size: .92rem;
}
.vivetlo-audience-description p { margin: 0; }
.elementor .vivetlo-audience-button .elementor-button {
	background: transparent;
	color: #a2eddf;
	border: 1px solid #94cec2;
	border-radius: 4px;
	padding: 9px 13px;
	font: 700 .88rem/1.35 var(--body);
}
.elementor .vivetlo-audience-button .elementor-button:hover {
	background: #a2eddf;
	color: var(--hero);
}

.e-con.vivetlo-resources-layout { gap: 18px; }
.e-con.vivetlo-reading-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(12px, 2.2vw, 25px);
	width: 100%;
	margin-top: 6px;
	padding: 0;
}
.e-con.vivetlo-reading-card {
	width: 100%;
	min-width: 0;
	padding: clamp(18px, 2.5vw, 29px);
	gap: 12px;
	border: 1px solid #cddcd7;
	border-radius: 6px;
}
.e-con.vivetlo-reading-card > .vivetlo-editorial-link { margin-top: auto; }
.elementor .vivetlo-card-heading .elementor-heading-title {
	font: 650 clamp(1.05rem, 1.4vw, 1.22rem)/1.3 var(--headings);
	color: var(--ink);
	letter-spacing: -.025em;
}
.vivetlo-editorial-link a {
	color: var(--teal-text);
	font-size: .91rem;
	font-weight: 650;
}
.vivetlo-editorial-link p { margin: 0; }

.e-con.vivetlo-newsletter-band {
	background: #ebf5f2;
	padding: 0;
}
.e-con.vivetlo-newsletter-layout {
	align-items: center;
	justify-content: space-between;
	gap: clamp(15px, 4vw, 52px);
}
.e-con.vivetlo-newsletter-copy {
	width: min(100%, 560px);
	gap: 12px;
	padding: 0;
}
.vivetlo-newsletter-widget { max-width: 100%; }
.vivetlo-newsletter-widget input[type="email"] {
	min-height: 44px;
	max-width: 100%;
	padding: 10px 12px;
	border: 1px solid #8da49d;
	border-radius: 4px;
	font: inherit;
}
.vivetlo-newsletter-widget button {
	min-height: 44px;
	padding: 10px 15px;
	border: 1px solid #0b6257;
	border-radius: 4px;
	background: #0b6257;
	color: white;
	font: 650 .9rem/1.35 var(--body);
	cursor: pointer;
}
.vivetlo-newsletter-widget button:hover { background: #084e45; }

.e-con.vivetlo-article-layout, .e-con.vivetlo-access-layout {
	max-width: 760px;
	gap: 15px;
}
.elementor .vivetlo-article-lead { color: var(--quiet); font-size: 1.12rem; }
.vivetlo-article-lead p, .vivetlo-article-text p, .vivetlo-article-text ul { margin-block: 0 .65em; }
.vivetlo-article-text { color: #293533; line-height: 1.72; overflow-wrap: anywhere; }
.vivetlo-article-text ul { padding-inline-start: 1.3rem; }
.vivetlo-article-text li + li { margin-top: .5em; }
.elementor .vivetlo-article-heading .elementor-heading-title {
	color: var(--ink);
	font: 650 clamp(1.2rem, 2.5vw, 1.7rem)/1.24 var(--headings);
}
.vivetlo-article-heading { margin-top: 9px; }
.vivetlo-article-sources a { color: var(--teal-text); }

.e-con.vivetlo-patient-panel { gap: 12px; }
.vivetlo-patient-panel .elementor-heading-title { max-width: 33ch; }
.elementor .vivetlo-patient-button .elementor-button {
	padding: 11px 16px;
	color: var(--teal-text);
	background: #fff;
	border: 1px solid var(--teal-text);
	border-radius: 4px;
	font: 700 .88rem/1.35 var(--body);
}
.elementor .vivetlo-patient-button .elementor-button:hover {
	background: var(--teal-text);
	color: #fff;
}

@media (max-width: 820px) {
	.e-con.vivetlo-public-hero-layout, .e-con.vivetlo-newsletter-layout {
		flex-direction: column;
		align-items: stretch;
		min-height: 0;
	}
	.e-con.vivetlo-public-hero-copy, .e-con.vivetlo-audience-routes { width: 100%; }
	.e-con.vivetlo-reading-grid { grid-template-columns: 1fr; }
}

@media (max-width: 400px) {
	.masthead .shop-actions { gap: 8px; }
	.shop-actions .access-link { max-width: 6.5rem; }
}
