/* Fase 5G-E: estilos propios de Tienda, sin modificaciones a cabeceras ni a otras páginas. */
.shop-live[hidden],.shop-live [hidden]{display:none!important}
.shop-live{width:100%;min-width:0;color:#244b3d}










.shop-live .shop-feedback{min-height:1em;margin:8px 0 12px;font-weight:700;color:#155340}
.shop-live .shop-feedback[data-error="true"]{color:#9c352d}
.shop-live #shop-filter{display:grid;grid-template-columns:1fr 1fr auto auto;align-items:end;gap:12px;margin-bottom:18px}
.shop-live label{display:grid;gap:5px;min-width:0;font-weight:700}
.shop-live input[type="search"],.shop-live textarea{display:block;width:100%;min-width:0;padding:11px 12px;border:1px solid #bcd1c5;border-radius:9px;color:#204c3d;font:inherit;background:white}
.shop-live button{font:inherit;cursor:pointer}
.shop-live button:disabled{opacity:.55;cursor:not-allowed}
.shop-live #shop-filter button,.shop-live .shop-contact-form button,.shop-live .shop-contact{padding:10px 14px;background:#17614f;color:#fff;border:1px solid #17614f;border-radius:9px;font-weight:800}
.shop-live #shop-filter .shop-secondary{background:white;color:#17614f}
.shop-live .shop-count{color:#49685b;margin:0 0 12px}
.shop-live .shop-photo img{width:100%;height:100%;object-fit:contain;display:block}
.shop-live .shop-no-photo{font-size:41px}
.shop-live .shop-label{font-weight:800;font-size:12px;color:#1b7151;margin-bottom:8px}
.shop-live .shop-card h2{margin:0 0 9px;font-size:18px;line-height:1.35;overflow-wrap:anywhere}
.shop-live .shop-price{font-weight:850;color:#9b3a35;font-size:21px;margin:0 0 9px}
.shop-live .shop-summary{font-size:14px;line-height:1.5;overflow-wrap:anywhere;flex:1}
.shop-live .shop-summary button{display:inline;border:0;background:transparent;color:#126145;text-decoration:underline;font-weight:800;padding:3px}
.shop-live .shop-meta,.shop-live .shop-plan,.shop-live .shop-state{font-size:12px;line-height:1.4;color:#53695f;margin:6px 0}
.shop-live .shop-social{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0}
.shop-live .shop-social button{border:1px solid #bfdac8;border-radius:9px;background:#e5f4e9;color:#126345;min-width:0;padding:8px 5px;font-weight:700;line-height:1.2}
.shop-live .shop-social button[aria-pressed="true"]{background:#bfe5ca;border-color:#27894d}
.shop-live .shop-heart{font-size:21px;line-height:1;vertical-align:middle;color:#16814d}
.shop-live .shop-contact{width:100%;margin-top:2px}
.shop-live .shop-empty{padding:20px 12px;color:#5a6d61}
.shop-live .shop-info{margin:13px 0;padding:16px 18px;background:#fff7df;color:#664e20;border:1px solid #e8d7a7;border-radius:12px;line-height:1.6}
.shop-live .shop-form-preview{margin:14px 0;padding:18px;border:1px solid #e1e9df;border-radius:12px;color:#576f62;background:#f9fbf8}
.shop-live .shop-form-preview h3{margin:0 0 12px;color:#215c48;font-size:18px}
.shop-live .shop-preview-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin-bottom:20px}
.shop-live .shop-preview-grid div{border:1px solid #e2e8e4;border-radius:9px;padding:12px;background:#fff}
.shop-live .shop-preview-grid strong,.shop-live .shop-preview-grid span{display:block;font-size:14px;color:#12251e}
.shop-live .shop-account-link{margin:20px 4px 5px}
.shop-live .shop-account-link a{color:#11634c;text-decoration:underline}
.shop-live .shop-dialog:not([hidden]){position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;background:rgba(8,28,19,.63);padding:18px}
.shop-live .shop-dialog-card{width:min(680px,100%);max-height:90vh;overflow:auto;padding:20px;background:#fff;border-radius:15px;color:#254e3e}
.shop-live .shop-dialog-card>header{display:flex;justify-content:space-between;align-items:center;gap:10px;border-bottom:1px solid #dde7e1;margin-bottom:12px}
.shop-live .shop-dialog-card>header h2{font-size:22px;margin:0 0 12px}
.shop-live #shop-dialog-close{font-size:27px;color:#19503b;border:0;background:transparent}
.shop-live .shop-full-description{white-space:pre-wrap;line-height:1.6;overflow-wrap:anywhere}
.shop-live .shop-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(160px,100%),1fr));gap:12px;margin:13px 0}
.shop-live .shop-gallery img,.shop-live .shop-gallery video{display:block;max-width:100%;max-height:330px;object-fit:contain;border-radius:9px;background:#f4f6f3}
.shop-live .shop-contact-form{display:grid;gap:14px}
.shop-live .shop-contact-form label:has(input[type="checkbox"]){display:flex;align-items:center;gap:9px}
html[lang="ar"] .shop-live .shop-access{text-align:right}
@media(max-width:850px){.shop-live #shop-filter{grid-template-columns:1fr 1fr}}


/* Campos de revisión de producto; aislados de las tarjetas publicadas */
.shop-review-required{color:#ba2424;font-size:12px;font-weight:800}.shop-review-count{justify-self:end;color:#567269;font-size:12px}

/* Tienda: tres acciones aprobadas; aisladas de tarjetas publicadas */










/* Formulario: dimensiones del patrón Noticias, sin afectar la galería ni tarjetas */
















/* Tienda: estructura de medidas comprobadas de Noticias. No se aplican estilos a las tarjetas publicadas. */
.shop-live{width:100%;min-width:0}
.shop-live .shop-section-head{margin:0 0 2px;display:block}
.shop-live .shop-section-head h2{margin:0;font:700 28px/1.55 Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;color:#102820}
.shop-live .shop-section-head p{margin:6px 0 0;font:400 16px/1.55 Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;color:#607069}
.shop-live .shop-accesses{box-sizing:border-box;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;width:100%;max-width:100%;margin:22px auto 0;padding:15px;background:#eef6f1;border:1px solid #dcebe3;border-radius:15px}
.shop-live .shop-access{box-sizing:border-box;position:relative;min-width:0;min-height:100px;padding:15px 18px;display:flex;align-items:center;justify-content:flex-start;gap:13px;border:1px solid transparent;border-radius:14px;text-align:left;box-shadow:0 3px 10px rgba(24,45,39,.08);transition:box-shadow .18s,border-color .18s,transform .18s;font:inherit;cursor:pointer}
.shop-live .shop-access[data-shop-panel="buscar"]{background:#087e66;color:#fff}
.shop-live .shop-access[data-shop-panel="publicar"]{background:#ffbe45;color:#143a31}
.shop-live .shop-access[data-shop-panel="mis"]{background:#642996;color:#fff}
.shop-live .shop-access:hover{transform:translateY(-2px);box-shadow:0 8px 18px rgba(20,45,35,.17)}
.shop-live .shop-access.is-active{border:2px solid #fff;outline:2px solid #174f43;outline-offset:0;box-shadow:0 6px 18px rgba(12,54,39,.20)}
.shop-live .shop-access[data-shop-panel="publicar"].is-active{outline-color:#b4780b}
.shop-live .shop-access[data-shop-panel="mis"].is-active{outline-color:#682c94}
.shop-live .shop-access:focus-visible{outline:3px solid #b7474e;outline-offset:2px}
.shop-live .shop-access-icon{flex:0 0 50px;width:50px;height:50px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.89);font-size:25px;line-height:1;color:#065846}
.shop-live .shop-access[data-shop-panel="publicar"] .shop-access-icon{color:#9a5c00}
.shop-live .shop-access[data-shop-panel="mis"] .shop-access-icon{color:#642996}
.shop-live .shop-access-text{display:block;min-width:0;flex:1}
.shop-live .shop-access-text strong{display:block;font:800 17px/1.25 "Segoe UI",Arial,sans-serif;letter-spacing:0;color:inherit}
.shop-live .shop-access-text small{display:block;margin-top:5px;font:650 12.5px/1.4 "Segoe UI",Arial,sans-serif;opacity:.95;color:inherit}
.shop-live .shop-access>span:last-child{font:700 26px/1 Arial,sans-serif;opacity:.94}
.shop-live .shop-feedback:empty{display:none;min-height:0;margin:0}
/* Keep the tabs stable while the optional content below them is replaced. */
.shop-live .shop-accesses{overflow-anchor:none}
.shop-live .shop-panel{overflow-anchor:none}
.shop-live .shop-panel{box-sizing:border-box;min-width:0;width:100%;margin:0;padding:16px;border:1px solid #e1e9e3;border-radius:15px;background:#fff}
.shop-live .shop-panel>header h2{margin:0 0 7px;font:700 27px/1.55 Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;color:#102820}
.shop-live .shop-panel>header p{margin:0 0 18px;font:400 16px/1.55 Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;color:#607069}
.shop-live .shop-review-form{box-sizing:border-box;width:100%;max-width:100%;margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:14px;row-gap:18px;align-items:start}
.shop-live .shop-review-form label{display:block;min-width:0;margin:0;font:800 14px/1.55 Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;color:#102820}
.shop-live .shop-review-form input:not([type=file]),.shop-live .shop-review-form textarea{box-sizing:border-box;display:block;width:100%;max-width:100%;min-width:0;border:1px solid #bfcfc7;border-radius:10px;background:#fff;color:#17382d;font:400 15px/1.55 Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;padding:12px 13px;margin-top:8px}
.shop-live .shop-review-form input:not([type=file]){min-height:48px}
.shop-live .shop-review-form textarea{min-height:180px;resize:vertical}
.shop-live .shop-review-form input[type=file]{display:block;width:100%;margin-top:8px}
.shop-live .shop-review-form label:has([name=price]),.shop-live .shop-review-form label:has([name=address]),.shop-live .shop-review-form label:has([name=description]),.shop-live .shop-review-form label:has([name=media]){grid-column:1/-1}
.shop-live .shop-review-required{display:inline;margin-left:6px;font:900 11px/1.55 Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;color:#8b2d35;white-space:nowrap}
.shop-live .shop-review-count{display:block;text-align:end;justify-self:auto;color:#567269;font-size:12px}
.shop-live .shop-review-form button{grid-column:1/-1;min-height:48px;background:#075746;color:#fff;border:0;border-radius:9px;padding:12px;font:800 14px Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;cursor:pointer}
.shop-live .shop-review-warning{grid-column:1/-1;font-size:13px;color:#725726}
html[lang="ar"] .shop-live .shop-access{text-align:right}
@media(max-width:850px){.shop-live .shop-accesses{gap:9px;padding:10px}.shop-live .shop-access{padding:11px;min-height:92px;gap:8px}.shop-live .shop-access-icon{flex-basis:39px;width:39px;height:39px}.shop-live .shop-access-text strong{font-size:14px}.shop-live .shop-access-text small{font-size:11px}.shop-live .shop-access>span:last-child{display:none}}
@media(max-width:560px){.shop-live .shop-accesses{grid-template-columns:1fr;gap:9px;padding:10px}.shop-live .shop-access{min-height:72px;padding:12px 15px}.shop-live .shop-access-text strong{font-size:16px}.shop-live .shop-access-text small{font-size:12px}.shop-live .shop-access>span:last-child{display:block}.shop-live .shop-review-form{grid-template-columns:1fr}.shop-live .shop-panel{padding:16px}}
@media(prefers-reduced-motion:reduce){.shop-live .shop-access{transition:none}.shop-live .shop-access:hover{transform:none}}

/* Alineación árabe de Tienda con Noticias: estructura y separación del encabezado al menú; no afecta productos publicados. */
html[lang="ar"] .shop-live .shop-section-head{display:block;margin:0 0 18px;}
html[lang="ar"] .shop-live .shop-section-head h2{margin:0;font-size:26px;line-height:1.45;letter-spacing:0;font-weight:800;}
html[lang="ar"] .shop-live .shop-section-head p{margin:7px 0 0;font-size:16px;line-height:1.8;}
html[lang="ar"] .shop-live .shop-accesses{margin-top:20px;}
