/* Jahez Menu v2.2 - contact cards and social settings layout.
   Independent asset filename avoids stale v2.1 cached CSS. */
/* Shared inline vector icons */
.social-section svg, .header-socials svg, .jahez-social-admin-panel svg {display:block;width:22px;height:22px;flex-shrink:0}
/* Public footer block: specific so it wins older styles. */
.menu-page .social-section{margin-block:12px 48px;direction:rtl}
.menu-page .social-contact-card{position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;gap:28px;padding:40px clamp(18px,4vw,48px) 36px;border:1px solid rgba(255,255,255,.20);border-radius:25px;background:linear-gradient(130deg,#1b8639 0%,#38b44a 72%,#32ab48 100%);box-shadow:0 16px 40px rgba(31,131,60,.15);color:#fff;text-align:right}
.menu-page .social-contact-card::after{content:"";position:absolute;pointer-events:none;inset:0;background:url('brand/arrow-upper.png') 4% 9%/150px auto no-repeat,url('brand/arrow-lower.png') 96% 80%/115px auto no-repeat;opacity:.11;z-index:0}
.menu-page .social-intro,.menu-page .social-links,.menu-page .social-extras{position:relative;z-index:1}
.menu-page .social-kicker{display:inline-flex;gap:7px;align-items:center;font-size:13px;font-weight:800;line-height:1.5;color:#f6eb0f}
.menu-page .social-intro h2{font-size:clamp(26px,3.5vw,38px);line-height:1.4;margin:6px 0 8px;color:#fff;font-weight:900}
.menu-page .social-intro p{font-size:14px;line-height:1.9;color:#eaffea;margin:0}
.menu-page .social-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.menu-page .social-link{display:flex;align-items:center;gap:12px;min-width:0;min-height:70px;padding:12px 14px;border-radius:16px;border:1px solid rgba(255,255,255,.28);background:rgba(255,255,255,.14);color:#fff;font-size:14px;font-weight:800;text-decoration:none;transition:background .2s, transform .2s;box-shadow:none}
.menu-page .social-link:hover{background:rgba(255,255,255,.25);transform:translateY(-2px)}
.menu-page .social-link:focus-visible{outline:3px solid #f6eb0f;outline-offset:3px}
.menu-page .social-link-icon{display:grid;place-items:center;flex-shrink:0;width:42px;height:42px;border-radius:13px;background:#f6eb0f;color:#1b6735;font-size:inherit}
.menu-page .social-link-icon svg{width:23px;height:23px}
.menu-page .social-link-name{min-width:0;overflow-wrap:anywhere}
.menu-page .social-link-arrow{margin-inline-start:auto;color:#ecffee;opacity:.83}
.menu-page .social-link-arrow svg{width:16px;height:16px}
.menu-page .social-extras{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding-top:24px;border-top:1px solid rgba(255,255,255,.24)}
.menu-page .social-info{display:flex;align-items:center;gap:12px;min-width:0;min-height:76px;padding:13px 16px;border-radius:15px;border:1px solid rgba(255,255,255,.22);background:rgba(16,96,43,.28);color:#fff;text-decoration:none}
.menu-page .social-info-icon{display:grid;place-items:center;flex-shrink:0;width:41px;height:41px;border-radius:12px;background:rgba(246,235,15,.16);color:#f6eb0f}
.menu-page .social-info strong{display:block;font-size:13px;color:white;line-height:1.6}
.menu-page .social-info small{display:block;font-size:12px;color:#ecffee;line-height:1.8;overflow-wrap:anywhere}
.menu-page .social-info-go{margin-inline-start:auto;color:#f6eb0f}
.menu-page .social-info-go svg{width:17px;height:17px}
.menu-page .social-hours{white-space:normal;margin:0;font-weight:400}
.menu-page .header-socials{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:7px;max-width:55%;overflow:visible}
.menu-page .header-socials a{display:grid;place-items:center;flex:0 0 auto;width:37px;height:37px;border-radius:12px;background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.3);color:#fff;text-decoration:none}
.menu-page .header-socials a:hover{background:#f6eb0f;color:#175e30}
.menu-page .header-socials svg{width:20px;height:20px}
/* Admin social form: all rules scoped, preserves the rest of the panel UI. */
.admin-page .jahez-social-admin-panel{overflow:hidden;padding:0;border-radius:22px;border:1px solid #e2ebdf;background:#fff;box-shadow:0 12px 40px rgba(18,79,35,.055)}
.jahez-admin-social-intro{padding:29px 32px 27px;background:linear-gradient(125deg,#f4fbf1,#fff);border-bottom:1px solid #e5efe2}
.jahez-admin-eyebrow{display:block;color:#27834a;font-size:11px;font-weight:800;letter-spacing:.7px;direction:ltr;text-align:right}
.jahez-admin-social-intro h2{margin:8px 0;font-size:24px;color:#194b2c;line-height:1.5}
.jahez-admin-social-intro p{margin:0;color:#667a6b;line-height:1.9;font-size:13px}
.jahez-social-form{display:flex;flex-direction:column;gap:26px;padding:27px 30px 32px}
.jahez-settings-block{min-width:0}
.jahez-settings-heading{margin:0 0 17px}
.jahez-settings-heading h3{margin:0 0 6px;font-size:18px;font-weight:800;color:#194b2c;line-height:1.5}
.jahez-settings-heading p{margin:0;color:#7b8c7d;line-height:1.9;font-size:12px}
.jahez-main-toggle{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:21px 22px;margin-bottom:26px;border:1px solid #ccead1;background:#eefaf0;border-radius:16px}
.jahez-main-toggle-copy{display:flex;flex-direction:column;gap:5px;min-width:0}
.jahez-main-toggle-copy strong{font-size:15px;color:#184b2b}
.jahez-main-toggle-copy>span{font-size:12px;line-height:1.7;color:#5b7861}
.jahez-switch{position:relative;display:inline-flex;align-items:center;flex-shrink:0;width:48px;height:27px;cursor:pointer}
.jahez-switch input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer;z-index:2}
.jahez-switch-track{display:block;position:absolute;inset:0;border-radius:30px;background:#ccd5cd;transition:background .2s;pointer-events:none}
.jahez-switch-track::after{content:"";position:absolute;top:4px;right:4px;width:19px;height:19px;border-radius:50%;background:#fff;box-shadow:0 1px 4px #0002;transition:transform .2s}
.jahez-switch input:checked+.jahez-switch-track{background:#2fb454}
.jahez-switch input:checked+.jahez-switch-track::after{transform:translateX(-21px)}
.jahez-switch input:focus-visible+.jahez-switch-track{outline:3px solid #d6bf1b;outline-offset:3px}
.jahez-positions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.jahez-choice{display:flex;align-items:center;gap:12px;min-width:0;padding:15px 18px;border:1px solid #e2ebe2;border-radius:13px;background:#fcfdfb;cursor:pointer}
.jahez-choice input{flex:0 0 auto;accent-color:#2ca64b;width:19px;height:19px;margin:0}
.jahez-choice span{min-width:0;display:flex;flex-direction:column;gap:3px}
.jahez-choice strong{font-size:13px;color:#264f34}
.jahez-choice small{font-size:11px;line-height:1.6;color:#7a8b7e}
.jahez-platforms-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.jahez-platform-card{min-width:0;padding:17px;border-radius:15px;background:#fff;border:1px solid #e3ece2;transition:border-color .15s}
.jahez-platform-card:focus-within{border-color:#7ac98a}
.jahez-platform-top{display:flex;align-items:center;gap:12px;margin-bottom:17px}
.jahez-platform-icon{width:41px;height:41px;flex:0 0 auto;display:grid;place-items:center;background:#edf9ed;color:#1d793c;border-radius:12px}
.jahez-platform-icon svg{width:22px;height:22px}
.jahez-platform-top strong{font-size:14px;color:#244c34}
.jahez-platform-top .jahez-switch{margin-inline-start:auto}
.jahez-link-input{display:flex;flex-direction:column;gap:7px;min-width:0;color:#657a69;font-size:12px;font-weight:700}
.jahez-link-input input{display:block;width:100%;max-width:100%;min-width:0;height:43px;border:1px solid #dce8dc;border-radius:10px;background:#fafdfa;color:#213f2b;font-family:Tahoma,Arial,sans-serif;font-size:12px;font-weight:400;line-height:1.3;padding:10px 12px;box-sizing:border-box}
.jahez-link-input input[dir=ltr]{text-align:left;direction:ltr}
.jahez-link-input input::placeholder{color:#9aaba0;font-size:11px}
.jahez-link-input input:focus{outline:2px solid #91d99a;outline-offset:1px}
.jahez-save-bar{display:flex;align-items:center;flex-wrap:wrap;gap:16px;padding-top:8px;border-top:1px solid #e5eee5}
.jahez-save-bar button{border:0;border-radius:11px;padding:14px 24px;font-weight:800}
.jahez-save-bar>span{font-size:12px;color:#7b8c7c}
@media(max-width:1000px){.menu-page .social-links{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){
 .menu-page .social-contact-card{padding:26px 19px;gap:20px;border-radius:19px}
 .menu-page .social-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .menu-page .social-link{min-height:63px;padding:9px;gap:8px;font-size:12px}
 .menu-page .social-link-icon{width:37px;height:37px;border-radius:11px}
 .menu-page .social-link-icon svg{width:21px;height:21px}
 .menu-page .social-link-arrow{display:none}
 .menu-page .social-extras{grid-template-columns:1fr;padding-top:18px}
 .menu-page .social-info{min-height:67px}
 .menu-page .header-socials{max-width:65%;gap:4px}
 .menu-page .header-socials a{width:30px;height:30px;border-radius:9px}
 .menu-page .header-socials svg{width:17px;height:17px}
 .jahez-admin-social-intro{padding:20px}
 .jahez-social-form{padding:20px;gap:24px}
 .jahez-positions,.jahez-platforms-grid{grid-template-columns:1fr}
 .jahez-main-toggle{padding:16px}
}
@media(max-width:390px){.menu-page .social-link{font-size:11px}.menu-page .social-link-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}
@media(prefers-reduced-motion:reduce){.jahez-switch-track,.jahez-switch-track::after,.menu-page .social-link{transition:none}}
