.cesnya-data-public{max-width:1200px;margin:0 auto}.cesnya-search{display:flex;gap:10px;margin:20px 0}.cesnya-search input{flex:1;padding:12px 14px;border:1px solid #ddd;border-radius:10px}.cesnya-search button{padding:12px 18px;border:0;border-radius:10px;cursor:pointer}.cesnya-categories{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 22px}.cesnya-categories a{padding:7px 12px;border:1px solid #e1e1e1;border-radius:999px;text-decoration:none;background:#fff}.cesnya-categories a.active{font-weight:700;border-color:#5c8f70}.cesnya-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.cesnya-product-card{border:1px solid #e5e5e5;border-radius:16px;padding:18px;background:#fff;box-shadow:0 2px 10px rgba(0,0,0,.04)}.cesnya-product-card h3{margin-top:0}.cesnya-product-card p{margin:.4em 0}.cesnya-product-img{width:100%;height:160px;object-fit:contain;border-radius:12px;background:#fafafa;margin-bottom:10px}.cesnya-tags{font-size:.9em;color:#315c43}.cesnya-ficha{margin-top:12px}.cesnya-ficha summary{cursor:pointer;font-weight:700}.cesnya-ficha section{border-top:1px solid #eee;margin-top:12px;padding-top:10px}.cesnya-nutrition{width:100%;border-collapse:collapse;font-size:.95em}.cesnya-nutrition th,.cesnya-nutrition td{border-bottom:1px solid #eee;padding:7px;text-align:left}.cesnya-nutrition th{width:55%;font-weight:700}.cesnya-comment{background:#f3faf5;border:1px solid #d7eadc;border-radius:12px;padding:12px}.cesnya-empty-public{padding:20px;background:#fafafa;border-radius:12px}@media(max-width:1024px){.cesnya-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){.cesnya-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cesnya-search{flex-direction:column}}@media(max-width:520px){.cesnya-grid{grid-template-columns:1fr}}
.cesnya-company-logo{max-width:110px;height:auto;border-radius:10px;border:1px solid #eee;background:#fff;padding:6px;margin:4px 0 10px}.cesnya-verified{display:inline-block;background:#e8f6ef;color:#126b43;border:1px solid #bfe7d1;border-radius:999px;padding:4px 10px;font-size:13px;font-weight:700}.cesnya-company-block{background:#fafafa;border:1px solid #eee;border-radius:12px;padding:14px;margin-top:12px}

/* CESNYA DATA v1.3.0 - Componentes para Elementor */
.cesnya-search-component{background:#fff;border:1px solid #e9eee9;border-radius:18px;padding:12px;box-shadow:0 8px 26px rgba(0,0,0,.05)}
.cesnya-categories-component{justify-content:center;margin:18px 0 28px}.cesnya-categories-component a span{opacity:.65;font-size:.85em;margin-left:4px}
.cesnya-company-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.cesnya-company-card{border:1px solid #e7e7e7;border-radius:18px;background:#fff;padding:18px;text-align:center;box-shadow:0 2px 10px rgba(0,0,0,.04)}.cesnya-company-card h3{margin:8px 0}.cesnya-company-card-logo{width:110px;height:80px;object-fit:contain;margin:0 auto 8px;background:#fff;border-radius:12px}.cesnya-company-excerpt{font-size:.92em;color:#555}.cesnya-plan-chip{display:inline-block;border-radius:999px;padding:4px 10px;font-size:12px;font-weight:700;margin:4px 0}.cesnya-plan-chip.premium{background:#fff2cc;color:#795300;border:1px solid #f5d479}.cesnya-plan-chip.professional{background:#eaf2ff;color:#1c4f91;border:1px solid #bdd7ff}
.cesnya-grid-cols-1{grid-template-columns:1fr}.cesnya-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.cesnya-grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.cesnya-grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.cesnya-tags{display:flex;flex-wrap:wrap;gap:6px}.cesnya-tags span{display:inline-block;background:#eef7f1;color:#315c43;border:1px solid #d5eadb;border-radius:999px;padding:4px 9px;font-size:.85em}.cesnya-card-company{color:#444}
@media(max-width:1024px){.cesnya-company-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.cesnya-grid-cols-4{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.cesnya-company-grid,.cesnya-grid-cols-3,.cesnya-grid-cols-4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.cesnya-company-grid,.cesnya-grid-cols-2,.cesnya-grid-cols-3,.cesnya-grid-cols-4{grid-template-columns:1fr}}

/* CESNYA DATA v1.3.1 - Empresas compactas para Home */
.cesnya-company-grid-compact{grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}
.cesnya-company-card-compact{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:170px;text-decoration:none;color:inherit;padding:18px 12px;transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease}
.cesnya-company-card-compact:hover{transform:translateY(-2px);box-shadow:0 8px 22px rgba(0,0,0,.08);border-color:#cfe4d5}
.cesnya-company-card-compact .cesnya-company-card-logo{width:120px;height:120px;object-fit:contain;margin:0 auto 10px;background:#fff;border-radius:14px}
.cesnya-company-card-name{font-weight:700;text-align:center;line-height:1.25}
.cesnya-company-logo-placeholder{width:120px;height:120px;display:flex;align-items:center;justify-content:center;border-radius:18px;background:#eef7f1;color:#315c43;font-size:42px;font-weight:800;margin-bottom:10px}
.cesnya-company-profile{background:#fff;border:1px solid #e8e8e8;border-radius:20px;padding:24px;box-shadow:0 4px 18px rgba(0,0,0,.04)}
.cesnya-company-profile-head{display:flex;gap:20px;align-items:center;margin-bottom:18px}
.cesnya-company-profile-logo{width:150px;height:150px;object-fit:contain;border:1px solid #eee;border-radius:18px;background:#fff;padding:10px}
.cesnya-company-profile h2{margin:0 0 8px}.cesnya-company-profile-description{margin:18px 0}.cesnya-company-profile-links{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0 24px}.cesnya-company-profile-links a,.cesnya-company-profile-links span{border:1px solid #e4e4e4;border-radius:999px;padding:8px 12px;text-decoration:none;background:#fafafa}.cesnya-back-link{text-decoration:none;font-weight:700}
@media(max-width:1024px){.cesnya-company-grid-compact{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:760px){.cesnya-company-grid-compact{grid-template-columns:repeat(3,minmax(0,1fr))}.cesnya-company-card-compact .cesnya-company-card-logo,.cesnya-company-logo-placeholder{width:90px;height:90px}.cesnya-company-logo-placeholder{font-size:32px}.cesnya-company-card-compact{min-height:140px}.cesnya-company-profile-head{align-items:flex-start}.cesnya-company-profile-logo{width:110px;height:110px}}
@media(max-width:520px){.cesnya-company-grid-compact{grid-template-columns:repeat(2,minmax(0,1fr))}.cesnya-company-profile-head{flex-direction:column}}

/* CESNYA DATA v1.3.2 - Menú dinámico de categorías */
.cesnya-categories-wrap{max-width:1200px;margin:6px auto 26px;position:relative}
.cesnya-categories-component{display:flex;flex-wrap:nowrap;gap:10px;justify-content:flex-start;overflow-x:auto;padding:8px 2px 12px;margin:0;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
.cesnya-categories-component::-webkit-scrollbar{height:7px}.cesnya-categories-component::-webkit-scrollbar-thumb{background:#dfe8e2;border-radius:999px}.cesnya-categories-component::-webkit-scrollbar-track{background:transparent}
.cesnya-categories-component .cesnya-cat-pill{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;padding:10px 14px;border:1px solid #e2ebe4;border-radius:999px;text-decoration:none;background:#fff;color:#26352d;box-shadow:0 3px 12px rgba(0,0,0,.035);transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;color:#26352d}
.cesnya-categories-component .cesnya-cat-pill:hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(0,0,0,.07);border-color:#c9dfd0;background:#fbfefc}
.cesnya-categories-component .cesnya-cat-pill.active{background:#eaf6ee;border-color:#5c8f70;color:#24583a;font-weight:800;box-shadow:0 8px 20px rgba(92,143,112,.14)}
.cesnya-cat-icon{font-size:18px;line-height:1}.cesnya-cat-name{font-size:14px;line-height:1}.cesnya-cat-count{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;padding:0 7px;border-radius:999px;background:#f3f6f4;color:#55645b;font-size:12px;font-weight:800}.cesnya-cat-pill.active .cesnya-cat-count{background:#fff;color:#24583a}
@media(max-width:760px){.cesnya-categories-wrap{margin:4px -8px 20px;padding-left:8px}.cesnya-categories-component{padding-bottom:10px}.cesnya-categories-component .cesnya-cat-pill{padding:9px 12px}.cesnya-cat-name{font-size:13px}}


/* CESNYA DATA v1.3.3 - Estadísticas de plataforma */
.cesnya-stats-wrap{max-width:1200px;margin:18px auto 30px}
.cesnya-stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.cesnya-stat-card{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid #e8eee9;border-radius:18px;padding:18px 20px;box-shadow:0 4px 18px rgba(0,0,0,.045);transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease}
.cesnya-stat-card:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(0,0,0,.07);border-color:#cfe4d5}
.cesnya-stat-icon{width:48px;height:48px;border-radius:50%;background:#eaf6ee;color:#24583a;display:flex;align-items:center;justify-content:center;font-size:23px;flex:0 0 auto}
.cesnya-stat-number{font-size:26px;line-height:1;font-weight:900;color:#17633b;margin-bottom:4px}
.cesnya-stat-label{font-size:15px;font-weight:800;color:#26352d;line-height:1.15}
.cesnya-stat-subtitle{font-size:13px;color:#66736b;margin-top:3px;line-height:1.25}
@media(max-width:1024px){.cesnya-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.cesnya-stats-wrap{margin:14px auto 24px}.cesnya-stats-grid{grid-template-columns:1fr}.cesnya-stat-card{padding:16px}.cesnya-stat-icon{width:44px;height:44px}.cesnya-stat-number{font-size:23px}}


/* CESNYA DATA v1.3.4 - Ajustes visuales: stats en 3 tarjetas y botón verde */
.cesnya-search button,
.cesnya-search-component button{
    background:#17633b !important;
    color:#fff !important;
    font-weight:800;
    border:0;
    border-radius:12px;
    min-height:52px;
    padding:12px 24px;
    box-shadow:0 8px 18px rgba(23,99,59,.18);
}
.cesnya-search button:hover,
.cesnya-search-component button:hover{
    background:#0f4f2e !important;
}
.cesnya-stats-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
}
.cesnya-stats-grid.count-4{
    grid-template-columns:repeat(4,minmax(0,1fr));
}
.cesnya-stat-card{
    text-decoration:none;
    color:inherit;
}
.cesnya-stat-card:focus{
    outline:2px solid #17633b;
    outline-offset:3px;
}
@media(max-width:1024px){
    .cesnya-stats-grid,
    .cesnya-stats-grid.count-4{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}
@media(max-width:520px){
    .cesnya-stats-grid,
    .cesnya-stats-grid.count-4{
        grid-template-columns:1fr;
    }
}


/* CESNYA DATA v1.3.5 - Estadísticas compactas en una sola línea */
.cesnya-stats-compact-wrap{
    max-width:1200px;
    margin:18px auto 30px;
    padding:18px 0;
    border-top:1px solid #e8eee9;
    border-bottom:1px solid #e8eee9;
}
.cesnya-stats-compact{
    display:flex;
    align-items:center;
    justify-content:flex-start;
    gap:22px;
    flex-wrap:wrap;
}
.cesnya-stat-link{
    display:inline-flex;
    align-items:baseline;
    gap:10px;
    text-decoration:none;
    color:#26352d;
    line-height:1;
    transition:color .15s ease, transform .15s ease;
}
.cesnya-stat-link:hover{
    color:#17633b;
    transform:translateY(-1px);
}
.cesnya-stats-compact .cesnya-stat-number{
    font-size:22px;
    line-height:1;
    font-weight:900;
    color:#17633b;
    margin:0;
}
.cesnya-stats-compact .cesnya-stat-label{
    font-size:18px;
    font-weight:500;
    color:#26352d;
    line-height:1;
}
.cesnya-stats-separator{
    width:1px;
    height:26px;
    background:#dfe8e2;
    display:inline-block;
}
@media(max-width:760px){
    .cesnya-stats-compact-wrap{
        margin:14px auto 22px;
        padding:14px 0;
    }
    .cesnya-stats-compact{
        gap:14px;
    }
    .cesnya-stats-compact .cesnya-stat-number{
        font-size:19px;
    }
    .cesnya-stats-compact .cesnya-stat-label{
        font-size:16px;
    }
    .cesnya-stats-separator{
        height:20px;
    }
}
@media(max-width:520px){
    .cesnya-stats-compact{
        justify-content:center;
    }
}

/* CESNYA DATA v1.4.0 - grilla compacta + panel lateral */
.cesnya-grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}
.cesnya-grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}
.cesnya-product-card-compact{padding:10px;border-radius:14px;box-shadow:0 3px 14px rgba(0,0,0,.04);transition:transform .16s ease, box-shadow .16s ease;border:1px solid #edf0ed}
.cesnya-product-card-compact:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(0,0,0,.08)}
.cesnya-product-open{display:block;width:100%;padding:0;border:0;background:transparent;text-align:left;cursor:pointer;font:inherit;color:inherit}
.cesnya-product-img-compact{width:100%;height:112px;object-fit:contain;background:#fafafa;border-radius:10px;margin-bottom:8px}
.cesnya-product-placeholder{display:flex;align-items:center;justify-content:center;font-size:34px}
.cesnya-product-name{display:block;font-size:12px;line-height:1.25;font-weight:700;color:#18251d;margin:0 0 3px;min-height:30px}
.cesnya-product-company{display:block;font-size:10.5px;line-height:1.2;color:#6f7a72;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cesnya-product-drawer-template{display:none!important}
.cesnya-drawer-overlay{position:fixed;inset:0;background:rgba(20,30,24,.28);z-index:9998;opacity:0;transition:opacity .2s ease}
.cesnya-drawer-overlay.open{opacity:1}
.cesnya-product-drawer{position:fixed;right:0;top:0;height:100vh;width:min(520px,92vw);background:#fff;z-index:9999;box-shadow:-18px 0 45px rgba(0,0,0,.18);transform:translateX(105%);transition:transform .24s ease;overflow:auto;padding:22px}
.cesnya-product-drawer.open{transform:translateX(0)}
.cesnya-drawer-close{position:sticky;top:0;float:right;border:0;background:#f3f6f3;width:36px;height:36px;border-radius:999px;font-size:26px;line-height:1;cursor:pointer;z-index:2;color:#315c43}
.cesnya-drawer-content{clear:both}
.cesnya-product-detail-header h2{font-size:24px;line-height:1.15;margin:14px 0 6px;color:#18251d}
.cesnya-product-detail-company{font-size:14px;color:#5d6b61;margin:0 0 10px}
.cesnya-product-detail-meta{display:flex;flex-wrap:wrap;gap:7px;margin:8px 0 12px}
.cesnya-product-detail-meta span{font-size:12px;border:1px solid #e4ece5;background:#f8fbf8;border-radius:999px;padding:5px 9px;color:#315c43}
.cesnya-product-gallery{position:relative;background:#fafafa;border:1px solid #eef1ee;border-radius:18px;min-height:260px;display:flex;align-items:center;justify-content:center;overflow:hidden;margin-bottom:10px}
.cesnya-gallery-slide{display:none;width:100%;height:260px;align-items:center;justify-content:center}
.cesnya-gallery-slide.active{display:flex}
.cesnya-gallery-img{max-width:100%;max-height:250px;width:auto;height:auto;object-fit:contain}
.cesnya-gallery-placeholder{font-size:54px;color:#87948b}
.cesnya-gallery-prev,.cesnya-gallery-next{position:absolute;top:50%;transform:translateY(-50%);border:0;background:rgba(255,255,255,.9);width:32px;height:32px;border-radius:999px;cursor:pointer;font-size:24px;line-height:1;color:#315c43;box-shadow:0 2px 10px rgba(0,0,0,.08)}
.cesnya-gallery-prev{left:10px}.cesnya-gallery-next{right:10px}
.cesnya-gallery-dots{position:absolute;bottom:10px;left:0;right:0;display:flex;justify-content:center;gap:6px}
.cesnya-gallery-dots button{width:7px;height:7px;padding:0;border-radius:999px;border:0;background:#cdd8cf;cursor:pointer}
.cesnya-gallery-dots button.active{background:#5c8f70}
.cesnya-detail-section{border:1px solid #edf0ed;border-radius:14px;margin:10px 0;background:#fff;overflow:hidden}
.cesnya-detail-section summary{cursor:pointer;font-weight:700;color:#18251d;padding:13px 14px;list-style:none}
.cesnya-detail-section summary::-webkit-details-marker{display:none}
.cesnya-detail-section summary:after{content:'+';float:right;color:#5c8f70}
.cesnya-detail-section[open] summary:after{content:'–'}
.cesnya-detail-section>div{padding:0 14px 14px;font-size:14px;color:#3f4a43}
.cesnya-detail-section.cesnya-comment{background:#f3faf5;border-color:#d7eadc}
.cesnya-company-block{background:#fafafa}
body.cesnya-drawer-open{overflow:hidden}
@media(max-width:1200px){.cesnya-grid-cols-6{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:1024px){.cesnya-grid-cols-6,.cesnya-grid-cols-5{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.cesnya-grid-cols-6,.cesnya-grid-cols-5,.cesnya-grid-cols-4,.cesnya-grid-cols-3{grid-template-columns:repeat(2,minmax(0,1fr))}.cesnya-product-drawer{width:96vw;padding:16px}.cesnya-product-img-compact{height:105px}}

/* CESNYA DATA v1.6.0 - octógonos */
.cesnya-front-warnings{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.cesnya-front-warnings span{display:inline-flex;align-items:center;justify-content:center;min-width:72px;min-height:72px;max-width:88px;text-align:center;background:#111;color:#fff;border:3px solid #111;clip-path:polygon(30% 0%,70% 0%,100% 30%,100% 70%,70% 100%,30% 100%,0% 70%,0% 30%);font-size:9px;font-weight:900;line-height:1.05;padding:12px;text-transform:uppercase}

.cesnya-product-flags{
  display:inline-flex;
  gap:4px;
  align-items:center;
  vertical-align:middle;
  margin-left:6px;
  font-size:.78em;
  line-height:1;
  white-space:nowrap;
}

.cesnya-nutrition-vd th,
.cesnya-nutrition-vd td{
  vertical-align:top;
}
.cesnya-nutrition-vd thead th{
  font-size:12px;
  text-transform:none;
  color:#334155;
  background:#f8fafc;
}
.cesnya-nutrition-vd td:nth-child(2),
.cesnya-nutrition-vd td:nth-child(3){
  text-align:right;
  white-space:nowrap;
}
.cesnya-vd-note{
  margin:10px 0 0;
  font-size:12px;
  color:#64748b;
  line-height:1.45;
}

.cesnya-nutrition-denomination{
  border:1px solid #e5e7eb;
  border-radius:10px;
  padding:14px 16px;
  margin:0 0 12px;
  background:#fff;
}
.cesnya-nutrition-denomination strong{
  display:block;
  color:#17432b;
  font-size:14px;
  margin-bottom:6px;
}
.cesnya-nutrition-denomination span{
  display:block;
  font-size:16px;
  line-height:1.35;
}
.cesnya-nutrition-servings{
  margin-bottom:14px;
}
.cesnya-nutrition-servings th{
  width:34%;
}

/* CESNYA DATA v1.7.1 - URL propia e indexable para cada producto */
.cesnya-product-open{text-decoration:none}
.cesnya-product-open:hover,.cesnya-product-open:focus{text-decoration:none;color:inherit}
.cesnya-product-detail-header h1,
.cesnya-product-detail-header h2{font-size:24px;line-height:1.15;margin:14px 0 6px;color:#18251d}
.cesnya-data-single-main{padding:32px 18px 56px;background:#f7f9f7}
.cesnya-data-single-container{width:min(900px,100%);margin:0 auto}
.cesnya-single-product{background:#fff;border:1px solid #e7ece8;border-radius:22px;padding:clamp(18px,3vw,34px);box-shadow:0 12px 36px rgba(31,65,43,.07)}
.cesnya-single-product .cesnya-product-detail{max-width:760px;margin:0 auto}
.cesnya-single-product .cesnya-product-gallery{min-height:360px}
.cesnya-single-product .cesnya-gallery-slide{height:360px}
.cesnya-single-product .cesnya-gallery-img{max-height:340px}
.cesnya-single-product .cesnya-product-detail-header h1{font-size:clamp(28px,4vw,42px);line-height:1.08;margin-top:20px}
.cesnya-product-breadcrumb{display:flex;flex-wrap:wrap;gap:7px;align-items:center;margin:0 0 20px;font-size:13px;color:#66736a}
.cesnya-product-breadcrumb a{color:#315c43;text-decoration:none;font-weight:600}
.cesnya-product-breadcrumb a:hover{text-decoration:underline}
@media(max-width:760px){
  .cesnya-data-single-main{padding:18px 10px 36px}
  .cesnya-single-product{padding:16px;border-radius:16px}
  .cesnya-single-product .cesnya-product-gallery{min-height:260px}
  .cesnya-single-product .cesnya-gallery-slide{height:260px}
  .cesnya-single-product .cesnya-gallery-img{max-height:250px}
}
