.ofp-shop,.ofp-filters{--ofp-primary:#08668d;--ofp-accent:#00a6d6;--ofp-text:#162f40;--ofp-line:#e4ebef;--ofp-muted:#738696;font-family:inherit;color:var(--ofp-text)}
.ofp-shop *,.ofp-filters *{box-sizing:border-box}.ofp-shop{display:grid;grid-template-columns:minmax(220px,265px) minmax(0,1fr);gap:22px;align-items:start;width:100%}.ofp-shop:not(:has(>.ofp-filters)){grid-template-columns:1fr}.ofp-filters{background:#fff;border:1px solid var(--ofp-line);border-radius:13px;box-shadow:0 8px 30px rgba(20,52,74,.045);overflow:hidden}.ofp-filter-head{display:flex;align-items:center;justify-content:space-between;padding:19px 18px;border-bottom:1px solid var(--ofp-line);font-size:16px}.ofp-clear{border:0;background:none;color:var(--ofp-primary);font-size:12px;cursor:pointer}.ofp-group{border-bottom:1px solid var(--ofp-line)}.ofp-group-title{background:#fff;border:0;display:flex;align-items:center;justify-content:space-between;width:100%;padding:16px 18px;color:var(--ofp-text);font-weight:700;text-align:left;cursor:pointer;font-size:14px}.ofp-group-title[aria-expanded=false] span:last-child{transform:rotate(180deg)}.ofp-group-body{padding:0 18px 17px}.ofp-options{max-height:230px;overflow-y:auto}.ofp-option{display:flex;gap:9px;align-items:center;margin:9px 0;font-size:13px;cursor:pointer}.ofp-option input{accent-color:var(--ofp-primary);width:15px;height:15px}.ofp-option span{flex:1}.ofp-option small{color:var(--ofp-muted)}.ofp-search,.ofp-price input{width:100%;border:1px solid var(--ofp-line);border-radius:7px;padding:10px 11px;background:#fff;color:var(--ofp-text);font-size:13px}.ofp-search{margin-bottom:9px}.ofp-price{display:grid;grid-template-columns:1fr 1fr;gap:10px}.ofp-price label{font-size:12px;color:var(--ofp-muted)}.ofp-price input{margin-top:7px}.ofp-apply{display:block;width:calc(100% - 36px);margin:18px;background:var(--ofp-primary);color:#fff;border:0;border-radius:8px;padding:13px;font-weight:700;cursor:pointer}.ofp-main{min-width:0}.ofp-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;background:#f4f8fa;border:1px solid var(--ofp-line);border-radius:10px;padding:11px 15px;margin-bottom:18px}.ofp-count{font-size:13px;color:var(--ofp-muted)}.ofp-toolbar-actions{display:flex;align-items:center;gap:7px}.ofp-sort{border:1px solid var(--ofp-line);border-radius:7px;background:#fff;padding:9px;font-size:13px;max-width:190px}.ofp-view,.ofp-mobile-filter{border:1px solid var(--ofp-line);background:#fff;border-radius:6px;padding:8px 11px;cursor:pointer;color:var(--ofp-primary)}.ofp-mobile-filter{display:none}.ofp-products{display:grid;grid-template-columns:repeat(var(--ofp-columns,3),minmax(0,1fr));gap:16px}.ofp-product{min-width:0;border:1px solid var(--ofp-line);background:#fff;border-radius:11px;overflow:hidden;display:flex;flex-direction:column;transition:box-shadow .2s,transform .2s}.ofp-product:hover{box-shadow:0 12px 28px rgba(15,44,65,.1);transform:translateY(-2px)}.ofp-image{display:flex;align-items:center;justify-content:center;aspect-ratio:1.3;position:relative;padding:14px;background:#fff}.ofp-image img{width:100%;height:100%;object-fit:contain}.ofp-badge{position:absolute;top:12px;left:12px;background:#e6522b;color:#fff;padding:4px 8px;font-size:11px;border-radius:4px;z-index:1}.ofp-product-content{display:flex;flex:1;flex-direction:column;gap:12px;padding:14px 15px 17px}.ofp-name{font-size:13px;font-weight:700;line-height:1.5;color:var(--ofp-text);text-decoration:none;min-height:40px}.ofp-price-label{font-weight:800;color:#e45228;font-size:17px;margin-top:auto}.ofp-price-label del{font-size:12px;color:var(--ofp-muted);font-weight:400}.ofp-price-label ins{text-decoration:none}.ofp-product-actions .button,.ofp-details{display:block!important;text-align:center;background:var(--ofp-primary)!important;color:#fff!important;border-radius:7px;padding:11px 8px!important;text-decoration:none;font-size:12px!important;font-weight:700!important;border:0!important}.ofp-pagination{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}.ofp-pagination a{padding:8px 12px;border:1px solid var(--ofp-line);border-radius:7px;text-decoration:none}.ofp-pagination a[aria-current]{background:var(--ofp-primary);color:#fff}.ofp-empty{padding:45px 20px;text-align:center;border:1px dashed var(--ofp-line);border-radius:10px}.ofp-products.ofp-list{grid-template-columns:1fr}.ofp-list .ofp-product{flex-direction:row}.ofp-list .ofp-image{width:210px;max-width:35%;aspect-ratio:1.3}.ofp-list .ofp-product-content{justify-content:center}.ofp-style-compact .ofp-image{aspect-ratio:1.8}.ofp-style-compact .ofp-product-content{padding:10px}.ofp-style-minimal .ofp-product{border-radius:0;box-shadow:none;border-color:#f1f1f1}.ofp-style-minimal .ofp-toolbar{background:#fff}
@media(max-width:1050px){.ofp-products{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:767px){.ofp-shop{display:block}.ofp-shop>.ofp-filters{display:none;margin-bottom:16px}.ofp-shop.ofp-show-filters>.ofp-filters{display:block}.ofp-mobile-filter{display:inline-block}.ofp-toolbar{flex-wrap:wrap}.ofp-toolbar-actions{margin-left:auto}.ofp-products{gap:10px}.ofp-image{padding:8px}.ofp-product-content{padding:10px}.ofp-name{font-size:12px}.ofp-price-label{font-size:14px}.ofp-view{display:none}}@media(max-width:380px){.ofp-products{grid-template-columns:1fr}}
/* AJAX loading state */
.ofp-shop.ofp-loading .ofp-main{opacity:.48;pointer-events:none;transition:opacity .18s ease}
.ofp-shop.ofp-loading .ofp-toolbar:after{content:'Actualizando…';font-size:12px;color:#476c8b;margin-left:10px}
.ofp-ajax-error{padding:12px 16px;background:#fff0ee;color:#9b3026;border:1px solid #ffd0c9;border-radius:8px}

/* Independent, non-AJAX product search */
.ofp-search-widget{display:flex;align-items:center;gap:8px;padding:6px;background:#fff;border:1px solid #dce5ed;border-radius:12px;box-shadow:0 5px 22px rgba(20,49,77,.06);width:100%;max-width:100%;box-sizing:border-box}
.ofp-search-widget *{box-sizing:border-box}
.ofp-search-widget .ofp-search-icon{color:#657d90;font-size:26px;line-height:1;padding:0 5px 0 10px}
.ofp-search-widget input[type=search]{flex:1;min-width:0;box-shadow:none!important;outline:0;border:0!important;background:transparent!important;color:#183247;font-size:14px;min-height:42px;padding:8px 4px}
.ofp-search-widget button[type=submit]{border:0;background:#075e7f;color:#fff;border-radius:8px;padding:12px 21px;font-weight:700;cursor:pointer;min-height:42px;white-space:nowrap}
.ofp-search-widget button:hover{background:#04374d}
.ofp-search-style-rounded{border-radius:99px}.ofp-search-style-rounded button{border-radius:99px!important}
.ofp-search-style-minimal{box-shadow:none;border-radius:0;border-width:0 0 2px}.ofp-search-style-minimal button{border-radius:4px}
@media(max-width:480px){.ofp-search-widget{gap:2px}.ofp-search-widget button{padding:10px 12px}.ofp-search-widget .ofp-search-icon{padding-left:4px}}

/* v1.4: refined filter taxonomy presentation */
.ofp-filters .ofp-group-body{padding:0 15px 18px}
.ofp-filters .ofp-group-title{padding:17px 16px;font-size:13px;letter-spacing:.01em}
.ofp-filters .ofp-chevron{font-size:18px;color:#728a99;transition:transform .2s}
.ofp-filters .ofp-options{max-height:300px;overflow:auto;scrollbar-width:thin;scrollbar-color:#c9d8e2 transparent;padding-right:4px}
.ofp-filters .ofp-term-row{display:flex;align-items:center;gap:3px;padding-left:calc(var(--ofp-depth,0) * 11px);border-radius:7px;min-height:34px}
.ofp-filters .ofp-term-row:hover{background:#f3f8fb}
.ofp-filters .ofp-term-row[hidden]{display:none}
.ofp-filters .ofp-option{display:flex;align-items:center;gap:9px;flex:1;min-width:0;margin:0;padding:6px 5px;font-size:12px;line-height:1.35}
.ofp-filters .ofp-option input[type=checkbox]{width:16px;height:16px;flex:0 0 16px;cursor:pointer}
.ofp-filters .ofp-term-name{flex:1;min-width:0;overflow-wrap:anywhere}
.ofp-filters .ofp-term-count{flex:0 0 auto;font-size:11px;color:#607a8c;background:#edf4f8;border-radius:20px;padding:2px 6px}
.ofp-filters .ofp-term-toggle{flex:0 0 23px;width:23px;height:23px;padding:0;border:0;border-radius:5px;background:#edf5f9;color:#075e7f;font-weight:700;cursor:pointer}
.ofp-filters .ofp-term-children[hidden]{display:none}
.ofp-filters .ofp-search-wrap{display:flex;align-items:center;gap:5px;border:1px solid #dce7ef;border-radius:8px;padding:0 10px;margin-bottom:10px;color:#7792a5}
.ofp-filters .ofp-search-wrap:focus-within{border-color:#0788b3;box-shadow:0 0 0 2px rgba(7,136,179,.08)}
.ofp-filters .ofp-search-wrap .ofp-search{border:0!important;box-shadow:none!important;margin:0!important;padding:10px 2px!important;min-width:0;outline:0!important;background:transparent!important}
.ofp-filters .ofp-group-product_brand .ofp-option,.ofp-filters .ofp-group-pa_marca .ofp-option{font-weight:500}

/* v1.5: hover, marcas y accesibilidad */
.ofp-product,.ofp-image img,.ofp-product-actions a,.ofp-term-row,.ofp-option,.ofp-search-widget button{transition:background-color .22s ease,color .22s ease,border-color .22s ease,box-shadow .22s ease,transform .22s ease}
.ofp-product:hover .ofp-image img{transform:scale(1.035)}
.ofp-product-actions a:hover,.ofp-apply:hover{background:#04374d!important;color:#fff!important}
.ofp-option:hover{border-radius:6px;background:#f3f8fb}
.ofp-group-product_brand .ofp-options,.ofp-group-pa_marca .ofp-options{max-height:260px}
.ofp-search-widget:focus-within{border-color:#075e7f}
@media (prefers-reduced-motion:reduce){.ofp-product,.ofp-image img,.ofp-product-actions a,.ofp-term-row,.ofp-option{transition:none!important;transform:none!important}}

/* v1.7.4: WooCommerce AJAX cart feedback, scoped to Odisea cards */
.ofp-shop .ofp-product-actions{display:flex;flex-direction:column;gap:8px;min-width:0;width:100%}
.ofp-shop .ofp-product-actions .button.add_to_cart_button,
.ofp-shop .ofp-product-actions .button.ajax_add_to_cart{
 display:flex!important;align-items:center;justify-content:center;width:100%;
 min-height:40px;padding:11px 14px!important;margin:0!important;
 border-radius:8px;background:#075e7f!important;color:#fff!important;
 font-weight:600!important;font-size:13px!important;line-height:1.35;
 text-align:center;text-decoration:none!important;box-sizing:border-box;
 transition:background .25s ease,transform .25s ease
}
.ofp-shop .ofp-product-actions .button.add_to_cart_button:hover{background:#04374d!important;transform:translateY(-1px)}
.ofp-shop .ofp-product-actions a.added_to_cart{
 display:flex!important;align-items:center;justify-content:center;
 width:100%;min-height:36px;margin:0!important;padding:9px 12px!important;
 background:#edf7fb!important;border:1px solid #cce7f2!important;
 border-radius:8px;color:#075e7f!important;font-size:12px!important;
 font-weight:600!important;line-height:1.35;text-align:center;
 text-decoration:none!important;box-sizing:border-box;
 transition:background .2s ease,color .2s ease
}
.ofp-shop .ofp-product-actions a.added_to_cart:hover{background:#075e7f!important;color:#fff!important}
.ofp-shop .ofp-product-actions a.added_to_cart::before{content:"✓";margin-right:6px;font-weight:700}
@media(max-width:767px){
 .ofp-shop .ofp-product-actions .button.add_to_cart_button,
 .ofp-shop .ofp-product-actions a.added_to_cart{font-size:12px!important;min-height:38px}
}
