.emma-products-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px;margin:24px 0}.emma-product-card{display:flex;flex-direction:column;overflow:hidden;background:#fff;border:1px solid #e5e7eb;border-radius:14px}.emma-product-card__media{display:flex;align-items:center;justify-content:center;min-height:210px;padding:18px}.emma-product-image{width:100%;max-width:200px;height:180px;object-fit:contain}.emma-product-card__content{display:flex;flex-direction:column;flex:1;padding:18px}.emma-product-card__title{margin:0 0 10px;font-size:1rem}.emma-product-card__description{margin:0 0 18px;flex:1}.emma-amazon-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px;background:#9f1239;color:#fff!important;text-decoration:none!important;border-radius:999px;font-weight:700}.emma-amazon-button:focus-visible{outline:3px solid #2563eb;outline-offset:3px}.emma-affiliate-disclosure{font-size:.78rem;color:#6b5d00}.emma-product-image-placeholder{display:flex;align-items:center;justify-content:center;height:180px;color:#6b7280}.emma-comparison{margin:36px 0}.emma-comparison__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:18px}.emma-comparison__item{display:flex;flex-direction:column;padding:20px;background:#fff;border:1px solid #e5e7eb;border-radius:14px}.emma-featured-product{display:grid;grid-template-columns:minmax(160px,240px) 1fr;gap:24px;align-items:center;margin:36px 0;padding:26px;color:#fff;background:linear-gradient(135deg,#9f1239,#831843);border-radius:18px}.emma-featured-product__image{display:flex;align-items:center;justify-content:center;padding:12px;background:#fff;border-radius:12px}.emma-featured-product__content h3{color:#fff}.emma-amazon-button--light{background:#fff;color:#9f1239!important}.emma-affiliate-inline a{color:#9f1239;font-weight:700;text-decoration:underline;text-decoration-style:dotted}@media(max-width:600px){.emma-products-grid{display:block}.emma-product-card{flex-direction:row;margin-bottom:14px}.emma-product-card__media{flex:0 0 120px;min-height:auto;padding:12px}.emma-product-image{height:110px}.emma-product-card__description{display:none}.emma-comparison__grid{display:block}.emma-comparison__item{margin-bottom:14px}.emma-featured-product{grid-template-columns:1fr;text-align:center}.emma-featured-product__image{max-width:180px;margin:0 auto}}

/* Tabla de productos: responsive sobre el HTML real de Renderer::productsTable(). */
table.emma-products-table{width:100%;margin:1.5rem 0;border-collapse:separate;border-spacing:0;table-layout:fixed}
table.emma-products-table th,table.emma-products-table td{padding:16px;vertical-align:middle;box-sizing:border-box}
table.emma-products-table thead th:nth-child(1),table.emma-products-table tbody th[scope="row"]{width:42%}
table.emma-products-table thead th:nth-child(2),table.emma-products-table tbody td:nth-child(2){width:43%}
table.emma-products-table thead th:nth-child(3),table.emma-products-table tbody td:nth-child(3){width:15%;text-align:center}
table.emma-products-table tbody td:last-child a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:9px 16px;white-space:nowrap;text-align:center}
@media(max-width:900px){table.emma-products-table th,table.emma-products-table td{padding:12px 10px}table.emma-products-table thead th:nth-child(1),table.emma-products-table tbody th[scope="row"]{width:40%}table.emma-products-table thead th:nth-child(2),table.emma-products-table tbody td:nth-child(2){width:40%}table.emma-products-table thead th:nth-child(3),table.emma-products-table tbody td:nth-child(3){width:20%}}
@media(max-width:680px){table.emma-products-table{display:block;width:100%;border:0;table-layout:auto}table.emma-products-table caption{display:block;width:100%}table.emma-products-table thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}table.emma-products-table tbody{display:block;width:100%}table.emma-products-table tbody tr{display:block;width:100%;margin:0 0 16px;padding:14px;background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-sizing:border-box;overflow:hidden}table.emma-products-table tbody th[scope="row"],table.emma-products-table tbody td{display:block;width:100%;padding:7px 0;border:0;text-align:left;box-sizing:border-box}table.emma-products-table tbody th[scope="row"]{padding-top:0;font-size:1rem}table.emma-products-table tbody td:nth-child(2)::before,table.emma-products-table tbody td:nth-child(3)::before{display:block;margin-bottom:4px;font-size:.75rem;font-weight:600;line-height:1.3;color:#6b7280;text-transform:uppercase;letter-spacing:.03em}table.emma-products-table tbody td:nth-child(2)::before{content:"Comentario"}table.emma-products-table tbody td:nth-child(3)::before{content:"Enlace"}table.emma-products-table tbody td:nth-child(3){padding-bottom:0;text-align:left}table.emma-products-table tbody td:last-child a{display:flex;width:100%;min-height:44px;padding:10px 16px;margin-top:4px;white-space:normal;box-sizing:border-box}table.emma-products-table th,table.emma-products-table td,table.emma-products-table a{max-width:100%;overflow-wrap:anywhere;word-break:normal}}
.emma-product-cell__inner{display:flex;align-items:center;gap:14px;min-width:0}.emma-product-cell__image{flex:0 0 72px}.emma-product-cell__image img,.emma-product-cell__image .emma-product-image-placeholder{width:72px;height:72px;min-height:72px;object-fit:contain}.emma-product-cell__content{min-width:0}.emma-product-cell__name{font-weight:600;line-height:1.25}@media(max-width:680px){.emma-product-cell__inner{align-items:center}.emma-product-cell__image{flex:0 0 76px}.emma-product-cell__image img,.emma-product-cell__image .emma-product-image-placeholder{width:76px;height:76px;min-height:76px}}

table.emma-products-table{margin:40px 0;border:1px solid #eee;border-radius:12px;overflow:hidden;box-shadow:0 5px 25px rgba(0,0,0,.05);background:#fff}
table.emma-products-table caption{padding:20px;background:linear-gradient(135deg,#9f1239,#831843);color:#fff;font-size:1.15rem;font-weight:700;text-align:center}
table.emma-products-table thead th{color:#9f1239;background:#f9f9f9;border-bottom:2px solid #9f1239;text-align:left}
table.emma-products-table tbody th,table.emma-products-table tbody td{border-bottom:1px solid #eee}
table.emma-products-table tbody tr:last-child th,table.emma-products-table tbody tr:last-child td{border-bottom:0}
table.emma-products-table .emma-product-image-placeholder{display:flex;align-items:center;justify-content:center;border:1px solid #eee;border-radius:5px;background:#fff;color:#6b7280;font-size:.78rem;text-align:center}
@media(max-width:680px){table.emma-products-table{margin:24px 0;border-radius:12px;box-shadow:0 5px 20px rgba(0,0,0,.06)}table.emma-products-table caption{padding:16px;font-size:1rem}table.emma-products-table tbody tr{box-shadow:0 2px 10px rgba(0,0,0,.03)}table.emma-products-table tbody th,table.emma-products-table tbody td{border-bottom:0}}

/* Tabla consolidada: prevalece sobre las reglas heredadas anteriores. */
table.emma-products-table{width:100%;margin:32px 0;border:1px solid #ececec;border-collapse:separate;border-spacing:0;table-layout:auto;background:#fff;border-radius:14px;box-shadow:0 5px 24px rgba(0,0,0,.05);overflow:hidden}
table.emma-products-table caption{padding:18px 20px;background:linear-gradient(135deg,#9f1239,#831843);color:#fff;font-size:1.1rem;font-weight:700;line-height:1.3;text-align:center}
table.emma-products-table thead th{padding:14px 16px;color:#9f1239;background:#fafafa;border-bottom:2px solid #9f1239;font-size:.9rem;font-weight:700;text-align:left;vertical-align:middle}
table.emma-products-table tbody th,table.emma-products-table tbody td{padding:16px;border-bottom:1px solid #eee;vertical-align:middle;box-sizing:border-box}
table.emma-products-table tbody tr:last-child th,table.emma-products-table tbody tr:last-child td{border-bottom:0}
table.emma-products-table tbody th[scope="row"]{width:38%;font-weight:400;text-align:left}
table.emma-products-table tbody td:nth-child(2){width:auto;line-height:1.55}
table.emma-products-table tbody td:nth-child(3){width:160px;text-align:center}
.emma-product-cell__inner{display:flex;align-items:center;gap:14px;min-width:0}.emma-product-cell__image{display:flex;flex:0 0 72px;align-items:center;justify-content:center;width:72px}.emma-product-cell__image .emma-product-image{display:block;width:72px;max-width:72px;height:72px;object-fit:contain}.emma-product-cell__image .emma-product-image-placeholder{display:flex;align-items:center;justify-content:center;width:72px;height:72px;min-height:72px;padding:5px;border:1px solid #eee;border-radius:6px;background:#fafafa;color:#6b7280;font-size:.68rem;font-weight:400;line-height:1.15;text-align:center;box-sizing:border-box}.emma-product-cell__content{min-width:0;flex:1}.emma-product-cell__name{color:#262626;font-weight:700;line-height:1.35;overflow-wrap:break-word}
table.emma-products-table .emma-amazon-button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 16px;white-space:nowrap;text-align:center;box-sizing:border-box}
@media(max-width:900px){table.emma-products-table thead th,table.emma-products-table tbody th,table.emma-products-table tbody td{padding:12px 10px}table.emma-products-table tbody th[scope="row"]{width:40%}table.emma-products-table tbody td:nth-child(3){width:145px}.emma-product-cell__inner{gap:10px}.emma-product-cell__image{flex-basis:60px;width:60px}.emma-product-cell__image .emma-product-image,.emma-product-cell__image .emma-product-image-placeholder{width:60px;height:60px;min-height:60px}table.emma-products-table .emma-amazon-button{padding:8px 12px;white-space:normal}}
@media(max-width:680px){table.emma-products-table{display:block;width:100%;max-width:100%;margin:24px 0;border:0;border-radius:0;box-shadow:none;overflow:visible}table.emma-products-table caption{display:block;width:100%;padding:15px 16px;border-radius:12px 12px 0 0;font-size:1rem;box-sizing:border-box}table.emma-products-table thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0}table.emma-products-table tbody{display:block;width:100%}table.emma-products-table tbody tr{display:block;width:100%;max-width:100%;margin:0 0 14px;padding:14px;background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 3px 14px rgba(0,0,0,.04);box-sizing:border-box;overflow:hidden}table.emma-products-table tbody th[scope="row"],table.emma-products-table tbody td{display:block;width:100%;max-width:100%;padding:7px 0;border:0;text-align:left;box-sizing:border-box;overflow-wrap:anywhere}table.emma-products-table tbody th[scope="row"]{padding-top:0}.emma-product-cell__inner{gap:12px}.emma-product-cell__image{flex:0 0 72px;width:72px}.emma-product-cell__image .emma-product-image,.emma-product-cell__image .emma-product-image-placeholder{width:72px;height:72px;min-height:72px}.emma-product-cell__name{font-size:1rem;line-height:1.3}table.emma-products-table tbody td:nth-child(2)::before,table.emma-products-table tbody td:nth-child(3)::before{display:block;margin-bottom:4px;color:#6b7280;font-size:.72rem;font-weight:700;line-height:1.2;letter-spacing:.035em;text-transform:uppercase}table.emma-products-table tbody td:nth-child(2)::before{content:"Comentario"}table.emma-products-table tbody td:nth-child(3)::before{content:"Enlace"}table.emma-products-table tbody td:nth-child(2){margin-top:5px;line-height:1.5}table.emma-products-table tbody td:nth-child(3){width:100%;padding-bottom:0}table.emma-products-table .emma-amazon-button{display:flex;width:100%;max-width:100%;min-height:44px;margin-top:3px;padding:10px 16px;white-space:normal;box-sizing:border-box}}
@media(max-width:360px){table.emma-products-table tbody tr{padding:12px}.emma-product-cell__inner{gap:10px}.emma-product-cell__image{flex-basis:64px;width:64px}.emma-product-cell__image .emma-product-image,.emma-product-cell__image .emma-product-image-placeholder{width:64px;height:64px;min-height:64px}}

/* Neutraliza el CTA visual legacy que el tema añade bajo la tabla en móvil. */
table.emma-products-table::after{content:none!important;display:none!important}

