/* MAYAN V1.2.15 - Product landing pages styled consistently with the green/cream catalog */
.mayan-product-detail--premium{padding:35px 18px 70px;background:linear-gradient(175deg,#f7f6ef,#eef3e9)!important;color:#193e2c;min-height:74vh}
.mayan-product-detail__container{max-width:1180px;margin:0 auto}
.mayan-product-crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin:0 0 25px;font-size:14px;color:#6b786b}
.mayan-product-crumbs a{color:#326d4e;text-decoration:none;font-weight:650}
.mayan-product-crumbs a:hover{text-decoration:underline}
.mayan-product-detail__panel{background:#fffefa;border:1px solid #dce6d9;box-shadow:0 20px 65px rgba(27,65,44,.08);border-radius:30px;display:grid;grid-template-columns:minmax(0,.93fr) minmax(0,1.07fr);gap:clamp(20px,4vw,55px);padding:clamp(18px,4vw,48px);align-items:center}
.mayan-product-detail__visual{min-width:0;min-height:420px;padding:26px;display:flex;align-items:center;justify-content:center;background:radial-gradient(circle at 50% 45%,#fff 25%,#edf3e9 100%);border:1px solid #edf0e8;border-radius:22px;margin:0}
.mayan-product-detail__visual img{display:block;max-width:100%;width:auto;height:auto;max-height:440px;object-fit:contain}
.mayan-product-detail__info{min-width:0}
.mayan-product-detail__info .lang-switch{display:flex;gap:12px;justify-content:flex-start;margin:0 0 16px}
.mayan-product-detail__eyebrow{color:#66826d;font-size:13px;font-weight:700;display:inline-block;margin-bottom:8px}
.mayan-product-detail__info h1{font-size:clamp(26px,3.3vw,43px);line-height:1.3;font-weight:850;color:#153d29;margin:0 0 12px}
.mayan-product-detail__description{font-size:15px;line-height:1.9;color:#526454;margin:0 0 21px;max-width:60ch}
.mayan-product-detail__facts{margin-bottom:22px}
.mayan-product-detail__facts > div{display:flex;gap:12px;align-items:baseline;justify-content:space-between;border-bottom:1px solid #e7ede5;padding:11px 0;font-size:15px}
.mayan-product-detail__facts > div span{color:#64806b;flex:0 0 auto}
.mayan-product-detail__facts strong{text-align:end;color:#193e2b;overflow-wrap:anywhere}
.mayan-product-detail__facts strong.available{color:#27764b}.mayan-product-detail__facts strong.unavailable{color:#ae4734}
.mayan-product-detail__contact{background:#1c6041;color:#fff!important;font-weight:800;text-decoration:none!important;display:inline-flex;align-items:center;justify-content:center;padding:13px 23px;border-radius:12px;min-height:48px;box-shadow:0 6px 18px #23634626;transition:background .2s}
.mayan-product-detail__contact:hover{background:#10462e}
.mayan-product-detail__footnote{font-size:12px;color:#718474;line-height:1.7;margin:12px 0 0}
.mayan-related-products{margin-top:44px}.mayan-related-products__head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:17px;flex-wrap:wrap}.mayan-related-products__head h2{margin:0;font-size:25px;color:#19432d}.mayan-related-products__head a{font-weight:700;color:#216d47}
.mayan-related-products .mayan-directory__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
.mayan-related-products .mayan-directory__card{min-width:0;background:#fff;border:1px solid #dfe7da;box-shadow:0 7px 28px #0a231015}
.mayan-related-products .mayan-directory__card img{width:100%;height:170px;object-fit:contain}
.mayan-related-products .mayan-directory__card h3{font-size:15px;line-height:1.55;margin:0;color:#16402c}
.mayan-category-nav{display:flex;flex-wrap:wrap;gap:9px;margin:15px 0 25px}
.mayan-category-nav a,.mayan-category-other a{display:inline-block;border:1px solid #cddfcf;border-radius:24px;padding:9px 15px;background:#fff;color:#245b3d;font-weight:700;font-size:14px;text-decoration:none}
.mayan-category-nav a:hover,.mayan-category-other a:hover{background:#e6f0e7}
.mayan-category-intro{padding:27px 30px;margin:15px 0 28px;background:linear-gradient(120deg,#144b32,#287550);color:#fff;border-radius:24px}
.mayan-category-intro h1{color:#fff;font-size:clamp(28px,3vw,44px);margin:4px 0 10px}.mayan-category-intro p{color:#e7f5e9;max-width:75ch;line-height:1.75}.mayan-category-eyebrow{font-weight:800;font-size:12px;letter-spacing:.08em}
.mayan-category-language{display:flex;gap:12px}.mayan-category-language a{color:#fff;text-decoration:underline}
.mayan-category-cta{font-size:13px;color:#28704c;font-weight:700;margin-top:auto}
.mayan-category-other{margin-top:38px}.mayan-category-other>div{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}
html[data-theme=dark] .mayan-product-detail--premium{background:linear-gradient(130deg,#12271b,#1c2d23)!important;color:#f0f4ef}
html[data-theme=dark] .mayan-product-detail__panel{background:#1a3023;border-color:#325640}
html[data-theme=dark] .mayan-product-detail__visual{background:#eff3e9;border-color:#45755b}
html[data-theme=dark] .mayan-product-detail__info h1,html[data-theme=dark] .mayan-product-detail__facts strong,html[data-theme=dark] .mayan-related-products__head h2{color:#f4f7f2}
html[data-theme=dark] .mayan-product-detail__description,html[data-theme=dark] .mayan-product-detail__facts>div span,html[data-theme=dark] .mayan-product-detail__footnote{color:#d3e4d5}
html[data-theme=dark] .mayan-product-detail__facts>div{border-color:#466552}
html[data-theme=dark] .mayan-product-detail__facts strong.available{color:#a7e9bf}
html[data-theme=dark] .mayan-product-detail__facts strong.unavailable{color:#ffb7a4}
@media(max-width:820px){.mayan-product-detail__panel{grid-template-columns:1fr}.mayan-product-detail__visual{min-height:260px}.mayan-related-products .mayan-directory__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:500px){.mayan-product-detail--premium{padding:18px 12px 35px}.mayan-product-detail__panel{padding:14px;border-radius:17px;gap:15px}.mayan-product-detail__visual{padding:13px;min-height:220px}.mayan-product-detail__visual img{max-height:290px}.mayan-product-detail__info h1{font-size:26px}.mayan-related-products .mayan-directory__card img{height:135px}.mayan-category-intro{padding:20px 18px}}

/* V1.2.16: category landing page follows the existing product catalogue visual language. */
body:has(.mayan-category-landing) .mayan-simple-nav {top:var(--wp-admin--admin-bar--height,0px)}
.mayan-category-landing{padding:22px 16px 64px;min-height:70vh;background:linear-gradient(180deg,#f8f8f2,#f0f5ee)}
.mayan-category-landing .mayan-directory__inner{max-width:1180px;margin-inline:auto}
.mayan-category-landing .mayan-product-crumbs{margin:4px 0 14px}
.mayan-category-landing .mayan-category-intro{
  background:linear-gradient(115deg,#164b34,#276846);color:#fff;
  border:1px solid rgba(255,255,255,.12);box-shadow:0 14px 35px rgba(18,60,39,.1);
  border-radius:19px;padding:20px 26px;margin:0 0 20px;
}
.mayan-category-landing .mayan-category-eyebrow{color:#c8e2cd;font-size:11px;margin:0 0 3px}
.mayan-category-landing .mayan-category-intro h1{font-size:clamp(24px,2.7vw,34px);margin:0 0 5px;line-height:1.4}
.mayan-category-landing .mayan-category-intro__text{font-size:14px;line-height:1.8;color:#e7f1e8;margin:0;max-width:90ch}
.mayan-category-landing .mayan-category-language{gap:12px;margin-top:8px}
.mayan-category-landing .mayan-category-language a{color:#e7f3e9;font-size:13px}
.mayan-category-landing .mayan-directory__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.mayan-category-landing .mayan-directory__card{
  min-width:0;background:#fffefa;border:1px solid #dce6d9;
  padding:16px;border-radius:18px;box-shadow:0 8px 28px rgba(15,61,35,.06);
  transition:transform .2s ease, box-shadow .2s ease;
}
.mayan-category-landing .mayan-directory__card:hover{transform:translateY(-3px);box-shadow:0 14px 32px rgba(15,61,35,.13)}
.mayan-category-landing .mayan-directory__card img{height:200px;object-fit:contain;width:100%;background:#fff;border-radius:12px}
.mayan-category-landing .mayan-directory__card h2{font-size:16px;font-weight:800;line-height:1.5;color:#1b4a32;margin:3px 0 0}
.mayan-category-landing .mayan-directory__card span:not(.mayan-category-cta){color:#617368;font-size:13px}
.mayan-category-landing .mayan-category-cta{font-weight:800;color:#16633d;margin-top:auto}
.mayan-category-landing .mayan-category-other{margin-top:32px}
html[data-theme=dark] .mayan-category-landing{background:linear-gradient(180deg,#112319,#1b3022);color:#f1f6ee}
html[data-theme=dark] .mayan-category-landing .mayan-directory__card{background:#1d3326;border-color:#385c43}
html[data-theme=dark] .mayan-category-landing .mayan-directory__card h2{color:#f0f6ef}
html[data-theme=dark] .mayan-category-landing .mayan-directory__card span:not(.mayan-category-cta){color:#c4dbcb}
@media(max-width:950px){.mayan-category-landing .mayan-directory__grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:680px){.mayan-category-landing{padding:16px 10px 40px}.mayan-category-landing .mayan-category-intro{padding:15px 17px;border-radius:14px}.mayan-category-landing .mayan-directory__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.mayan-category-landing .mayan-directory__card{padding:10px}.mayan-category-landing .mayan-directory__card img{height:145px}.mayan-category-landing .mayan-directory__card h2{font-size:14px}}
@media(prefers-reduced-motion:reduce){.mayan-category-landing .mayan-directory__card{transition:none}.mayan-category-landing .mayan-directory__card:hover{transform:none}}
