/* Komi Home: the site-wide header (the home page's pill), the contact row added to the site's footer,
   the category cards at the top of the shop, and the quiz pop-up on every page.
   Loaded on the site's pages (not on the home page, which has all of this in its own file). */
@font-face{font-family:'Ploni';src:url(fonts/ploni-regular-aaa.woff2) format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:'Ploni';src:url(fonts/ploni-bold-aaa.woff2) format('woff2');font-weight:700;font-display:swap}
@font-face{font-family:'Ploni';src:url(fonts/ploni-black-aaa.woff2) format('woff2');font-weight:800 900;font-display:swap}

/* the theme's and Elementor's own header give way to ours */
body.kh-on .elementor-location-header,body.kh-on #masthead,body.kh-on header.site-header{display:none!important}
.kh-space{height:84px}

/* ---------- header ---------- */
.kh-site{--ink:#1d1d1f;--ink-2:#55555a;--wire:#d9d9d4;--bg:#f4f4f2;--pink:#E3097F;
  position:fixed;top:14px;left:0;right:0;z-index:9990;display:flex;justify-content:center;pointer-events:none;direction:rtl;font-family:'Ploni',Arial,sans-serif;line-height:1.5}
body.admin-bar .kh-site{top:46px}
.kh-site *{box-sizing:border-box}
.kh-site .pill{pointer-events:auto;display:flex;align-items:center;gap:6px;background:rgba(255,255,255,.42);-webkit-backdrop-filter:blur(16px) saturate(1.6);backdrop-filter:blur(16px) saturate(1.6);border:1px solid rgba(255,255,255,.7);border-radius:99px;padding:6px 10px;box-shadow:0 6px 20px -12px rgba(0,0,0,.3)}
.kh-site .home{display:block;line-height:0}
.kh-site .logo{height:34px;width:auto;margin:0 8px;max-width:none}
.kh-site nav{display:flex;align-items:center;gap:2px;max-width:0;overflow:hidden;opacity:0;transition:max-width .5s,opacity .3s}
.kh-site.open nav{max-width:640px;opacity:1}
.kh-site nav a{text-decoration:none;color:var(--ink);font-size:15px;font-weight:400;padding:6px 10px;border-radius:99px;white-space:nowrap;background:none;line-height:1.5}
.kh-site nav a:hover,.kh-site nav a:focus{background:var(--bg);color:var(--ink)}
.kh-site .sys{display:flex;gap:4px}
.kh-site .sys a{font-size:13px;color:var(--ink-2);border:1px solid var(--wire);padding:4px 8px}
.kh-site .cartn{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;margin-inline-start:6px;border-radius:99px;background:var(--pink);color:#fff;font-size:12px;font-weight:800;vertical-align:middle;line-height:1}
.kh-site .cartn[hidden]{display:none}
.kh-site .cartn.bump{animation:khbump .4s cubic-bezier(.3,1.7,.5,1)}
@keyframes khbump{50%{transform:scale(1.35)}}
.kh-site .dots{border:0;background:none;color:var(--ink);font:inherit;font-size:20px;line-height:1;padding:4px 8px;cursor:pointer;box-shadow:none}
.kh-site.open .dots{display:none}
/* search, at the side */
.kh-srch{display:flex;align-items:center;margin:0;padding:0;border-radius:99px;transition:background .2s}
.kh-srch input[type=search]{width:0;min-width:0;padding:0;margin:0;border:0;outline:0;background:none;box-shadow:none;font:inherit;font-size:14px;color:var(--ink);height:30px;transition:width .3s,padding .3s;-webkit-appearance:none;appearance:none}
.kh-srch.on{background:#fff}
.kh-srch.on input[type=search]{width:150px;padding:0 12px}
.kh-srch button{display:grid;place-items:center;width:32px;height:32px;padding:0;margin:0;border:0;border-radius:50%;background:none;color:var(--ink);cursor:pointer;box-shadow:none}
.kh-srch button:hover{background:var(--bg)}
.kh-srch svg{width:18px;height:18px}
@media (max-width:760px){
  .kh-site nav,.kh-site .sys{display:none}
  .kh-site.open .dots{display:block}
  .kh-site.menu .pill{flex-wrap:wrap;justify-content:space-between;width:calc(100vw - 32px);border-radius:26px;padding:8px 12px 12px}
  .kh-site.menu .home{order:0}.kh-site.menu .kh-srch{order:1}.kh-site.menu .dots{order:2}
  .kh-site.menu nav{display:flex;flex-direction:column;align-items:stretch;order:3;width:100%;max-width:none;opacity:1;gap:2px}
  .kh-site.menu nav a{font-size:17px;font-weight:700;padding:11px 14px;text-align:center}
  .kh-site.menu .sys{display:flex;flex-direction:column;border-top:1px solid rgba(0,0,0,.08);margin-top:6px;padding-top:6px}
  .kh-site.menu .sys a{border:0;font-size:17px;font-weight:700;color:var(--ink)}
  .kh-srch.on input[type=search]{width:120px}
}

/* ---------- the quiz pop-up (as on the home page) ---------- */
.quiz-pop{position:fixed;inset:0;z-index:99999;overscroll-behavior:contain}
.quiz-pop[hidden]{display:none}
.quiz-pop iframe{position:absolute;inset:0;width:100%;height:100%;border:0;background:transparent}
html.quiz-open,html.quiz-open body{overflow:hidden}
@media (max-width:760px){
  .quiz-pop{background:linear-gradient(160deg,rgba(49,193,232,.55),rgba(227,9,127,.45));-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
  .quiz-pop iframe{inset:12px 10px;width:calc(100% - 20px);height:calc(100% - 24px);border-radius:24px;box-shadow:0 24px 60px -20px rgba(40,0,30,.55);background:#fff}
}

/* ---------- the contact row added to the site's footer ---------- */
.kh-fdet{direction:rtl;font-family:'Ploni',Arial,sans-serif;padding:22px 16px;border-bottom:1px solid rgba(127,127,127,.25)}
.kh-fdet .in{width:min(1200px,100%);margin:0 auto;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 26px;font-size:16px;line-height:1.5}
.kh-fdet a{color:inherit;text-decoration:none;font-weight:700}
.kh-fdet a:hover{text-decoration:underline}
.kh-fdet .addr{font-weight:400}

/* ---------- category cards at the top of the shop ---------- */
.kh-cats{direction:rtl;font-family:'Ploni',Arial,sans-serif;width:min(1200px,100% - 32px);margin:8px auto 26px;display:grid;grid-template-columns:repeat(6,1fr);gap:14px}
.kh-cat{display:flex;flex-direction:column;align-items:center;gap:8px;padding:12px 12px 14px;background:#fff;border:3px solid var(--c,#31C1E8);border-radius:18px;text-decoration:none;color:#1d1d1f;transition:transform .15s,box-shadow .15s}
.kh-cat:hover,.kh-cat:focus{transform:translateY(-3px);box-shadow:0 14px 30px -20px rgba(0,0,0,.4);color:#1d1d1f}
.kh-cat .im{width:100%;height:120px;display:grid;place-items:center;background:#f4f4f2;border-radius:12px;overflow:hidden}
.kh-cat .im img{max-height:108px;max-width:90%;width:auto;height:auto;object-fit:contain}
.kh-cat b{font-size:18px;font-weight:900;line-height:1.2;text-align:center}
.kh-cat:nth-child(4n+1){--c:#31C1E8}.kh-cat:nth-child(4n+2){--c:#F08E21}.kh-cat:nth-child(4n+3){--c:#E3097F}.kh-cat:nth-child(4n){--c:#A4C639}
@media (max-width:900px){.kh-cats{grid-template-columns:repeat(3,1fr)}}
@media (max-width:560px){
  .kh-cats{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;width:100%;padding:0 16px 6px;gap:10px;scrollbar-width:none}
  .kh-cats::-webkit-scrollbar{display:none}
  .kh-cat{flex:0 0 40%;scroll-snap-align:start}
  .kh-cat .im{height:96px}.kh-cat .im img{max-height:86px}
  .kh-cat b{font-size:16px}
}

/* ---------- the cart drawer (as on the home page) ---------- */
.kh-drawer{position:fixed;inset:0;z-index:99990;background:rgba(24,18,34,.35);direction:rtl;font-family:'Ploni',Arial,sans-serif;line-height:1.5;--hi:#1d1b1a;--ti:#4a4540;--pk:#E3097F}
.kh-drawer[hidden]{display:none}
.kh-drawer *{box-sizing:border-box}
.kh-drawer .kh-dp{position:absolute;top:var(--kh-ab,0px);bottom:0;left:0;width:min(400px,100%);background:#fff;display:flex;flex-direction:column;box-shadow:30px 0 60px -30px rgba(40,10,30,.4);animation:khslide .35s cubic-bezier(.2,.9,.3,1)}
@keyframes khslide{from{transform:translateX(-100%)}}
.kh-drawer .kh-dh{display:flex;align-items:center;justify-content:space-between;padding:20px 22px 14px;font-size:22px;color:var(--hi)}
.kh-drawer .kh-dh b{font-weight:900}
.kh-drawer .kh-dx{width:40px;height:40px;padding:0;margin:0;border-radius:50%;border:0;background:rgba(31,28,26,.06);color:var(--hi);font-size:18px;line-height:1;cursor:pointer;box-shadow:none}
.kh-drawer .kh-dx:hover{background:#fde6f2;color:var(--hi)}
.kh-drawer .kh-ship{margin:0 22px 8px;padding:12px 14px;border-radius:14px;background:#fdf0f7;font-size:14.5px;font-weight:700;color:var(--hi)}
.kh-drawer .kh-ship .bar{height:6px;border-radius:99px;background:rgba(31,28,26,.08);margin-top:8px;overflow:hidden}
.kh-drawer .kh-ship .bar i{display:block;height:100%;background:var(--pk);border-radius:inherit;transition:width .4s}
.kh-drawer .kh-lines{list-style:none;margin:0;padding:0 22px;flex:1;overflow-y:auto}
.kh-drawer .kh-lines li{display:flex;align-items:center;gap:12px;margin:0;padding:12px 0;border-bottom:1px solid rgba(31,28,26,.08)}
.kh-drawer .kh-lines img{width:52px;height:64px;max-width:none;object-fit:contain}
.kh-drawer .kh-lines .t{flex:1;font-weight:700;font-size:15px;line-height:1.25;color:var(--hi)}
.kh-drawer .kh-lines .t small{display:block;font-weight:500;font-size:14px;color:var(--ti)}
.kh-drawer .kh-lines .rm{padding:0 4px;margin:0;border:0;background:none;color:#a49a94;font-size:22px;line-height:1;cursor:pointer;box-shadow:none}
.kh-drawer .kh-lines .rm:hover{color:var(--pk);background:none}
.kh-drawer .kh-q{display:inline-flex;align-items:center;margin-top:6px;height:32px;border:1px solid rgba(31,28,26,.14);border-radius:99px;direction:ltr}
.kh-drawer .kh-q button{width:32px;height:30px;padding:0;margin:0;border:0;border-radius:99px;background:none;color:var(--hi);font:700 18px/1 Arial,sans-serif;cursor:pointer;box-shadow:none}
.kh-drawer .kh-q button:hover{background:#fde6f2;color:var(--hi)}
.kh-drawer .kh-q button:disabled{color:#cfc8c3;background:none;cursor:default}
.kh-drawer .kh-q b{min-width:22px;text-align:center;font-size:15px;font-weight:900;color:var(--hi)}
.kh-drawer.kh-busy .kh-q{opacity:.5;pointer-events:none}
.kh-drawer .kh-lines .empty{justify-content:center;color:#a49a94;border:0;padding:40px 0}
.kh-drawer .kh-df{padding:16px 22px 22px;border-top:1px solid rgba(31,28,26,.08)}
.kh-drawer .kh-sum{display:flex;justify-content:space-between;align-items:baseline;gap:10px;font-size:18px;margin-bottom:12px;color:var(--hi)}
.kh-drawer .kh-pay{display:flex;align-items:center;justify-content:center;height:54px;border-radius:99px;background:var(--pk);color:#fff;font-weight:900;font-size:18px;text-decoration:none;box-shadow:0 16px 28px -14px rgba(150,0,80,.6)}
.kh-drawer .kh-pay:hover,.kh-drawer .kh-pay:focus{color:#fff;background:#c90770}
.kh-toast{position:fixed;bottom:18px;left:50%;transform:translate(-50%,160%);background:#222;color:#fff;border-radius:12px;padding:10px 16px;font-family:'Ploni',Arial,sans-serif;font-size:14px;transition:transform .3s;z-index:99995;visibility:hidden;direction:rtl}
.kh-toast.show{transform:translate(-50%,0);visibility:visible}

/* ---------- the site footer's floating subscription strip: as thin as it can be, the tag on its side,
   the shipping line beside it, in the middle of the strip (numbers set by footer-fix.js) ---------- */
.elementor-location-footer .elementor-element-c92c94f:not(.elementor-sticky__spacer){--padding-top:0px!important;--padding-bottom:0px!important;padding-top:0!important;padding-bottom:0!important;min-height:0!important}
.elementor-location-footer .elementor-element-c92c94f .elementor-element-34357fe{flex-direction:row!important;flex-wrap:nowrap!important;align-items:flex-end!important;gap:18px!important;margin:0!important;--margin-top:0px!important;--margin-right:0px!important;width:100%!important;max-width:100%!important;padding:0 16px!important}
.elementor-location-footer .elementor-element-c92c94f .elementor-widget-image{flex:0 0 auto!important;width:auto!important;max-width:none!important;height:auto!important;margin:0!important;align-self:flex-end!important;line-height:0!important;top:auto!important;bottom:auto!important}
.elementor-location-footer .elementor-element-c92c94f .elementor-widget-image>.elementor-widget-container,.elementor-location-footer .elementor-element-c92c94f .elementor-widget-image a{display:block;line-height:0}
.elementor-location-footer .elementor-element-c92c94f .elementor-widget-image>.elementor-widget-container{margin:0!important;height:auto!important}   /* Elementor pulled the tag up into a box 8px tall: it spilled over the line under it */
.elementor-location-footer .elementor-element-c92c94f .elementor-widget-image img{width:clamp(200px,26vw,480px)!important;height:auto!important;max-width:none!important;display:block}
.elementor-location-footer .elementor-element-c92c94f .elementor-widget-heading{flex:1 1 auto!important;width:auto!important;min-width:0;margin:0!important;display:flex!important;align-items:center;justify-content:center;height:var(--kh-band,auto);padding:0 12px!important}
.elementor-location-footer .elementor-element-c92c94f .elementor-widget-heading>.elementor-widget-container{width:100%;height:100%!important;margin:0!important;padding:0!important;display:flex!important;align-items:center;justify-content:center}
.elementor-location-footer .elementor-element-c92c94f>.e-con-inner{max-width:none!important;width:100%!important;padding:0!important}
.elementor-location-footer .elementor-element-c92c94f .elementor-heading-title{font-size:clamp(12px,1vw,17px)!important;line-height:1.3!important;margin:0!important;text-align:center}
@media (max-width:767px){   /* a phone: the tag in the middle, half over the strip; the shipping line under it in two short lines */
  .elementor-location-footer .elementor-element-c92c94f .elementor-element-34357fe{flex-direction:column!important;align-items:center!important;gap:0!important;padding:0 12px 5px!important}
  .elementor-location-footer .elementor-element-c92c94f .elementor-widget-image{align-self:center!important;margin-bottom:-4px!important}
  .elementor-location-footer .elementor-element-c92c94f .elementor-widget-image img{width:min(60vw,260px)!important}
  .elementor-location-footer .elementor-element-c92c94f .elementor-widget-heading{height:auto!important;width:100%!important;padding:0!important}
  .elementor-location-footer .elementor-element-c92c94f .elementor-heading-title{font-size:11.5px!important;line-height:1.25!important}
}
}

/* an administrator's bar over the page: the drawer starts under it */
body.admin-bar .kh-drawer{--kh-ab:32px}
@media (max-width:782px){body.admin-bar .kh-drawer{--kh-ab:46px}}

/* ---------- the footer's last row: rights on the right, the studio's signature (as on the home page) on the left ---------- */
.kh-fbot{direction:rtl;font-family:'Ploni',Arial,sans-serif;padding:14px 16px 18px;width:100%;flex:0 0 100%;box-sizing:border-box;align-self:stretch}
.kh-fbot[hidden]{display:none}
.kh-fbot .in{width:min(1200px,100%);margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px 24px;flex-wrap:wrap}
.kh-fbot .copy{font-size:14px;color:#7a6f67}
.kh-fbot .credit{display:flex;align-items:center;gap:10px;margin:0;padding:0;background:none;box-shadow:none;overflow:visible}
.kh-fbot .credit p{margin:0;font-size:13px;color:#7a6f67;white-space:nowrap}
.kh-fbot .sig{position:relative;display:inline-block;outline:0;cursor:pointer}
.kh-fbot .sig-logo{display:block;height:22px;width:auto;max-width:none}
.kh-fbot .sig-btns{position:absolute;left:50%;bottom:calc(100% + 8px);translate:-50% 0;display:flex;gap:8px;pointer-events:none}
.kh-fbot .sig-btns a{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;color:#C32228;background:rgba(195,34,40,.14);-webkit-backdrop-filter:blur(10px) saturate(1.6);backdrop-filter:blur(10px) saturate(1.6);border:1px solid rgba(195,34,40,.22);box-shadow:inset 0 1px 0 rgba(255,255,255,.55),0 8px 18px -10px rgba(120,10,20,.45);opacity:0;transform:translateY(22px) scale(.2);transition:opacity .2s,transform .3s cubic-bezier(.5,0,.75,0),background .2s;translate:var(--dx,0) 0;transition-property:opacity,transform,translate,background}
.kh-fbot .sig-btns a:nth-child(1){--dx:-40px}.kh-fbot .sig-btns a:nth-child(3){--dx:40px}
.kh-fbot .sig-btns svg{width:15px;height:15px}
.kh-fbot .sig:hover .sig-btns,.kh-fbot .sig:focus-within .sig-btns{pointer-events:auto}
.kh-fbot .sig:hover .sig-btns a,.kh-fbot .sig:focus-within .sig-btns a{opacity:1;transform:none;translate:0 0;transition-timing-function:ease,cubic-bezier(.3,1.7,.5,1),cubic-bezier(.3,1.7,.5,1),ease;transition-duration:.2s,.45s,.45s,.2s}
.kh-fbot .sig:hover .sig-btns a:nth-child(2),.kh-fbot .sig:focus-within .sig-btns a:nth-child(2){transition-delay:.04s}
.kh-fbot .sig-btns a:hover{background:rgba(195,34,40,.24);transform:translateY(-2px)!important}
.kh-fbot .sig:hover::before,.kh-fbot .sig:focus-within::before{content:"";position:absolute;left:-56px;right:-56px;bottom:100%;height:52px}   /* a bridge over the gap: the buttons stay while the pointer goes up to them */
/* on a dark footer: light text, the signature in white, its buttons on white glass */
.kh-fbot.dark .copy,.kh-fbot.dark .credit p{color:rgba(255,255,255,.88)}
.kh-fbot.dark .sig-logo{filter:brightness(0) invert(1)}
.kh-fbot.dark .sig-btns a{background:rgba(255,255,255,.9);border-color:rgba(255,255,255,.6)}
@media (max-width:560px){.kh-fbot .in{justify-content:center;flex-direction:column;gap:10px}}

/* the home page's opening screen: the floating strip waits until the page is scrolled (footer-fix.js) */
.elementor-location-footer .elementor-element-c92c94f{transition:translate .35s ease,opacity .25s}
.komi-sitefoot .elementor-location-footer .elementor-element-c92c94f:not(.elementor-sticky__spacer):not(.kh-show){translate:0 110%;opacity:0;pointer-events:none}   /* the home page: hidden until the script lets it in */
