:root{
  --tegy-brown:#885B3A;
  --tegy-black:#141414;
  --tegy-soft:#F6F6F7;
  --tegy-white:#FFFFFF;
  --tegy-border:rgba(20,20,20,.12);
  --tegy-muted:rgba(20,20,20,.62);
  --tegy-radius:18px;
  --tegy-shadow:0 12px 36px rgba(20,20,20,.07);
  --tegy-font:"Jost",Arial,sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body.tegy-theme{margin:0;color:var(--tegy-black);background:var(--tegy-white);font-family:var(--tegy-font);line-height:1.5}

/* v1.3 typography lock: the whole public site uses the same Jost family.
   WooCommerce and legacy plugins may declare their own font on inner pages,
   so we explicitly normalize text controls without touching icon fonts. */
body.tegy-theme h1,body.tegy-theme h2,body.tegy-theme h3,body.tegy-theme h4,body.tegy-theme h5,body.tegy-theme h6,
body.tegy-theme p,body.tegy-theme a,body.tegy-theme li,body.tegy-theme label,body.tegy-theme strong,body.tegy-theme small,
body.tegy-theme button,body.tegy-theme input,body.tegy-theme textarea,body.tegy-theme select,
body.tegy-theme .woocommerce,body.tegy-theme .woocommerce-page,body.tegy-theme .woocommerce form,
body.tegy-theme .woocommerce table,body.tegy-theme .woocommerce .button{font-family:var(--tegy-font);}

a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}
button,input,textarea,select{font:inherit}
.tegy-container{width:min(1600px,calc(100% - 64px));margin-inline:auto}
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Header */
.tegy-header{background:var(--tegy-white);position:relative;z-index:50}
.tegy-announcement{height:66px;display:grid;place-items:center;background:var(--tegy-brown);color:var(--tegy-white);font-size:20px;font-weight:700}
.tegy-contactbar{border-bottom:1px solid var(--tegy-border)}
.tegy-contactbar .tegy-container{height:74px;display:flex;justify-content:flex-end;align-items:center;font-size:18px;color:var(--tegy-muted)}
.tegy-contactbar strong{color:var(--tegy-brown);font-size:21px}
.tegy-mainbar{border-bottom:1px solid var(--tegy-border)}
.tegy-mainbar__inner{min-height:176px;display:grid;grid-template-columns:250px 195px clamp(310px,26vw,440px) auto 150px;align-items:center;justify-content:space-between;gap:18px}
.tegy-brand{display:flex;align-items:center;min-width:0}
.tegy-brand .custom-logo{max-width:220px;max-height:96px;width:auto;height:auto}
.tegy-brand__text{font-size:32px;line-height:.85;text-transform:lowercase;letter-spacing:.08em;color:var(--tegy-brown)}
.tegy-brand__text span{display:block;font-size:12px;text-transform:uppercase;letter-spacing:.3em;margin-top:12px;color:var(--tegy-black)}
.tegy-categories{position:relative}
.tegy-categories summary{list-style:none;height:68px;padding:0 20px;background:var(--tegy-soft);display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:16px;font-weight:700;cursor:pointer}
.tegy-categories summary::-webkit-details-marker{display:none}
.tegy-categories__menu{position:absolute;left:0;top:calc(100% + 8px);width:280px;background:var(--tegy-white);box-shadow:var(--tegy-shadow);padding:12px;border:1px solid var(--tegy-border);z-index:80}
.tegy-categories__menu a{display:block;padding:11px 12px;border-radius:8px}
.tegy-categories__menu a:hover{background:var(--tegy-soft);color:var(--tegy-brown)}
.tegy-search{height:68px;border:1px solid var(--tegy-border);display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;background:var(--tegy-white)}
.tegy-search input{border:0;outline:0;padding:0 20px;font-size:16px;min-width:0}
.tegy-search button{height:100%;border:0;background:transparent;color:var(--tegy-black);font-size:16px;font-weight:800;padding:0 20px;cursor:pointer}
.tegy-search button:hover{color:var(--tegy-brown)}
.tegy-account{height:68px;display:flex;align-items:center;gap:9px;padding:0 20px;border-radius:999px;background:var(--tegy-soft);font-size:16px;font-weight:700;white-space:nowrap;color:var(--tegy-muted)}
.tegy-account__icon{color:var(--tegy-brown)}
.tegy-cart{height:68px;min-width:150px;padding:0 20px;border-radius:999px;background:var(--tegy-brown);color:var(--tegy-white)!important;display:flex;align-items:center;justify-content:center;gap:14px;font-size:16px;font-weight:800}
.tegy-cart .woocommerce-Price-amount,.tegy-cart .woocommerce-Price-currencySymbol{color:var(--tegy-white)!important}
.tegy-cart__iconwrap{position:relative;width:26px;height:28px;display:grid;place-items:center;flex:0 0 26px}.tegy-cart__icon{display:grid;place-items:center;line-height:1}.tegy-cart__count{position:absolute;top:-10px;right:-8px;background:var(--tegy-white);color:var(--tegy-brown);width:22px;height:22px;border-radius:50%;display:grid;place-items:center;font-size:11px;line-height:1;font-weight:800}.tegy-cart__total{display:flex;align-items:center;line-height:1;white-space:nowrap}
.tegy-mobile-toggle{display:none;background:transparent;border:0;width:44px;height:44px;padding:8px;cursor:pointer}
.tegy-mobile-toggle span{display:block;height:2px;background:var(--tegy-black);margin:6px 0}
.tegy-navrow{border-bottom:1px solid var(--tegy-border)}
.tegy-navrow__inner{min-height:80px;display:flex;align-items:center;justify-content:space-between;gap:30px;font-size:16px}
.tegy-nav__list{list-style:none;display:flex;align-items:center;gap:52px;padding:0;margin:0;font-size:16px;font-weight:700;line-height:1.2}
.tegy-nav__list a:hover,.tegy-nav__list .current-menu-item>a{color:var(--tegy-brown)}
.tegy-shipping{display:flex;align-items:center;gap:22px;font-size:16px;line-height:1.2}
.tegy-shipping a,.tegy-button{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 26px;border-radius:999px;background:var(--tegy-brown);color:var(--tegy-white);font-size:16px;font-weight:800;line-height:1;letter-spacing:.01em;white-space:nowrap}

/* Home */
.tegy-hero{padding:14px 0 0}
.tegy-hero__inner{min-height:570px;background:#F3EFE7;border-radius:0 0 22px 22px;display:grid;grid-template-columns:45% 55%;align-items:center;overflow:hidden;padding:50px 44px 0}
.tegy-hero__copy{align-self:center;z-index:2}
.tegy-hero__eyebrow{font-size:44px;line-height:1;text-transform:uppercase;font-weight:400;letter-spacing:-.03em}
.tegy-hero h1{font-size:88px;line-height:.95;margin:18px 0 28px;text-transform:uppercase;letter-spacing:-.045em}
.tegy-hero__price{font-size:23px;margin:0 0 28px}.tegy-hero__price span{font-weight:500}
.tegy-button--dark{background:var(--tegy-black);border-radius:0;min-width:135px}
.tegy-hero__visual{height:100%;display:flex;align-items:flex-end;justify-content:center}
.tegy-hero__visual img{width:min(760px,100%);max-height:540px;object-fit:contain;object-position:center bottom}
.tegy-section{padding:76px 0}
.tegy-promos{padding-top:42px}
.tegy-promos__grid{display:grid;grid-template-columns:1fr 1fr;gap:28px}
.tegy-promo{min-height:330px;background:var(--tegy-soft);display:grid;grid-template-columns:46% 54%;overflow:hidden;position:relative}
.tegy-promo__copy{padding:50px 0 45px 48px;position:relative;z-index:2}
.tegy-promo__subtitle{font-size:14px;text-transform:uppercase;font-weight:800;letter-spacing:.12em;color:var(--tegy-brown)}
.tegy-promo h2{font-size:52px;line-height:1;margin:16px 0 12px;letter-spacing:-.04em}
.tegy-promo p{font-size:21px;margin:0 0 28px}
.tegy-promo a{font-weight:800;border-bottom:2px solid var(--tegy-black);padding-bottom:5px}
.tegy-promo__image{min-width:0;overflow:hidden}
.tegy-promo__image img{width:100%;height:100%;object-fit:cover;object-position:center}
.tegy-section-title{text-align:center;font-size:42px;line-height:1.15;margin:0 0 32px;letter-spacing:-.03em}
.tegy-section-title--left{text-align:left}
.tegy-tab-label{width:max-content;margin:0 auto 42px;padding:12px 28px;border:1px solid var(--tegy-border);border-bottom-color:var(--tegy-white);font-size:20px;background:var(--tegy-white);position:relative}
.tegy-tab-label:before{content:"";position:absolute;height:1px;background:var(--tegy-border);top:100%;right:100%;width:45vw}.tegy-tab-label:after{content:"";position:absolute;height:1px;background:var(--tegy-border);top:100%;left:100%;width:45vw}
.tegy-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:42px 30px}
.tegy-product-card__image{display:block;position:relative;background:var(--tegy-soft);aspect-ratio:1/1;overflow:hidden}
.tegy-product-card__image img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.tegy-product-card:hover .tegy-product-card__image img{transform:scale(1.025)}
.tegy-badge{position:absolute;top:14px;left:14px;background:var(--tegy-brown);color:var(--tegy-white);padding:6px 10px;font-size:12px;font-weight:800;text-transform:uppercase}
.tegy-product-card__body{padding-top:20px}
.tegy-product-card__cat{font-size:16px;margin-bottom:4px;color:var(--tegy-muted)}
.tegy-product-card__cat a:hover{color:var(--tegy-brown)}
.tegy-product-card h3{font-size:22px;line-height:1.15;margin:0 0 18px;text-transform:uppercase;letter-spacing:-.02em}
.tegy-product-card h3 a:hover{color:var(--tegy-brown)}
.tegy-rating{display:flex;align-items:center;gap:4px;margin:0 0 16px;font-size:14px;color:var(--tegy-black)}
.tegy-star{fill:transparent;stroke:var(--tegy-brown);stroke-width:1.6}.tegy-star.is-filled{fill:var(--tegy-brown);stroke:var(--tegy-brown)}
.tegy-rating span{margin-left:4px;color:var(--tegy-muted)}
.tegy-product-card__price{font-size:19px;font-weight:800;color:var(--tegy-brown)!important}
.tegy-product-card__price *{color:var(--tegy-brown)!important}
.tegy-product-card__price del{opacity:.55;margin-right:6px}.tegy-product-card__price ins{text-decoration:none}
.tegy-corporate{background:var(--tegy-brown);color:var(--tegy-white)}
.tegy-corporate__grid{display:grid;grid-template-columns:1fr 1fr;min-height:590px}
.tegy-corporate__image{min-height:520px;background:var(--tegy-soft);overflow:hidden}
.tegy-corporate__image img{width:100%;height:100%;object-fit:cover}
.tegy-corporate__placeholder{height:100%;min-height:520px;display:grid;place-items:center;text-align:center;font-size:54px;font-weight:800;color:var(--tegy-brown);background:var(--tegy-soft)}
.tegy-corporate__content{padding:78px 70px;display:flex;flex-direction:column;justify-content:center}
.tegy-corporate__content h2{font-size:48px;line-height:1.05;margin:0 0 24px}
.tegy-corporate__content>p{font-size:18px;max-width:700px;margin:0 0 34px;opacity:.94}
.tegy-corporate__content ul{list-style:none;padding:0;margin:0;display:grid;gap:18px}
.tegy-corporate__content li{display:flex;align-items:center;gap:14px;font-size:18px;font-weight:700;text-transform:uppercase}.tegy-corporate__content li span{width:28px;height:28px;border:1px solid var(--tegy-white);border-radius:50%;display:grid;place-items:center;font-size:14px}
.tegy-products-section--muted{background:var(--tegy-soft)}
.tegy-testimonials{background:var(--tegy-brown);color:var(--tegy-white);padding:80px 0 95px}
.tegy-testimonials h2{text-align:center;font-size:42px;margin:0 0 48px}
.tegy-testimonials__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:38px}
.tegy-testimonial__bubble{background:var(--tegy-white);color:var(--tegy-black);padding:34px 34px 42px;min-height:230px;position:relative}
.tegy-testimonial__bubble:after{content:"";position:absolute;bottom:-22px;left:55px;border-width:22px 22px 0 0;border-style:solid;border-color:var(--tegy-white) transparent transparent transparent}
.tegy-testimonial__stars{color:var(--tegy-brown);letter-spacing:4px;margin-bottom:18px}
.tegy-testimonial__bubble p{font-size:18px;line-height:1.65;margin:0;color:var(--tegy-muted)}
.tegy-testimonial__person{display:flex;align-items:center;gap:14px;margin:38px 0 0 40px}.tegy-testimonial__avatar{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;background:var(--tegy-white);color:var(--tegy-brown);font-weight:900;font-size:20px}.tegy-testimonial__person strong,.tegy-testimonial__person span{display:block}.tegy-testimonial__person div span{font-size:14px;opacity:.9}

/* Footer */
.tegy-footer{background:var(--tegy-soft);color:var(--tegy-black);padding-top:70px}
.tegy-footer__grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:70px;padding-bottom:62px}
.tegy-footer h3{font-size:22px;margin:0 0 16px}.tegy-footer p{margin:8px 0;font-size:17px}.tegy-footer a:hover{color:var(--tegy-brown)}
.tegy-footer__phone{display:flex;align-items:center;gap:9px}.tegy-footer__phone span{color:var(--tegy-brown);font-size:21px}
.tegy-footer__bottom{border-top:1px solid var(--tegy-border);padding:30px 0;color:var(--tegy-muted)}

/* Pages / WooCommerce */
.tegy-page{padding:70px 0 90px}.tegy-page__inner{min-height:45vh}.tegy-page-title{font-size:46px;margin:0 0 36px}.tegy-entry-content>*:first-child{margin-top:0}
.tegy-woo-page .woocommerce-breadcrumb{color:var(--tegy-muted);margin-bottom:28px}.tegy-woo-page .woocommerce-breadcrumb a:hover{color:var(--tegy-brown)}
.woocommerce .woocommerce-result-count,.woocommerce .woocommerce-ordering{margin-bottom:32px}
.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:38px 28px;margin:0!important}
.woocommerce ul.products:before,.woocommerce ul.products:after{display:none!important}
.woocommerce ul.products li.product{float:none!important;width:auto!important;margin:0!important}
.woocommerce ul.products li.product a img{margin:0 0 18px!important;background:var(--tegy-soft)}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:20px!important;color:var(--tegy-black);text-transform:uppercase;padding:0!important}
.woocommerce ul.products li.product .price,.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--tegy-brown)!important;font-weight:800!important}
.woocommerce ul.products li.product .star-rating,.woocommerce .star-rating{color:var(--tegy-brown)!important}
.woocommerce ul.products li.product .button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit{background:var(--tegy-brown)!important;color:var(--tegy-white)!important;border-radius:999px!important;padding:14px 22px!important;font-weight:800!important}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover{background:var(--tegy-black)!important;color:var(--tegy-white)!important}
.woocommerce span.onsale{background:var(--tegy-brown)!important;color:var(--tegy-white)!important;min-height:auto!important;min-width:auto!important;border-radius:0!important;line-height:1!important;padding:8px 10px!important;top:10px!important;left:10px!important}
.woocommerce-message,.woocommerce-info,.woocommerce-error{border-top-color:var(--tegy-brown)!important;background:var(--tegy-soft)!important;color:var(--tegy-black)!important}
.woocommerce-message:before,.woocommerce-info:before,.woocommerce-error:before{color:var(--tegy-brown)!important}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce .quantity .qty,.woocommerce select{border:1px solid var(--tegy-border);padding:12px;background:var(--tegy-white);color:var(--tegy-black)}
.woocommerce table.shop_table{border-color:var(--tegy-border)!important;border-radius:0!important}.woocommerce table.shop_table th,.woocommerce table.shop_table td{border-color:var(--tegy-border)!important}
.woocommerce-checkout #payment{background:var(--tegy-soft)!important}.woocommerce-checkout #payment div.payment_box{background:var(--tegy-white)!important;color:var(--tegy-black)!important}.woocommerce-checkout #payment div.payment_box:before{border-bottom-color:var(--tegy-white)!important}
.woocommerce-account .woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0}.woocommerce-account .woocommerce-MyAccount-navigation li a{display:block;padding:12px 16px;border-bottom:1px solid var(--tegy-border)}.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a{background:var(--tegy-brown);color:var(--tegy-white)}

/* Deliberately neutralize legacy red accents */
.tegy-theme .price,.tegy-theme .amount,.tegy-theme .star-rating,.tegy-theme .woocommerce-review-link,.tegy-theme .product_meta a{accent-color:var(--tegy-brown)}
.tegy-theme .woocommerce-Price-amount{color:inherit}

@media (max-width:1200px){
  .tegy-container{width:min(100% - 40px,1180px)}
  .tegy-mainbar__inner{grid-template-columns:190px 175px minmax(280px,1fr) auto 135px;gap:14px}.tegy-account span:last-child{display:none}.tegy-account{width:60px;padding:0;justify-content:center}.tegy-cart{min-width:135px;padding:0 16px;gap:11px}.tegy-hero h1{font-size:72px}.tegy-product-grid,.woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:900px){
  .tegy-announcement{height:48px;font-size:16px}.tegy-contactbar .tegy-container{height:52px;font-size:14px}.tegy-contactbar strong{font-size:16px}
  .tegy-mainbar__inner{min-height:110px;grid-template-columns:1fr auto auto auto;gap:12px}.tegy-brand .custom-logo{max-width:170px;max-height:70px}.tegy-categories,.tegy-search{display:none}.tegy-account{height:54px}.tegy-cart{height:58px;min-width:120px;padding:0 14px}.tegy-cart__count{top:-9px;right:-7px}.tegy-mobile-toggle{display:block}
  .tegy-navrow{display:none}.tegy-navrow.is-open{display:block}.tegy-navrow__inner{display:block;padding:20px 0}.tegy-nav__list{display:grid;gap:0}.tegy-nav__list a{display:block;padding:13px 0;border-bottom:1px solid var(--tegy-border)}.tegy-shipping{margin-top:18px;justify-content:space-between;gap:12px}.tegy-shipping strong{font-size:14px}.tegy-shipping a{min-height:44px;padding:0 18px;font-size:13px}
  .tegy-hero__inner{grid-template-columns:1fr;min-height:auto;padding:50px 30px 0}.tegy-hero__copy{text-align:center}.tegy-hero__eyebrow{font-size:34px}.tegy-hero h1{font-size:62px}.tegy-hero__visual{margin-top:20px}.tegy-hero__visual img{max-height:430px}
  .tegy-promos__grid,.tegy-corporate__grid,.tegy-testimonials__grid{grid-template-columns:1fr}.tegy-promo{min-height:300px}.tegy-corporate__content{padding:55px 35px}.tegy-product-grid,.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}.tegy-footer__grid{grid-template-columns:1fr 1fr}.tegy-footer__grid>div:first-child{grid-column:1/-1}
}
@media (max-width:600px){
  .tegy-container{width:calc(100% - 28px)}.tegy-contactbar .tegy-container{justify-content:center}.tegy-mainbar__inner{grid-template-columns:1fr auto auto}.tegy-account{display:none}.tegy-cart{min-width:105px}.tegy-cart__total{font-size:14px}.tegy-brand .custom-logo{max-width:135px}.tegy-brand__text{font-size:25px}
  .tegy-shipping{align-items:flex-start;flex-direction:column}.tegy-hero__inner{padding:42px 20px 0}.tegy-hero__eyebrow{font-size:28px}.tegy-hero h1{font-size:50px}.tegy-section{padding:55px 0}.tegy-promos{padding-top:28px}.tegy-promo{grid-template-columns:1fr;min-height:auto}.tegy-promo__copy{padding:36px 28px 10px}.tegy-promo h2{font-size:42px}.tegy-promo__image{height:220px}.tegy-section-title,.tegy-testimonials h2{font-size:32px}.tegy-product-grid,.woocommerce ul.products{grid-template-columns:1fr 1fr;gap:30px 14px}.tegy-product-card h3,.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:15px!important}.tegy-product-card__cat{font-size:13px}.tegy-rating{gap:1px}.tegy-rating span{display:none}.tegy-star{width:14px;height:14px}.tegy-corporate__image,.tegy-corporate__placeholder{min-height:320px}.tegy-corporate__content h2{font-size:38px}.tegy-footer__grid{grid-template-columns:1fr;gap:28px}.tegy-footer__grid>div:first-child{grid-column:auto}.tegy-page{padding:45px 0 70px}.tegy-page-title{font-size:36px}.woocommerce div.product .product_title{font-size:32px}
}


/* v1.1 migration guard: legacy Elementor/Roiser Home content must never leak
   into the custom Home. The PHP template is forced as the primary fix; these
   selectors are only a defensive fallback while the old plugins remain active. */
body.home.tegy-theme .elementor-location-single,
body.home.tegy-theme .elementor-location-archive,
body.home.tegy-theme .tp-el-box-countdown,
body.home.tegy-theme .tp-product-countdown,
body.home.tegy-theme .rr-product-countdown,
body.home.tegy-theme [data-countdown]{display:none!important}

/* Keep every commerce accent inside the Tegy palette. */
body.tegy-theme .woocommerce a,
body.tegy-theme .woocommerce p,
body.tegy-theme .woocommerce span,
body.tegy-theme .woocommerce div{--tegy-commerce-accent:var(--tegy-brown)}
body.tegy-theme .woocommerce .price,
body.tegy-theme .woocommerce .price *,
body.tegy-theme .woocommerce-Price-amount,
body.tegy-theme .woocommerce-Price-currencySymbol{color:var(--tegy-brown)}
body.tegy-theme .woocommerce .star-rating,
body.tegy-theme .woocommerce .star-rating:before,
body.tegy-theme .woocommerce .star-rating span:before{color:var(--tegy-brown)!important}

/* v1.4 · Opiniones y footer administrables */
.tegy-testimonial__avatar{overflow:hidden;flex:0 0 54px}
.tegy-testimonial__avatar img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}
.tegy-footer__categories{margin:0;padding:0}
.tegy-footer__categories p{margin:8px 0}
