/* Tienda y categorías: misma experiencia que inicio/carrito/checkout */

body:is(.eb-shop,.woocommerce-page):not(.woocommerce-cart):not(.woocommerce-checkout),
body:is(.eb-shop,.post-type-archive-product), body:is(.eb-shop,.tax-product_cat){
  background:
    radial-gradient(900px 640px at  4% -2%, rgba(78,203,217,.58), transparent 60%),
    radial-gradient(820px 680px at 98% 10%, rgba(240,168,112,.50), transparent 58%),
    radial-gradient(760px 620px at 24% 42%, rgba(159,220,175,.44), transparent 60%),
    radial-gradient(820px 660px at 94% 66%, rgba(78,203,217,.40), transparent 60%),
    radial-gradient(760px 620px at 16% 90%, rgba(240,168,112,.36), transparent 60%),
    linear-gradient(150deg,#eef8f8 0%,#f8f5ee 45%,#faf1e6 100%);
  background-attachment:fixed;background-repeat:no-repeat;
}
/* dejamos pasar el fondo */
body:is(.eb-shop,.tax-product_cat) #main-content,
body:is(.eb-shop,.tax-product_cat) .content-page-default,
body:is(.eb-shop,.post-type-archive-product) #main-content,
body:is(.eb-shop,.post-type-archive-product) .content-page-default{background:transparent !important;}

/* --- barra lateral en cristal --- */
body:is(.eb-shop,.tax-product_cat) .sidebar-widget,
body:is(.eb-shop,.post-type-archive-product) .sidebar-widget{
  background:rgba(255,255,255,.38);
  backdrop-filter:blur(36px) saturate(180%);-webkit-backdrop-filter:blur(36px) saturate(180%);
  border:1px solid rgba(255,255,255,.8);
  border-radius:var(--fib-3, 21px);
  padding:var(--fib-3, 21px) !important;
  margin-bottom:var(--fib-2, 13px) !important;
  box-shadow:0 12px 40px rgba(31,41,42,.10), inset 0 1px 0 rgba(255,255,255,.75);
}
body:is(.eb-shop,.tax-product_cat) .widget-title,
body:is(.eb-shop,.post-type-archive-product) .widget-title{
  font-family:'Albert Sans',system-ui,sans-serif !important;
  font-size:12.5px !important;font-weight:700 !important;
  letter-spacing:.09em !important;text-transform:uppercase !important;
  color:#6b6864 !important;margin-bottom:var(--fib-2, 13px) !important;
}
/* el botón FILTER verde chillón → negro del sistema */
body:is(.eb-shop,.tax-product_cat) .price_slider_amount button,
body:is(.eb-shop,.post-type-archive-product) .price_slider_amount button,
body:is(.eb-shop,.tax-product_cat) .widget_price_filter button{
  background:#000 !important;color:#fff !important;border:none !important;
  border-radius:999px !important;padding:10px 22px !important;
  font-size:13px !important;font-weight:700 !important;
  text-transform:none !important;letter-spacing:0 !important;
  box-shadow:0 8px 20px rgba(0,0,0,.2) !important;
}
/* barra de orden / vistas */
body:is(.eb-shop,.tax-product_cat) .shop-toolbar,
body:is(.eb-shop,.tax-product_cat) .woocommerce-ordering,
body:is(.eb-shop,.post-type-archive-product) .shop-toolbar,
body:is(.eb-shop,.post-type-archive-product) .woocommerce-ordering{
  background:rgba(255,255,255,.38);
  backdrop-filter:blur(28px) saturate(170%);-webkit-backdrop-filter:blur(28px) saturate(170%);
  border:1px solid rgba(255,255,255,.8);
  border-radius:999px;padding:var(--fib-1, 8px) var(--fib-3, 21px);
}
body:is(.eb-shop,.tax-product_cat) select, body:is(.eb-shop,.post-type-archive-product) select{
  font-family:'Albert Sans',system-ui,sans-serif !important;
  border:none !important;background:transparent !important;
  font-size:13px !important;font-weight:600 !important;
  text-transform:none !important;
}
/* descripción de la categoría, con aire */
body:is(.eb-shop,.tax-product_cat) .term-description{
  font-size:14.5px;color:#4a4744;line-height:1.6;
  max-width:70ch;margin-bottom:var(--fib-4, 34px);
}

/* ============ Barra de rango de precio ============ */
.price_slider.ui-slider{
  background:rgba(22,21,20,.12) !important;
  height:5px !important;border:none !important;border-radius:999px !important;
  margin:var(--fib-3,21px) 0 var(--fib-2,13px) !important;
}
.price_slider .ui-slider-range{
  background:#161514 !important;border:none !important;border-radius:999px !important;
}
.price_slider .ui-slider-handle{
  width:18px !important;height:18px !important;top:-7px !important;
  background:#fff !important;border:2px solid #161514 !important;
  border-radius:50% !important;box-shadow:0 2px 8px rgba(0,0,0,.22) !important;
  cursor:grab;
}
.price_slider .ui-slider-handle:active{cursor:grabbing;transform:scale(1.1);}
.price_label, .price_slider_amount .price_label{
  font-size:13px !important;color:#6b6864 !important;font-weight:600 !important;
}
.price_slider_amount input[type="text"]{display:none !important;}

/* ============ Barra de orden / vistas ============ */
.shop-toolbar, .bzotech-shop-toolbar, .woocommerce-ordering, .orderby-wrapper{
  background:rgba(255,255,255,.38) !important;
  backdrop-filter:blur(28px) saturate(170%);-webkit-backdrop-filter:blur(28px) saturate(170%);
  border:1px solid rgba(255,255,255,.8) !important;
  border-radius:999px !important;
  padding:var(--fib-1,8px) var(--fib-3,21px) !important;
}
body.woocommerce select.orderby, body.woocommerce-page select.orderby,
.orderby, select[name="orderby"]{
  font-family:'Albert Sans',system-ui,sans-serif !important;
  font-size:13px !important;font-weight:700 !important;
  text-transform:none !important;letter-spacing:0 !important;
  border:none !important;background:transparent !important;color:#161514 !important;
  box-shadow:none !important;
}
/* iconos de vista (lista/rejilla) */
.shop-view a, .change-view a, .view-mode a{color:#8a8681 !important;transition:color .2s ease;}
.shop-view a.active, .change-view a.active, .view-mode a.active{color:#161514 !important;}

/* ============ Paginación ============ */
.woocommerce-pagination .pagi-nav,
.woocommerce-pagination ul.page-numbers{
  display:flex;gap:var(--fib-1,8px);justify-content:center;align-items:center;
  list-style:none;margin:var(--fib-4,34px) 0 0;padding:0;
}
.woocommerce-pagination a.page-numbers,
.woocommerce-pagination span.page-numbers{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:42px;height:42px;padding:0 var(--fib-2,13px);
  border-radius:999px !important;
  background:rgba(255,255,255,.45) !important;
  backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);
  border:1px solid rgba(255,255,255,.8) !important;
  color:#161514 !important;text-decoration:none;
  font-size:13.5px;font-weight:700;font-family:'Albert Sans',system-ui,sans-serif;
  text-transform:none !important;letter-spacing:0 !important;
  transition:transform .16s ease, box-shadow .2s ease;
}
.woocommerce-pagination a.page-numbers:hover{transform:translateY(-2px);box-shadow:0 8px 18px rgba(31,41,42,.14);}
.woocommerce-pagination .page-numbers.current{
  background:#161514 !important;color:#fff !important;border-color:#161514 !important;
}
.woocommerce-pagination a.next, .woocommerce-pagination a.prev{
  background:#161514 !important;color:#fff !important;border-color:#161514 !important;
  box-shadow:0 8px 20px rgba(0,0,0,.2) !important;
}

/* ============ FICHA DE PRODUCTO ============ */
body.single-product{
  background:
    radial-gradient(900px 640px at  4% -2%, rgba(78,203,217,.58), transparent 60%),
    radial-gradient(820px 680px at 98% 10%, rgba(240,168,112,.50), transparent 58%),
    radial-gradient(760px 620px at 24% 42%, rgba(159,220,175,.44), transparent 60%),
    radial-gradient(820px 660px at 94% 66%, rgba(78,203,217,.40), transparent 60%),
    linear-gradient(150deg,#eef8f8 0%,#f8f5ee 45%,#faf1e6 100%);
  background-attachment:fixed;background-repeat:no-repeat;
}
/* título en caja alta → normal */
body.single-product .product_title{
  text-transform:none !important;
  font-size:clamp(24px,2.6vw,32px) !important;
  font-weight:700 !important;letter-spacing:-.02em !important;line-height:1.15 !important;
}
/* galería e info en cristal */
body.single-product .woocommerce-product-gallery,
body.single-product .summary.entry-summary{
  background:rgba(255,255,255,.38);
  backdrop-filter:blur(36px) saturate(180%);-webkit-backdrop-filter:blur(36px) saturate(180%);
  border:1px solid rgba(255,255,255,.8);
  border-radius:var(--fib-4,34px);
  padding:var(--fib-4,34px) !important;
  box-shadow:0 12px 40px rgba(31,41,42,.10), inset 0 1px 0 rgba(255,255,255,.75);
}
body.single-product .woocommerce-product-gallery img{border-radius:var(--fib-3,21px);}
body.single-product .flex-control-thumbs img,
body.single-product .woocommerce-product-gallery__image--placeholder img{border-radius:var(--fib-2,13px);}

/* precio */
body.single-product .summary .price,
body.single-product .summary .price .woocommerce-Price-amount{
  color:#161514 !important;font-weight:700 !important;
}
/* cantidad en pastilla */
body.single-product .detail-qty, body.single-product .quantity{
  background:rgba(255,255,255,.55) !important;
  backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);
  border:1px solid rgba(255,255,255,.9) !important;
  border-radius:999px !important;overflow:hidden;
}
body.single-product .qty-up, body.single-product .qty-down{
  width:38px;height:40px;display:flex;align-items:center;justify-content:center;color:#161514 !important;
}
body.single-product input.qty{border:none !important;background:transparent !important;font-weight:700 !important;}

/* botón principal */
body.single-product .single_add_to_cart_button{
  background:#000 !important;color:#fff !important;border:none !important;
  border-radius:999px !important;
  padding:var(--fib-2,13px) var(--fib-5,55px) !important;
  font-size:15px !important;font-weight:700 !important;
  text-transform:none !important;letter-spacing:0 !important;
  box-shadow:0 var(--fib-1,8px) var(--fib-3,21px) rgba(0,0,0,.2) !important;
  transition:transform .12s ease, box-shadow .2s ease;
}
body.single-product .single_add_to_cart_button:hover{box-shadow:0 12px 28px rgba(0,0,0,.26) !important;}
body.single-product .single_add_to_cart_button:active{transform:scale(.98);}

/* el corazón verde chillón → chip de cristal */
body.single-product .yith-wcwl-add-to-wishlist,
body.single-product .add_to_wishlist,
body.single-product .product-compare,
body.single-product .compare{
  background:rgba(255,255,255,.5) !important;
  backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);
  border:1px solid rgba(22,21,20,.14) !important;
  border-radius:999px !important;
  color:#161514 !important;
  padding:9px var(--fib-2,13px) !important;
  font-size:13px !important;font-weight:600 !important;
  box-shadow:none !important;
}
body.single-product .yith-wcwl-add-to-wishlist *{background:transparent !important;color:#161514 !important;}

/* pestañas de descripción */
body.single-product .woocommerce-tabs ul.tabs{
  background:rgba(255,255,255,.38);
  backdrop-filter:blur(28px);-webkit-backdrop-filter:blur(28px);
  border:1px solid rgba(255,255,255,.8);
  border-radius:999px;padding:var(--fib-1,8px);
  display:inline-flex;gap:4px;list-style:none;margin:0 0 var(--fib-3,21px);
}
body.single-product .woocommerce-tabs ul.tabs li{background:none !important;border:none !important;margin:0 !important;}
body.single-product .woocommerce-tabs ul.tabs li a{
  border-radius:999px;padding:9px var(--fib-3,21px) !important;
  font-size:13.5px !important;font-weight:700 !important;
  text-transform:none !important;color:#6b6864 !important;
}
body.single-product .woocommerce-tabs ul.tabs li.active a{background:#161514;color:#fff !important;}
body.single-product .woocommerce-tabs .panel{
  background:rgba(255,255,255,.38);
  backdrop-filter:blur(30px) saturate(175%);-webkit-backdrop-filter:blur(30px) saturate(175%);
  border:1px solid rgba(255,255,255,.8);
  border-radius:var(--fib-3,21px);padding:var(--fib-4,34px) !important;
}
/* migas */
body.single-product .woocommerce-breadcrumb,
body:is(.eb-shop,.tax-product_cat) .woocommerce-breadcrumb{
  font-size:13px !important;color:#6b6864 !important;
  font-family:'Albert Sans',system-ui,sans-serif !important;
}
body.single-product .woocommerce-breadcrumb a{color:#2b98a5 !important;}

/* --- ajustes con los nombres reales del tema --- */
/* el titulo venia en MAYUSCULAS y pequeno */
body.single-product .product-title-single{
  text-transform:none !important;
  font-size:clamp(24px,2.6vw,32px) !important;
  font-weight:700 !important;letter-spacing:-.02em !important;
  line-height:1.15 !important;
  font-family:'Albert Sans',system-ui,sans-serif !important;
}
/* la galeria del tema (.product-detail) en cristal */
body.single-product .product-detail{
  background:rgba(255,255,255,.38) !important;
  backdrop-filter:blur(36px) saturate(180%);-webkit-backdrop-filter:blur(36px) saturate(180%);
  border:1px solid rgba(255,255,255,.8);
  border-radius:var(--fib-4,34px);
  padding:var(--fib-3,21px) !important;
  box-shadow:0 12px 40px rgba(31,41,42,.10), inset 0 1px 0 rgba(255,255,255,.75);
}
body.single-product .product-detail img{border-radius:var(--fib-3,21px);}
body.single-product .product-detail .slick-slide img,
body.single-product .gallery-thumb img{border-radius:var(--fib-2,13px);}

/* el corazon verde chillon de ShopEngine */
body.single-product button.shopengine_add_to_list_action,
body.single-product .shopengine-wishlist,
body.single-product .shopengine_comparison_add_to_list_action{
  background:rgba(255,255,255,.55) !important;
  backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);
  border:1px solid rgba(22,21,20,.14) !important;
  border-radius:999px !important;
  width:44px !important;height:44px !important;
  display:inline-flex !important;align-items:center;justify-content:center;
  color:#6b6864 !important;box-shadow:none !important;
  transition:background .2s ease, color .2s ease;
}
body.single-product button.shopengine_add_to_list_action:hover{
  background:rgba(255,255,255,.8) !important;color:#c94b2f !important;
}
body.single-product button.shopengine_add_to_list_action svg,
body.single-product button.shopengine_add_to_list_action i{color:inherit !important;fill:currentColor !important;}

/* iconos sociales al pie de la ficha */
body.single-product .product-share a, body.single-product .social-share a{
  width:36px;height:36px;border-radius:50%;
  display:inline-flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,.5);
  backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
  border:1px solid rgba(255,255,255,.8);
  color:#6b6864 !important;margin-right:var(--fib-1,8px);
}
body.single-product .product-share a:hover{color:#2b98a5 !important;}

/* ==========================================================
   v4 — UNA sola tipografía, precio sin naranja, botones cristal
   ========================================================== */

/* 1 · Tipografía única (Albert Sans) en toda la tienda.
      Se excluyen los <i> y las clases de iconos: esas fuentes
      dibujan símbolos, no letras, y cambiarlas rompe los iconos. */
body:is(.eb-shop,.woocommerce-page,.tax-product_cat,.tax-product_tag,.single-product,.post-type-archive-product)
  :is(h1,h2,h3,h4,h5,h6,p,a,li,dt,dd,td,th,label,input,select,textarea,button,bdi,strong,em,small,figcaption,blockquote,ins,del),
body:is(.eb-shop,.woocommerce-page,.tax-product_cat,.tax-product_tag,.single-product,.post-type-archive-product)
  span:not([class*="icon"]):not([class*="la-"]):not([class*="fa"]):not([class*="eicon"]):not([class*="jki"]) {
    font-family: 'Albert Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif !important;
}

/* 2 · Precio: fuera el naranja. Tinta de la marca, cifras alineadas. */
body:is(.eb-shop,.woocommerce-page,.tax-product_cat,.tax-product_tag,.single-product) :is(.price,.product-price,.woocommerce-Price-amount,.amount,.woocommerce-Price-currencySymbol),
body:is(.eb-shop,.woocommerce-page,.tax-product_cat,.tax-product_tag,.single-product) .price :is(bdi,span,ins) {
    color: #161514 !important;
    font-variant-numeric: tabular-nums;
    letter-spacing: -.01em;
}
body:is(.eb-shop,.woocommerce-page,.tax-product_cat,.single-product) .price :is(del,del *) {
    color: rgba(22,21,20,.42) !important;   /* precio anterior, discreto */
    font-weight: 400 !important;
}
body:is(.eb-shop,.woocommerce-page,.tax-product_cat,.single-product) .price :is(ins,ins *) {
    text-decoration: none !important;
    font-weight: 600 !important;
}
body:is(.eb-shop,.woocommerce-page,.tax-product_cat,.tax-product_tag) .product-price.price { font-weight: 600 !important; }

/* 3 · Botón "Añadir al carrito" de las tarjetas: era un círculo negro
      sólido. Se convierte en el mismo cristal que la portada. */
body:is(.eb-shop,.woocommerce-page,.tax-product_cat,.tax-product_tag,.post-type-archive-product) a.addcart-link {
    background: rgba(255,255,255,.55) !important;
    -webkit-backdrop-filter: blur(21px) saturate(180%);
    backdrop-filter: blur(21px) saturate(180%);
    border: 1px solid rgba(255,255,255,.72) !important;
    box-shadow: 0 8px 21px rgba(31,42,38,.13), inset 0 1px 0 rgba(255,255,255,.8) !important;
    color: #161514 !important;
    border-radius: 999px !important;
    transition: background .34s cubic-bezier(.22,.61,.36,1), color .34s, transform .34s;
}
body:is(.eb-shop,.woocommerce-page,.tax-product_cat,.tax-product_tag,.post-type-archive-product) a.addcart-link:hover {
    background: rgba(22,21,20,.92) !important;
    color: #fff !important;
    transform: translateY(-2px);
}
body:is(.eb-shop,.woocommerce-page,.tax-product_cat,.tax-product_tag) a.addcart-link :is(i,span) { color: inherit !important; }

/* 4 · Botón "Filtrar": era un rectángulo verde de esquinas rectas. */
body:is(.eb-shop,.woocommerce-page,.tax-product_cat,.tax-product_tag) :is(button.elbzotech-bt-default,.load-shop-ajax,.price_slider_amount .button) {
    background: rgba(255,255,255,.5) !important;
    -webkit-backdrop-filter: blur(21px) saturate(180%);
    backdrop-filter: blur(21px) saturate(180%);
    border: 1px solid rgba(255,255,255,.7) !important;
    box-shadow: 0 5px 13px rgba(31,42,38,.1), inset 0 1px 0 rgba(255,255,255,.8) !important;
    color: #161514 !important;
    border-radius: 999px !important;
    padding: 0 21px !important;
    height: 42px !important;
    line-height: 42px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    transition: background .34s cubic-bezier(.22,.61,.36,1), color .34s;
}
body:is(.eb-shop,.woocommerce-page,.tax-product_cat,.tax-product_tag) :is(button.elbzotech-bt-default,.load-shop-ajax):hover {
    background: rgba(22,21,20,.92) !important;
    color: #fff !important;
}

/* 5 · Títulos de la barra lateral: mismo tipo, sin mayúsculas forzadas. */
body:is(.eb-shop,.woocommerce-page,.tax-product_cat,.tax-product_tag) .sidebar .widget-title {
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: .01em !important;
    text-transform: none !important;
    color: #161514 !important;
}

/* 3b · Gana a la regla negra de glass-cards-v2 (que pesaba más). */
body.eb-cards .action-buttons a.addcart-link,
body.eb-cards .product-info a.addcart-link {
    background: rgba(255,255,255,.55) !important;
    border: 1px solid rgba(255,255,255,.72) !important;
    color: #161514 !important;
    border-radius: 999px !important;
    box-shadow: 0 8px 21px rgba(31,42,38,.13), inset 0 1px 0 rgba(255,255,255,.8) !important;
}
body.eb-cards .action-buttons a.addcart-link:hover,
body.eb-cards .product-info a.addcart-link:hover {
    background: rgba(22,21,20,.92) !important;
    color: #fff !important;
}
body.eb-cards a.addcart-link :is(i,span,svg) { color: inherit !important; fill: currentColor !important; }
