/*
Theme Name: Barfix Theme
Description: Tema de bloques para Barfix Pet Superfoods. Gutenberg y WooCommerce.
Version: 1.1.0
Requires at least: 6.5
Requires PHP: 8.0
Author: Barfix
License: GPL-2.0-or-later
Text Domain: barfix-theme
*/
:root{--bf-wine:#671d4e;--bf-cream:#fcf6ed;--bf-peach:#ffe0b8;--bf-purple:#291b48;--bf-pink:#e7c9d8;--bf-text:#252027}
body{background:var(--bf-cream);color:var(--bf-text);font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif} h1,h2,h3{color:var(--bf-wine);letter-spacing:-.035em;line-height:1.12} a{text-underline-offset:3px} a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #ad7125;outline-offset:4px} .wp-site-blocks{padding-top:0;padding-bottom:0}.bf-header{padding:18px 0;border-bottom:1px solid #671d4e15}.bf-header .wp-block-site-logo img{max-width:180px;height:auto}.bf-nav{display:flex;align-items:center;gap:22px;flex-wrap:wrap}.bf-nav a{text-decoration:none;color:var(--bf-text);font-weight:650;font-size:.93rem}.bf-nav a:hover{color:var(--bf-wine);text-decoration:underline}.bf-nav .bf-contact{background:var(--bf-wine);color:white;border-radius:50px;padding:10px 18px}.bf-hero{position:relative;overflow:hidden;background:linear-gradient(115deg,#fff3e6 0%,#fcf6ed 60%,#e7c9d8 100%);border-radius:30px;padding:clamp(24px,4vw,64px);margin-top:22px!important}.bf-hero h1{font-size:clamp(2.7rem,5.6vw,5.4rem);font-weight:850;line-height:.99;margin:0}.bf-hero .wp-block-image img{border-radius:38% 20% 28% 16%;width:100%;height:auto;display:block}.bf-eyebrow{color:var(--bf-wine);font-weight:800;letter-spacing:.09em;font-size:.8rem;text-transform:uppercase}.bf-section{padding-block:clamp(20px,3vw,42px)}.bf-section h2{font-size:clamp(1.65rem,3vw,2.6rem);font-weight:800;margin-top:0}.bf-species .wp-block-column{border-radius:25px;padding:22px;overflow:hidden}.bf-species .wp-block-column:first-child{background:var(--bf-peach)}.bf-species .wp-block-column:last-child{background:var(--bf-pink)}.bf-species img{border-radius:20px;max-height:150px;object-fit:cover;width:100%}.bf-species h3{font-size:1.65rem;margin:0}.bf-products{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}.bf-product{background:#f8eadb;border-radius:20px;overflow:hidden;padding:12px}.bf-product img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:14px}.bf-product h3{font-size:1rem;margin:.65em 0}.bf-demo-note{font-size:.8rem;color:#66545c}.bf-benefits .wp-block-column{background:#fff9f1;border:1px solid #e9d9cb;border-radius:20px;padding:22px}.bf-benefits h3{font-size:1.13rem;margin:0}.bf-benefits p{font-size:.94rem;margin:.5em 0 0}.bf-icon{display:block;width:48px;height:48px;color:var(--bf-wine)}.bf-benefits .wp-block-image{margin:0}.bf-benefits .wp-block-image img{width:66px;height:66px;object-fit:contain}.bf-promo{background:#f4d9d6;border-radius:30px;padding:32px}.bf-promo h2{margin:0}.bf-tools .wp-block-column{border-radius:24px;overflow:hidden;background:#f8eadb;padding:22px}.bf-tools .wp-block-column:first-child{background:var(--bf-purple);color:white}.bf-tools .wp-block-column:first-child h3,.bf-tools .wp-block-column:first-child a:not(.wp-block-button__link){color:white}.bf-tools img{width:100%;height:130px;object-fit:cover;border-radius:16px}.bf-network{background:var(--bf-wine);color:white;border-radius:28px;padding:clamp(24px,4vw,44px)}.bf-network h2{color:white;margin:0}.bf-network .wp-block-button__link,.bf-tools .wp-block-column:first-child .wp-block-button__link{background:var(--bf-peach);color:#40132f}.bf-faq details{border-bottom:1px solid #e4d4c9;padding:16px 0}.bf-faq summary{cursor:pointer;font-weight:650}.bf-footer{background:var(--bf-purple);color:white;padding:42px 24px;margin-top:44px}.bf-footer h2,.bf-footer h3,.bf-footer a{color:white}.bf-footer .bf-nav a{color:white}.bf-footer .bf-nav{gap:12px}.bf-footer p{font-size:.9rem}.wp-block-button__link{font-weight:700}.woocommerce ul.products li.product,.wc-block-product{background:#fff9f1;border-radius:18px;padding:12px;box-sizing:border-box}.woocommerce ul.products li.product a img{border-radius:12px}.woocommerce ul.products li.product .price{color:var(--bf-wine);font-weight:700}.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{background:var(--bf-wine);color:white;border-radius:30px}.woocommerce a.button:hover,.woocommerce button.button:hover{background:#49143a;color:white}.woocommerce div.product .woocommerce-tabs{margin-top:36px}.bf-page{min-height:50vh;padding-block:36px}.bf-page .wp-block-post-title{font-size:clamp(2rem,4vw,3.5rem)}@media(max-width:850px){.bf-products{grid-template-columns:repeat(3,minmax(0,1fr))}.bf-header .wp-block-group{flex-wrap:wrap}.bf-nav{gap:12px}.bf-hero{margin-inline:0}.bf-hero .wp-block-columns{gap:20px}}@media(max-width:600px){.bf-products{grid-template-columns:repeat(2,minmax(0,1fr))}.bf-header .wp-block-site-logo img{max-width:135px}.bf-nav{font-size:.85rem;gap:10px}.bf-nav a{font-size:.85rem}.bf-hero h1{font-size:2.65rem}.bf-hero{padding:24px}.bf-section{padding-block:20px}.bf-benefits .wp-block-column{padding:16px}.bf-footer{padding:28px 18px}.bf-species .wp-block-columns{gap:12px}.bf-tools .wp-block-columns{gap:14px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* 1.1 — Wide storefront: override nested Gutenberg constrained layouts only in Barfix sections. */
:root{--bf-page-width:1440px;--bf-section-gap:clamp(30px,4vw,64px)}
.wp-site-blocks > main:has(.bf-hero),main:has(.bf-hero) > .wp-block-post-content{width:100%;max-width:var(--bf-page-width)!important;margin-inline:auto!important;box-sizing:border-box}
.wp-block-post-content:has(.bf-hero) > :is(.bf-hero,.bf-section,.bf-promo,.bf-network){width:100%;max-width:none!important;margin-inline:0!important;box-sizing:border-box;margin-block-start:var(--bf-section-gap)!important}
:is(.bf-hero,.bf-section,.bf-promo,.bf-network).is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)){max-width:none!important;width:auto;margin-inline:0!important}
:is(.bf-hero,.bf-section,.bf-promo,.bf-network) .wp-block-column{min-width:0;box-sizing:border-box;overflow-wrap:normal;word-break:normal}
.bf-hero{padding:clamp(28px,4vw,64px);margin-top:24px!important;background:linear-gradient(110deg,#fff3e6,#fcf6ed 55%,#e7c9d8);}
.bf-hero > .wp-block-columns{align-items:center!important;gap:clamp(24px,4vw,60px);margin:0!important}
.bf-hero h1{font-size:clamp(2.7rem,5vw,5.2rem);line-height:1.02;overflow-wrap:normal!important;word-break:normal!important;hyphens:none;letter-spacing:-.045em;max-width:100%}
.bf-hero .wp-block-column:first-child > p:not(.bf-eyebrow){font-size:clamp(1rem,1.5vw,1.25rem);max-width:42ch}
.bf-hero .wp-block-image{margin:0!important;width:100%}.bf-hero .wp-block-image img{width:100%;height:auto;border-radius:24px;object-fit:contain}
.bf-section{padding-block:0}.bf-section h2{margin-bottom:22px;font-size:clamp(1.7rem,2.7vw,2.5rem)}
.bf-species .wp-block-columns,.bf-benefits .wp-block-columns,.bf-tools .wp-block-columns{gap:20px}
.bf-species .wp-block-column{display:grid;grid-template-columns:minmax(0, .95fr) minmax(0,1.1fr);column-gap:24px;align-content:center;align-items:center;padding:20px;min-height:190px}
.bf-species .wp-block-column > .wp-block-image{grid-column:1;grid-row:1 / span 3;margin:0!important;align-self:stretch}.bf-species .wp-block-image img{height:100%;max-height:190px;object-fit:cover}.bf-species .wp-block-column > :not(.wp-block-image){grid-column:2;margin-block:4px!important}
.bf-product{padding:12px;min-width:0}.bf-product img{aspect-ratio:1/1.12;object-fit:contain}.bf-product h3{font-size:clamp(.9rem,1.3vw,1.1rem)}
.bf-benefits .wp-block-column{display:grid;grid-template-columns:76px minmax(0,1fr);column-gap:16px;align-content:start;padding:22px}.bf-benefits .wp-block-image{grid-column:1;grid-row:1/span 2}.bf-benefits h3,.bf-benefits p{grid-column:2}.bf-benefits h3{font-size:1.12rem}.bf-benefits p{line-height:1.5}
.bf-tools .wp-block-column{display:flex;flex-direction:column;gap:10px;padding:20px}.bf-tools .wp-block-image{margin:0}.bf-tools img{height:clamp(120px,15vw,210px)}.bf-tools h3{font-size:clamp(1.25rem,2vw,1.65rem);margin:4px 0}.bf-tools p{margin:0}.bf-tools .wp-block-shortcode{margin-top:auto}
.bf-promo > .wp-block-columns,.bf-network > .wp-block-columns{align-items:center!important;margin:0!important;gap:24px}.bf-promo .wp-block-column:last-child,.bf-network .wp-block-column:last-child{display:flex;justify-content:flex-end}.bf-network h2,.bf-promo h2{font-size:clamp(1.6rem,2.7vw,2.4rem)}
.bf-nav{gap:clamp(12px,2vw,28px)}.bf-header{max-width:var(--bf-page-width)!important;margin-inline:auto!important}.bf-header .wp-block-site-logo img{max-width:200px}
.bf-footer{margin-top:var(--bf-section-gap)!important}.bf-footer > .alignwide{max-width:var(--bf-page-width)!important}
.wp-block-button__link{display:inline-block;max-width:100%;box-sizing:border-box;line-height:1.25;white-space:normal;overflow-wrap:normal;word-break:normal;text-decoration:none}
@media(max-width:1050px){.bf-hero h1{font-size:clamp(2.5rem,5vw,4rem)}.bf-species .wp-block-column{column-gap:12px;padding:16px}.bf-benefits .wp-block-column{grid-template-columns:52px minmax(0,1fr);gap:10px;padding:16px}.bf-benefits .wp-block-image img{width:52px;height:52px}}
@media(max-width:781px){.bf-hero > .wp-block-columns{flex-wrap:wrap!important}.bf-hero > .wp-block-columns > .wp-block-column{flex-basis:100%!important}.bf-hero h1{font-size:clamp(2.5rem,8vw,4rem)}.bf-species .wp-block-column{min-height:155px}.bf-benefits .wp-block-column{grid-template-columns:62px minmax(0,1fr)}.bf-promo .wp-block-column:last-child,.bf-network .wp-block-column:last-child{justify-content:flex-start}.bf-tools img{height:180px}.bf-header .bf-nav{gap:12px}.bf-header .wp-block-site-logo img{max-width:150px}}
@media(max-width:380px){.bf-hero{padding:20px}.bf-hero h1{font-size:2.25rem}.bf-species .wp-block-column{grid-template-columns:1fr}.bf-species .wp-block-column > .wp-block-image,.bf-species .wp-block-column > :not(.wp-block-image){grid-column:1;grid-row:auto}.bf-species .wp-block-image img{max-height:125px}}
