/*
Theme Name: Elena Francesca Cavazza
Author: Elena Francesca Cavazza
Description: Tema independiente para WordPress y WooCommerce inspirado en la identidad visual de Cavazza Beauty Lab.
Version: 1.1.0
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: efc
License: GPL-2.0-or-later
*/
:root{--primary:#8c5a63;--wine:#59252e;--ink:#402e2e;--light:#f7f7f7;--muted:#d9d9d9}*{box-sizing:border-box}body{margin:0;color:var(--ink);font:400 16px/1.6 'Open Sans',sans-serif;background:white}h1,h2,h3,h4,h5,h6,.menu,button,.button{font-family:Raleway,sans-serif}h1,h2,h3,h4,h5,h6{line-height:1.25;font-weight:700}a{color:var(--wine);text-decoration:none}a:hover{text-decoration:underline}img{max-width:100%;height:auto}.wrap{width:min(1080px,calc(100% - 40px));margin:auto}.skip-link{position:absolute;left:-9999px}.skip-link:focus{left:12px;top:12px;background:white;padding:12px;z-index:99}:focus-visible{outline:3px solid var(--primary);outline-offset:4px}.topbar{background:var(--primary);color:white;font-size:12px;min-height:30px}.topbar .wrap{display:flex;align-items:center;justify-content:space-between;gap:20px}.menu{display:flex;gap:24px;list-style:none;padding:0;margin:0;font-weight:700;font-size:13px;text-transform:uppercase}.topbar a,.navband a{color:white}.header-main{background:white}.header-main .wrap{height:80px;display:flex;align-items:center;justify-content:space-between;gap:32px}.brand img{display:block;width:220px;max-height:78px;object-fit:contain}.header-search{max-width:470px;flex:1}.search-form{display:flex}.search-form label{flex:1}input,textarea,select{font:inherit;border:1px solid #d3cece;padding:10px;width:100%;max-width:100%}button,.button,input[type=submit],.wp-block-button__link{background:var(--primary);border:0;color:white;padding:10px 20px;font-weight:700;cursor:pointer;display:inline-block;font-size:13px;text-transform:uppercase}.button:hover,button:hover{background:var(--wine);color:white;text-decoration:none}.header-actions{display:flex;gap:18px;font-size:13px;font-weight:700}.navband{background:var(--wine)}.navband .menu{min-height:43px;align-items:center;justify-content:center}.menu li{position:relative}.menu .sub-menu{display:none;position:absolute;z-index:20;top:100%;left:0;min-width:220px;padding:15px;background:var(--wine);list-style:none}.menu li:hover>.sub-menu,.menu li:focus-within>.sub-menu{display:block}.menu .sub-menu a{display:block;padding:8px}.mobile-menu{display:none}.hero{background:#f2ebe8;min-height:470px;display:flex;align-items:center;text-align:center;padding:60px 20px;background-position:center;background-size:cover}.hero .hero-inner{max-width:780px;margin:auto}.hero.with-image{color:white;text-shadow:0 1px 10px #0008;background-blend-mode:multiply;background-color:#0005}.hero.with-image h1{color:white}.alt-font{font-family:'Dancing Script',cursive;font-size:32px}.hero h1{font-size:clamp(32px,4vw,48px);text-transform:uppercase;margin:15px 0}.hero p{font-size:20px}.hero .button{margin:10px}.intro{text-align:center;padding:55px 0 30px}.intro img{width:100px;max-height:130px;object-fit:contain}.intro h2{font-size:30px;text-transform:uppercase}.section{padding:35px 0}.section-title{display:flex;align-items:center;gap:22px;text-align:center;font-size:23px;text-transform:uppercase}.section-title:before,.section-title:after{content:'';height:2px;background:#e9e5e5;flex:1}.tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:25px}.tile{background:var(--light);padding:35px 25px;text-align:center}.tile h3{font-size:21px;text-transform:uppercase}.tile .alt-font{font-size:24px;color:var(--primary)}.join{background:var(--wine);color:white;text-align:center;padding:50px 20px;margin-top:40px}.join h2{color:white;font-size:30px}.content{padding:40px 0;min-height:300px}.content article{margin-bottom:35px}.footer-main{background:var(--light);padding:40px 0}.footer-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:30px}.footer-main h3{font-size:16px;text-transform:uppercase;margin:0 0 20px}.footer-main h3:after{content:'';display:block;width:30px;height:3px;background:#c5bcbc;margin-top:12px}.footer-main ul{list-style:none;padding:0;margin:0}.footer-main li{padding:10px 0;border-bottom:1px solid #e4dddd}.footer-main img.footer-logo{width:200px}.footer-secondary{height:18px;background:var(--muted)}.footer-bottom{background:#4d4d4d;color:#fff;padding:22px 0;font-size:12px}.footer-bottom a{color:#fff}.footer-bottom .wrap{display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap}.footer-bottom .menu{font-size:11px;gap:15px}.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.woocommerce ul.products li.product .button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{background:var(--primary);color:white;border-radius:0}.woocommerce span.onsale{background:var(--wine)}.woocommerce ul.products li.product .price{color:var(--ink)}.woocommerce div.product .woocommerce-tabs ul.tabs li.active{border-top:3px solid var(--primary)}.woocommerce table.shop_table{border-radius:0}.woocommerce .quantity .qty{width:5em}.woocommerce ul.product_list_widget li img{width:55px;float:left;margin:0 12px 0 0}.woocommerce ul.product_list_widget li{min-height:75px}.woocommerce ul.product_list_widget .amount{display:block}.wp-block-image img{height:auto}.alignwide{max-width:1080px}.alignfull{width:100%}.pagination{padding:20px 0}.comment-list{padding-left:20px}.admin-bar .site-header{top:32px}@media(max-width:850px){.header-search,.header-actions .account,.topbar .menu{display:none}.topbar .wrap{justify-content:center}.header-main .wrap{height:80px;gap:10px}.brand{margin:auto}.brand img{width:215px;max-height:76px}.mobile-menu{display:block;background:transparent;color:var(--ink);padding:8px;font-size:22px}.navband{display:none}.navband.is-open{display:block}.navband .menu{flex-direction:column;align-items:stretch;gap:0;padding:12px 0}.navband a{display:block;padding:10px}.menu .sub-menu{position:static}.tiles{grid-template-columns:1fr}.footer-grid{grid-template-columns:repeat(2,1fr)}.hero{min-height:460px}.hero p{font-size:18px}.footer-bottom .wrap{justify-content:center;text-align:center}.footer-bottom .menu{flex-wrap:wrap;justify-content:center}}@media(max-width:500px){.wrap{width:calc(100% - 30px)}.footer-grid{grid-template-columns:1fr}.hero h1{font-size:32px}.intro h2{font-size:26px}}
.navband .menu{color:white}.woocommerce-product-search{display:flex}.woocommerce-product-search .search-field{min-width:0;flex:1}.woocommerce-product-search button{flex-shrink:0}

/* Ajustes medidos en la referencia Cavazza / Flatsome */
.wrap{width:min(1080px,100%);padding-left:15px;padding-right:15px}.header-main .wrap{gap:36px}.brand{flex:0 0 180px}.brand img{width:180px}.header-search{max-width:none}.header-search .woocommerce-product-search,.header-search .search-form{position:relative}.header-search input{height:42px;border:1px solid #ececec;border-radius:30px;padding:10px 48px 10px 24px;font-size:14px;box-shadow:inset 0 1px 2px #00000005}.header-search button{font-size:0;position:absolute;right:0;top:0;width:44px;height:42px;padding:0;border-radius:0 30px 30px 0;background:transparent;color:#402e2e}.header-search button:before{content:'⌕';font:28px Arial,sans-serif}.header-actions{white-space:nowrap;text-transform:uppercase;font-family:Raleway,sans-serif;font-size:12px;color:#555}.header-actions .account{display:none}.cart-icon{font-size:21px}.topbar .wrap{min-height:30px}.topbar .menu{gap:0;font-size:12px;font-weight:400}.topbar .menu li+li{border-left:1px solid #ffffff33;margin-left:10px;padding-left:10px}.navband .menu{justify-content:flex-start;gap:24px;font-size:12.8px}.navband a{color:#ffffffcc}.navband a:hover{color:white;text-decoration:none}.menu a{transition:color .2s}.shop-title-band{background:var(--primary);color:white;padding:24px 0}.shop-title-band .woocommerce-breadcrumb{margin:0;color:#ffffffcc;font-size:18px;text-transform:uppercase}.shop-title-band a{color:white}.shop-layout{display:grid;grid-template-columns:minmax(0,780px) 240px;gap:30px;padding-top:45px;padding-bottom:45px}.shop-sidebar h2{font:700 16px Raleway,sans-serif;text-transform:uppercase;margin:0 0 20px}.shop-sidebar h2:after{content:'';display:block;width:30px;height:3px;background:#e9e9e9;margin-top:15px}.shop-sidebar ul{list-style:none;margin:0 0 30px;padding:0}.shop-sidebar li{padding:8px 0;border-bottom:1px solid #ececec;font-size:15px}.shop-sidebar a{color:#555}.shop-sidebar .count{color:#777;font-size:12px}.shop-sidebar .woocommerce-product-search{margin-bottom:30px;flex-wrap:wrap}.shop-sidebar .woocommerce-product-search button{margin-top:8px}.collection-intro{text-align:center;margin-bottom:35px}.collection-intro>img{display:block;width:100%;height:auto;margin:0 auto 30px}.collection-intro h1{font-size:30px;margin:0 0 15px}.collection-intro p{font-size:16px;margin:0}.shop-main>h1.woocommerce-products-header__title,.shop-main>h1.page-title{display:none}.woocommerce ul.products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 20px;clear:both;padding-top:20px}.woocommerce ul.products:before,.woocommerce ul.products:after{display:none}.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{width:auto!important;float:none!important;margin:0!important;text-align:center;display:flex;flex-direction:column;align-items:center;min-width:0}.woocommerce ul.products li.product a.woocommerce-LoopProduct-link{display:block;width:100%}.woocommerce ul.products li.product a img{aspect-ratio:1/1;object-fit:cover;margin:0 0 10px;transition:opacity .2s}.woocommerce ul.products li.product a:hover img{opacity:.9}.woocommerce ul.products li.product .woocommerce-loop-product__title{font:400 14.4px/1.4 'Open Sans',sans-serif;color:var(--ink);padding:3px 10px 0;min-height:43px;margin:0}.efc-product-category{display:block;color:#777;font-size:10.8px;text-transform:uppercase;letter-spacing:.05em;line-height:1.5}.woocommerce ul.products li.product .price{font-size:14.4px;font-weight:700;margin:4px 0 0}.woocommerce ul.products li.product .button{font:700 11px Raleway,sans-serif;margin:10px 0 0;border:2px solid var(--primary);background:white;color:var(--primary);padding:7px 10px;line-height:1.3}.woocommerce ul.products li.product .button:hover{background:var(--primary);color:white}.woocommerce .woocommerce-ordering select{border-radius:30px;padding:8px 12px;font-size:14px;color:#555;width:auto;max-width:100%}.woocommerce .woocommerce-result-count{font-size:14px;line-height:40px}.footer-main{padding:32px 0 38px}.footer-grid{gap:30px}.footer-main h3{font:700 16px Raleway,sans-serif;color:#555}.footer-main p{font-size:14px;line-height:1.6}.footer-main li{font-size:13px;line-height:1.5}.footer-main .product_list_widget li{padding:10px 0;min-height:80px}.footer-main .product_list_widget li a{font-weight:400;color:var(--ink)}.footer-main .product_list_widget li img{width:60px;height:60px;object-fit:cover}.footer-main .product_list_widget li .amount{font-weight:700;font-size:13px}.footer-secondary{height:0}.footer-bottom{padding:18px 0;background:#4d4d4d}.woocommerce div.product .product_title{font-size:28px}.woocommerce div.product p.price{color:var(--ink);font-size:24px;font-weight:700}.woocommerce div.product .woocommerce-tabs ul.tabs li{border-radius:0;background:white}.woocommerce div.product .woocommerce-tabs ul.tabs:before{border-color:#ececec}.woocommerce div.product .woocommerce-tabs ul.tabs li:after,.woocommerce div.product .woocommerce-tabs ul.tabs li:before{display:none}.woocommerce div.product .woocommerce-tabs ul.tabs li.active{border:0;border-top:3px solid var(--primary)}
@media(max-width:850px){.wrap{width:100%;padding-left:20px;padding-right:20px}.header-main .wrap{gap:10px;height:80px}.brand{flex:0 1 220px;margin:auto}.brand img{width:220px;max-height:78px}.header-actions{font-size:0}.cart-icon{font-size:24px}.navband .menu{gap:0}.shop-layout{grid-template-columns:1fr;padding-top:25px}.shop-sidebar{display:none}.woocommerce ul.products,.woocommerce-page ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 14px}.woocommerce .woocommerce-result-count{float:none}.woocommerce .woocommerce-ordering{float:none;margin-bottom:15px}.collection-intro>img{max-width:100%}.footer-main{padding-top:30px}.shop-title-band{padding:18px 0}.shop-title-band .woocommerce-breadcrumb{font-size:15px}}

.collection-frame{display:grid;grid-template-columns:1fr 1fr;background:#f3f0ed;text-align:left}.collection-frame>img{width:100%;height:100%;object-fit:cover;min-height:420px}.collection-copy{padding:45px 35px}.collection-copy .eyebrow{font-size:10px;letter-spacing:3px;color:#8c5a63;margin-bottom:26px}.collection-copy h2{font:700 clamp(28px,3vw,42px)/1.2 Georgia,serif;color:#59252e;letter-spacing:1px}.gold-rule{display:block;width:55px;height:2px;background:#b6a17f;margin:25px 0}.collection-copy .collection-tagline{font:italic 25px/1.4 Georgia,serif;margin-bottom:20px}.collection-copy p{font-size:13px}.collection-strip{background:#e0cccd;padding:22px;color:#59252e;font-size:11px;letter-spacing:2px;margin-bottom:35px}.collection-strip span{letter-spacing:0;font-size:14px}.hero.with-image{background-position:center 58%;background-color:#0007;min-height:540px}.hero.with-image .hero-inner{max-width:690px}.collection-intro h1{font-family:Georgia,serif;color:#59252e;font-size:36px}.footer-logo{object-fit:contain}@media(max-width:850px){.collection-frame{grid-template-columns:1fr 1fr}.collection-copy{padding:24px 18px}.collection-copy h2{font-size:23px}.collection-copy .eyebrow{font-size:8px;letter-spacing:1.5px}.collection-copy .collection-tagline{font-size:18px}.collection-copy p{font-size:12px}.collection-frame>img{min-height:320px}.hero.with-image{min-height:490px}}@media(max-width:400px){.collection-frame{grid-template-columns:1fr}.collection-frame>img{height:280px;min-height:0}.collection-copy{padding:24px}.collection-copy h2{font-size:30px}}
