/* Small additions on top of style.css to wire up dynamic WordPress/WooCommerce
   markup (pagination links, native add-to-cart form, WC notices) into the
   existing visual language without touching the original stylesheet. */

.pagination a.page-numbers,
.pagination span.page-numbers{
  width:42px;height:42px;
  border-radius:50%;
  border:1px solid var(--line-dark);
  display:flex;align-items:center;justify-content:center;
  font-size:13.5px;
  font-weight:600;
  color:#425257;
  background:var(--white);
  text-decoration:none;
}
.pagination span.page-numbers.current{background:var(--teal-950);border-color:var(--teal-950);color:var(--white);}
.pagination a.page-numbers:hover{border-color:var(--teal-500);color:var(--teal-700);}
.pagination span.dots{border:none;background:none;}

.product-price{font-weight:700;color:var(--teal-800);font-size:.95rem;}

.woocommerce-message, .woocommerce-error, .woocommerce-info,
.woocommerce-notice{
  list-style:none;background:#e8f7f0;border:1px solid #b7e4cd;color:#1a7a4c;
  padding:14px 20px;border-radius:10px;margin:0 0 20px;
}
.woocommerce-error{background:#fdecec;border-color:#f3b9b9;color:#a02222;}

.filter-option input[type="checkbox"]{accent-color:var(--teal-800);}

/* Content used to fade/slide in on scroll (.reveal, driven by an
   IntersectionObserver in main.js). Some sections only became visible
   after scrolling deep into them on mobile, which read as "missing"
   content — so it's now always shown, no animation. */
.reveal{opacity:1;transform:none;}

.clear-filters-inline{
  margin-left:10px;
  font-size:13px;
  font-weight:600;
  color:var(--teal-700);
  text-decoration:underline;
}
.clear-filters-inline:hover{color:var(--teal-950);}

/* WooCommerce's own stylesheet ships ".woocommerce img{height:auto;max-width:100%}",
   which outranks (or ties and loses on load order to) some of our single-class
   image-sizing rules on product pages. These qualified selectors make sure our
   sizing always wins regardless of plugin load order. */
.pdp-price-row .pdp-price-brand{height:60px;width:auto;}
.pdp-gallery .pdp-brand-badge img{height:44px;width:auto;}

/* Custom Logo (Apariencia > Personalizar > Identidad): the_custom_logo()
   prints its own <a class="custom-logo-link"><img class="custom-logo">,
   so it's sized directly instead of via the .brand img rule. */
.site-header .brand{display:flex;align-items:center;}
.site-header .brand img.custom-logo{height:56px;width:auto;max-width:220px;object-fit:contain;border-radius:8px;}
.mobile-nav-head .mobile-logo{display:inline-flex;}
.mobile-nav-head .mobile-logo img.custom-logo{height:44px;width:auto;max-width:180px;object-fit:contain;border-radius:8px;}
.footer-brand .footer-logo{display:inline-flex;margin-bottom:18px;}
.footer-brand .footer-logo img.custom-logo{height:64px;width:auto;max-width:240px;object-fit:contain;}

/* Social icons, 20% bigger than the base design (footer row + the
   floating sidebar on the left edge). */
.footer-social .icon-btn svg{width:21.6px;height:21.6px;}
.social-float svg{width:24px;height:24px;}
.social-float{gap:5px;}
.social-float a{border-bottom:none;}
@media (max-width:640px){
  .social-float svg{width:20.4px;height:20.4px;}
}

/* Catalog site: no shopping cart, and the promo top bar is dropped on
   mobile to save space (same breakpoint the nav collapses at). */
@media (max-width:860px){
  .top-bar{display:none;}
  .brands-logos{flex-direction:column;gap:40px;}
  .brands-logos .brand-logo{height:140px;}
  .breadcrumb{flex-wrap:wrap;row-gap:4px;font-size:12px;}
}
