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

body.woocommerce-page:not(.woocommerce-cart):not(.woocommerce-checkout),
body.post-type-archive-product, body.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.tax-product_cat #main-content,
body.tax-product_cat .content-page-default,
body.post-type-archive-product #main-content,
body.post-type-archive-product .content-page-default{background:transparent !important;}

/* --- barra lateral en cristal --- */
body.tax-product_cat .sidebar-widget,
body.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.tax-product_cat .widget-title,
body.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.tax-product_cat .price_slider_amount button,
body.post-type-archive-product .price_slider_amount button,
body.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.tax-product_cat .shop-toolbar,
body.tax-product_cat .woocommerce-ordering,
body.post-type-archive-product .shop-toolbar,
body.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.tax-product_cat select, body.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.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:#c96a3f !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.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;}
