/* ============================================================
   chrome.css — unified site header + footer for ALL pages
   Mirrors the root index.php look (teal / cream / Fraunces).
   Namespaced with .mkx- so it never clashes with style.css
   or the root page's own inline styles.
   ============================================================ */
.mkx{
  --mkx-teal:#12b3ab; --mkx-teal-deep:#0c847e;
  --mkx-coral:#f4776b; --mkx-coral-deep:#cf5748;
  --mkx-ink:#24303a; --mkx-ink2:#516069;
  --mkx-line:#d4e6e1; --mkx-cream:#edf6f4; --mkx-cream2:#e1efeb;
  --mkx-white:#ffffff; --mkx-gold:#a99a70; --mkx-max:1200px;
}
.mkx *{box-sizing:border-box;}
.mkx-wrap{width:min(var(--mkx-max),calc(100% - 48px));margin:0 auto;}

/* ---------- header ---------- */
.mkx-header{position:sticky;top:0;z-index:100;padding:12px 0;background:var(--mkx-white);
  border-bottom:1px solid var(--mkx-line);box-shadow:0 4px 20px rgba(90,70,40,.06);
  font-family:"Plus Jakarta Sans",system-ui,sans-serif;}
.mkx-nav{display:flex;align-items:center;justify-content:space-between;gap:20px;}
.mkx-brand img{width:186px;height:auto;display:block;}
.mkx-brand .ph{width:170px;height:36px;}

.mkx-links{display:flex;align-items:center;gap:28px;}
.mkx-links a{font-size:14px;font-weight:600;color:var(--mkx-ink2);text-decoration:none;transition:.2s ease;}
.mkx-links a:hover,.mkx-links a.active{color:var(--mkx-teal);}

.mkx-actions{display:flex;align-items:center;gap:11px;}
.mkx-login{border:1.5px solid var(--mkx-line);background:var(--mkx-white);color:var(--mkx-ink);
  border-radius:999px;padding:11px 22px;font-size:14px;font-weight:700;text-decoration:none;
  transition:transform .2s ease,border-color .2s ease;}
.mkx-login:hover{transform:translateY(-2px);border-color:var(--mkx-gold);}

/* user menu */
.mkx-user{position:relative;}
.mkx-user>button{display:flex;align-items:center;gap:8px;border:0;background:transparent;cursor:pointer;
  font:inherit;color:var(--mkx-ink);padding:6px 8px 6px 6px;border-radius:999px;transition:background .2s ease;}
.mkx-user>button:hover{background:var(--mkx-cream2);}
.mkx-user .avatar{width:32px;height:32px;border-radius:50%;flex:0 0 auto;overflow:hidden;
  background:linear-gradient(120deg,var(--mkx-teal),var(--mkx-coral));color:#fff;
  display:flex;align-items:center;justify-content:center;font-weight:800;font-size:12.5px;}
.mkx-user .avatar img{width:100%;height:100%;object-fit:cover;display:block;}
.mkx-user .uname{font-weight:700;font-size:14px;}
.mkx-user .chev{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:2;transition:transform .2s ease;}
.mkx-user.open .chev{transform:rotate(180deg);}
.mkx-drop{display:none;position:absolute;right:0;top:48px;background:#fff;min-width:210px;
  border:1px solid var(--mkx-line);box-shadow:0 18px 50px rgba(18,30,26,.16);border-radius:16px;overflow:hidden;padding:6px;z-index:5;}
.mkx-user.open .mkx-drop{display:block;}
.mkx-drop a{display:flex;align-items:center;gap:10px;padding:11px 13px;font-weight:700;font-size:13.5px;
  border-radius:10px;color:var(--mkx-ink);text-decoration:none;text-transform:none;}
.mkx-drop a svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:1.8;flex:0 0 auto;}
.mkx-drop a:hover{background:var(--mkx-cream);color:var(--mkx-teal-deep);}
.mkx-drop .divider{height:1px;background:var(--mkx-line);margin:5px 8px;}

/* mobile menu button */
.mkx-menu-btn{display:none;width:46px;height:46px;border-radius:13px;border:1.5px solid var(--mkx-line);
  background:var(--mkx-white);cursor:pointer;position:relative;}
.mkx-menu-btn span{width:18px;height:2px;background:var(--mkx-ink);border-radius:9px;position:absolute;left:13px;transition:.25s ease;}
.mkx-menu-btn span:nth-child(1){top:16px;}
.mkx-menu-btn span:nth-child(2){top:22px;}
.mkx-menu-btn span:nth-child(3){top:28px;}
.mkx-menu-btn.open span:nth-child(1){top:22px;transform:rotate(45deg);}
.mkx-menu-btn.open span:nth-child(2){opacity:0;}
.mkx-menu-btn.open span:nth-child(3){top:22px;transform:rotate(-45deg);}

/* ---------- footer ---------- */
/* sticky footer so short pages fill the viewport (no empty gap below) */
body{min-height:100vh;display:flex;flex-direction:column;}
body>.mkx-footer{margin-top:auto;}
/* breathing room around the page content so it is never jammed against
   the hero band above or the footer below */
body>main{padding-top:34px;padding-bottom:90px;}
.mkx-footer{background:var(--mkx-ink);color:rgba(251,244,233,.62);padding:60px 0 32px;
  font-family:"Plus Jakarta Sans",system-ui,sans-serif;}
.mkx-fgrid{display:grid;grid-template-columns:1.5fr .8fr .8fr .9fr;gap:30px;
  padding-bottom:40px;border-bottom:1px solid rgba(255,255,255,.1);}
.mkx-flogo{width:186px;padding:11px 13px;border-radius:12px;background:var(--mkx-cream);margin-bottom:18px;}
.mkx-flogo img{width:100%;height:auto;display:block;}
.mkx-footer p{line-height:1.7;font-size:14px;max-width:300px;color:rgba(251,244,233,.62);}
.mkx-footer h4{color:var(--mkx-cream);font-family:"Fraunces",Georgia,serif;font-size:18px;margin-bottom:14px;font-weight:600;}
.mkx-footer a{display:block;font-size:14px;color:rgba(251,244,233,.62);text-decoration:none;transition:.2s ease;line-height:1.9;}
.mkx-footer a:hover{color:var(--mkx-coral);}
.mkx-social{display:flex;gap:10px;margin-top:4px;}
.mkx-social span{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;
  background:rgba(255,255,255,.08);color:var(--mkx-cream);font-weight:800;font-size:13px;}
.mkx-copyright{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;padding-top:24px;font-size:13px;}
.mkx-copyright .script{font-family:"Fraunces",Georgia,serif;font-style:italic;color:var(--mkx-gold);}

/* whatsapp float */
.mkx-fab{position:fixed;right:22px;bottom:22px;z-index:80;display:inline-flex;align-items:center;justify-content:center;
  width:58px;height:58px;border-radius:50%;background:#1fae5b;color:#fff;
  text-decoration:none;box-shadow:0 16px 38px rgba(31,174,91,.4);transition:.25s ease;
  animation:mkxFabFloat 2.8s ease-in-out infinite,mkxFabPulse 2s ease-out infinite;}
.mkx-fab:hover{transform:translateY(-3px);animation-play-state:paused;}
.mkx-fab svg{width:30px;height:30px;fill:currentColor;}
@keyframes mkxFabFloat{0%,100%{transform:translateY(0);}50%{transform:translateY(-6px);}}
@keyframes mkxFabPulse{0%{box-shadow:0 16px 38px rgba(31,174,91,.4),0 0 0 0 rgba(31,174,91,.5);}70%{box-shadow:0 16px 38px rgba(31,174,91,.4),0 0 0 15px rgba(31,174,91,0);}100%{box-shadow:0 16px 38px rgba(31,174,91,.4),0 0 0 0 rgba(31,174,91,0);}}
@media (prefers-reduced-motion: reduce){.mkx-fab{animation:none;}}

/* keep the sub-page hero band in the root's teal family + give it breathing room
   (was cramped right under the header) */
.mk-page-hero{padding:60px 0 40px;
  background:radial-gradient(circle at top left,rgba(18,179,171,.16),transparent 42%),linear-gradient(180deg,var(--mkx-white),var(--mkx-cream));
  border-bottom:1px solid var(--mkx-line);}
.mk-page-hero-inner{max-width:var(--mkx-max);}
.mk-page-kicker{background:rgba(18,179,171,.12)!important;color:var(--mkx-teal-deep)!important;margin-bottom:14px;}
.mk-page-hero h1{font-family:"Fraunces",Georgia,serif;font-weight:600;font-size:clamp(30px,4vw,46px);letter-spacing:-1px;line-height:1.04;color:var(--mkx-ink);}
.mk-page-hero p{margin-top:12px;font-size:16px;color:var(--mkx-ink2);}
@media(max-width:640px){.mk-page-hero{padding:40px 0 32px;}}

/* kad/order catalog toolbar: main already provides top spacing, so trim the
   toolbar's own top margin to avoid a big empty gap under the hero */
.template-toolbar{margin-top:6px;}

/* ---------- responsive ---------- */
@media(max-width:960px){
  .mkx-wrap{width:min(var(--mkx-max),calc(100% - 32px));}
  .mkx-menu-btn{display:block;}
  .mkx-links{display:none;position:fixed;top:74px;left:24px;right:24px;flex-direction:column;
    align-items:stretch;gap:4px;padding:16px;border-radius:16px;background:var(--mkx-white);
    box-shadow:0 24px 50px rgba(90,70,40,.2);z-index:120;}
  .mkx-links.open{display:flex;}
  .mkx-links a{padding:13px;text-align:center;border-radius:10px;}
  .mkx-user{margin-top:0;}
  .mkx-user .uname,.mkx-user .chev{display:none;}
  .mkx-fgrid{grid-template-columns:1fr 1fr;}
}
@media(max-width:560px){
  .mkx-brand img{width:150px;}
  .mkx-user .uname{display:none;}
  .mkx-fgrid{grid-template-columns:1fr;gap:26px;}
  .mkx-fab span{display:none;}
}
