/* Catálogo Farmacia República Argentina: complementos al tema Twenty Twenty-Five */
.fra-whatsapp {
  display: inline-flex; align-items: center; gap: .45em; margin-top: .5em;
  padding: .55em 1em; border-radius: 999px; background: #047857; color: #fff !important;
  font-weight: 600; font-size: .9rem; line-height: 1.2; text-decoration: none !important;
}
.fra-whatsapp:hover { background: #053f2e; }
.fra-whatsapp:focus-visible { outline: 3px solid #10b981; outline-offset: 2px; }
.fra-whatsapp-grande { font-size: 1.05rem; padding: .8em 1.4em; margin: 1em 0 .5em; }
.fra-aviso { font-size: .9rem; color: #3f5a50; max-width: 46ch; }
.fra-disponible, .stock.in-stock { color: #047857 !important; font-weight: 600; }
.fra-consultar, .stock.out-of-stock { color: #8a5a00 !important; font-weight: 600; }

/* Tarjetas del listado */
.wc-block-product-template .wc-block-product,
ul.products li.product { border: 1px solid #e2ebe7; border-radius: 14px; padding: 12px; background: #fff; }
.wc-block-components-product-image img, .woocommerce-loop-product__link img { border-radius: 10px; }
.wc-block-components-product-price, .price { color: #0d1b16 !important; font-weight: 650; }
.wc-block-components-product-name, .wc-block-product .wp-block-post-title, .wc-block-product .wp-block-post-title a, .woocommerce-loop-product__title { font-size: 1rem !important; line-height: 1.3; font-weight: 600 !important; color: #0d1b16 !important; text-decoration: none !important; }

/* Pie */
.fra-pie { background: #053f2e; color: #d1fae5; margin-top: 48px; font-size: .92rem; }
.fra-pie a { color: #fff; }
.fra-pie-in { max-width: 1160px; margin: 0 auto; padding: 32px 20px; display: grid; gap: 12px; }
.fra-pie-nota { color: #a7d7c2; font-size: .82rem; margin: 0; }

/* Cabecera */
.fra-cab { background: #fff; border-bottom: 1px solid #e2ebe7; position: sticky; top: 0; z-index: 50; }
.admin-bar .fra-cab { top: 32px; }
.fra-cab-in { max-width: 1160px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.fra-marca { display: flex; align-items: center; gap: 10px; text-decoration: none !important; color: #0d1b16 !important; }
.fra-marca strong { display: block; font-size: 1.05rem; line-height: 1.2; }
.fra-marca small { display: block; color: #3f5a50; font-size: .82rem; }
.fra-cruz { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: #047857; color: #fff; flex: none; }
.fra-buscar { flex: 1 1 320px; display: flex; gap: 6px; margin: 0; }
.fra-buscar input[type=search] { flex: 1; min-width: 0; padding: .65em 1em; border: 1.5px solid #e2ebe7; border-radius: 999px; font: inherit; font-size: .95rem; }
.fra-buscar input[type=search]:focus { outline: none; border-color: #047857; }
.fra-buscar button { padding: .65em 1.2em; border: 0; border-radius: 999px; background: #047857; color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.fra-cab-wa { padding: .6em 1.1em; border-radius: 999px; border: 1.5px solid #047857; color: #047857 !important; font-weight: 600; text-decoration: none !important; font-size: .92rem; }

/* Categorías */
.fra-cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.fra-cats a { padding: .4em .95em; border-radius: 999px; background: #f6faf8; border: 1px solid #e2ebe7; color: #0d1b16 !important; font-size: .9rem; text-decoration: none !important; }
.fra-cats a:hover { border-color: #047857; }
.fra-cats a[aria-current="page"] { background: #047857; border-color: #047857; color: #fff !important; }
@media (max-width: 640px) {
  .fra-cats { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; }
  .fra-cats a { white-space: nowrap; }
  .fra-cab-wa { display: none; }
}
/* La barra de categorías baja a su propia fila bajo «Mostrando…» y la ordenación */
.wp-block-group .fra-cats, .fra-cats { flex-basis: 100%; order: 10; justify-content: flex-start; margin-top: 12px; }
