/* E-hely shared design layer — tokens, base, header, footer, product cards and floating buttons. */
:root{
  --bg:#fff;--soft:#f6f6f5;--ink:#111;--text:#3d3d3d;--gray:#767676;--line:#e8e8e7;
  --radius:16px;--max:1240px;--gut:clamp(20px,4vw,40px);
  --ease:cubic-bezier(.22,1,.36,1);
  --display:'Inter Tight','Inter',system-ui,sans-serif;--body:'Inter',system-ui,-apple-system,sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:100px;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--text);font:400 16px/1.65 var(--body);-webkit-font-smoothing:antialiased}
h1,h2,h3,p,figure,dl,dd,ol{margin:0}ol{padding:0;list-style:none}
h1,h2,h3{color:var(--ink);font-family:var(--display);font-weight:600}
a{color:inherit;text-decoration:none}img{display:block;max-width:100%}button{font:inherit;cursor:pointer;background:none;border:0;color:inherit}
::selection{background:var(--ink);color:#fff}
:focus-visible{outline:2px solid var(--ink);outline-offset:3px;border-radius:6px}
.hx-container{max-width:var(--max);margin-inline:auto;padding-inline:var(--gut)}
.skip-link{position:fixed;z-index:1000;top:-60px;left:12px;background:var(--ink);color:#fff;padding:10px 16px;border-radius:8px}.skip-link:focus{top:12px}
.ui-icon{font-size:.8em}
.ico-ne{transform:rotate(-45deg)}

/* Wider frame with a tighter side gutter so the filter panel sits close to the edge on catalog pages (header and footer follow). */
.is-listing,.is-detail{--max:1480px;--gut:clamp(16px,2vw,24px)}

/* ---------- Atoms ---------- */
.hx-label{display:block;font-size:13px;font-weight:500;color:var(--gray);margin-bottom:14px}
.hx-section{padding-block:clamp(72px,10vw,128px)}
.hx-section-tight{padding-block:clamp(56px,7vw,96px)}
.hx-section-last{padding-bottom:clamp(72px,10vw,128px)}
.hx-soft{background:var(--soft)}
.hx-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;flex-wrap:wrap;margin-bottom:clamp(32px,4vw,52px)}
.hx-head h2,.hx-about h2,.hx-contact h2{font-size:clamp(28px,3.4vw,44px);line-height:1.12;letter-spacing:-.03em;max-width:620px}
.hx-link{display:inline-flex;align-items:center;gap:8px;font-size:15px;font-weight:500;color:var(--ink);border-bottom:1px solid var(--line);padding-bottom:4px;transition:border-color .3s}
.hx-link:hover{border-color:var(--ink)}
.hx-link .ui-icon,.hx-btn .ui-icon{transition:transform .4s var(--ease)}
.hx-link:hover .ico-ne,.hx-btn:hover .ico-ne{transform:rotate(-45deg) translateX(3px)}
.hx-actions{display:flex;flex-wrap:wrap;gap:12px}
.hx-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;height:48px;padding:0 22px;border-radius:999px;font:500 15px/1 var(--body);white-space:nowrap;transition:background .3s,color .3s,border-color .3s}
.hx-btn-sm{height:40px;padding:0 18px;font-size:14px}
.hx-btn-dark{background:var(--ink);color:#fff}.hx-btn-dark:hover{background:#333}
.hx-btn-line{border:1px solid var(--line);color:var(--ink)}.hx-btn-line:hover{border-color:var(--ink)}

/* ---------- Header ---------- */
.hx-header{position:sticky;top:0;z-index:90;background:rgba(255,255,255,.9);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-bottom:1px solid transparent;transition:border-color .3s}
.hx-header.is-scrolled{border-color:var(--line)}
.hx-header-inner{height:84px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.hx-logo img{height:54px;width:auto}
.hx-nav{display:flex;gap:32px;align-items:center}
.hx-nav a{position:relative;display:inline-flex;flex-direction:column;align-items:center;font-size:15px;color:var(--text);padding:6px 0;transition:color .2s}
.hx-nav a::before{content:attr(data-label);font-weight:600;height:0;overflow:hidden;visibility:hidden} /* reserves bold width so active links do not shift */
.hx-nav a::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1.5px;background:var(--ink);transform:scaleX(0);transform-origin:left;transition:transform .35s var(--ease)}
.hx-nav a:hover{color:var(--ink)}
.hx-nav a:hover::after,.hx-nav a.is-active::after{transform:scaleX(1)}
.hx-nav a.is-active{color:var(--ink);font-weight:600}
.hx-nav .hx-nav-cta{display:none}
.hx-header-actions{display:flex;align-items:center;gap:10px}
/* Language switcher: dropdown beside Contact us on desktop, two options above the WhatsApp button in the mobile menu. */
.hx-nav .hx-nav-lang{display:none}
.hx-lang{position:relative}
.hx-lang summary{list-style:none;display:flex;align-items:center;gap:8px;height:40px;padding:0 12px;border:1px solid var(--line);border-radius:999px;font-size:14px;font-weight:500;color:var(--ink);cursor:pointer;transition:border-color .2s}
.hx-lang summary::-webkit-details-marker{display:none}
.hx-lang summary:hover,.hx-lang[open] summary{border-color:var(--ink)}
.hx-lang img,.hx-nav-lang img{width:22px;height:15px;border-radius:3px;object-fit:cover;box-shadow:0 0 0 1px rgba(0,0,0,.08)}
.hx-lang summary .ui-icon{font-size:10px;color:var(--gray);transition:transform .3s var(--ease)}
.hx-lang[open] summary .ui-icon{transform:rotate(180deg)}
.hx-lang-menu{position:absolute;right:0;top:calc(100% + 8px);min-width:200px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:6px;box-shadow:0 20px 40px -20px rgba(0,0,0,.25);z-index:5}
.hx-lang-menu .hx-lang-option{display:flex;align-items:center;gap:10px;white-space:nowrap;padding:10px 12px;border-radius:10px;font-size:14px;color:var(--text);transition:background .2s,color .2s}
.hx-lang-menu .hx-lang-option:hover{background:var(--soft);color:var(--ink)}
.hx-lang-menu .hx-lang-option.is-active{color:var(--ink);font-weight:600}
.hx-lang-menu .fa-check{margin-left:auto;font-size:12px}
.hx-burger{display:none;width:40px;height:40px;position:relative}
.hx-burger span{position:absolute;left:10px;right:10px;height:1.5px;background:var(--ink);transition:transform .4s var(--ease)}
.hx-burger span:first-child{top:16px}.hx-burger span:last-child{top:23px}
.hx-burger[aria-expanded=true] span:first-child{transform:translateY(3.5px) rotate(45deg)}.hx-burger[aria-expanded=true] span:last-child{transform:translateY(-3.5px) rotate(-45deg)}
@media (max-width:860px){
  .hx-burger{display:block}.hx-header-actions .hx-btn,.hx-lang{display:none}.hx-logo img{height:46px}
  body.menu-open .hx-header{backdrop-filter:none;-webkit-backdrop-filter:none;background:#fff}
  .hx-nav{position:fixed;inset:84px 0 auto;height:calc(100dvh - 84px);background:#fff;flex-direction:column;align-items:stretch;gap:0;padding:8px var(--gut) 24px;opacity:0;visibility:hidden;transform:translateY(-8px);transition:opacity .3s,transform .4s var(--ease),visibility .3s}
  .hx-nav.is-open{opacity:1;visibility:visible;transform:none}
  .hx-nav a{display:block;font-size:20px;font-weight:500;color:var(--ink);padding:16px 0;border-bottom:1px solid var(--line)}
  .hx-nav a::before,.hx-nav a::after{display:none}
  .hx-nav a.is-active{font-weight:700}
  .hx-nav .hx-nav-lang{display:flex;gap:8px;margin-top:auto;padding-top:16px}
  .hx-nav .hx-nav-lang a{flex:1;display:flex;flex-direction:row;align-items:center;justify-content:center;gap:10px;font-size:15px;font-weight:500;padding:12px;border:1px solid var(--line);border-radius:999px;color:var(--text)}
  .hx-nav .hx-nav-lang a.is-active{border-color:var(--ink);color:var(--ink);font-weight:600}
  .hx-nav .hx-nav-cta{display:flex;flex-direction:row;justify-content:space-between;align-items:center;margin-top:12px;font-size:15px;background:var(--ink);color:#fff;padding:16px 20px;border-radius:999px;border:0}
}

/* ---------- Breadcrumbs ---------- */
.hx-crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:14px;color:var(--gray);margin-bottom:clamp(12px,1.6vw,18px)}
.hx-crumbs a{transition:color .2s}.hx-crumbs a:hover{color:var(--ink)}
.hx-crumbs [aria-current]{color:var(--ink);font-weight:500}

/* ---------- Help strip ---------- */
.hx-help{display:flex;justify-content:space-between;align-items:center;gap:24px 40px;flex-wrap:wrap;border:1px solid var(--line);border-radius:calc(var(--radius) + 4px);padding:clamp(28px,4vw,48px)}
.hx-help h2{font-size:clamp(24px,2.6vw,32px);letter-spacing:-.03em}
.hx-help p{color:var(--gray);margin-top:8px;max-width:460px}

/* ---------- Product cards (homepage featured + catalog) ---------- */
.hx-product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:clamp(16px,2vw,24px)}
.hx-product{display:flex;flex-direction:column;background:#fff;border-radius:var(--radius);padding:12px 12px 16px}
.hx-product-media{aspect-ratio:1;border-radius:10px;overflow:hidden;display:grid;place-items:center;padding:10%;margin-bottom:16px}
.hx-product-media img{width:100%;height:100%;object-fit:contain;transition:transform .6s var(--ease)}
.hx-product:hover .hx-product-media img{transform:scale(1.05)}
.hx-product-media.is-placeholder{position:relative}
.hx-product-media.is-placeholder img{opacity:.25;filter:grayscale(1)}
.hx-product-noimg{position:absolute;left:50%;bottom:10px;transform:translateX(-50%);white-space:nowrap;font-size:11px;color:var(--gray);background:var(--soft);padding:3px 10px;border-radius:999px}
.hx-product-tag{font-size:12px;color:var(--gray);padding-inline:4px}
.hx-product h3{font-size:15px;line-height:1.4;font-weight:500;letter-spacing:-.01em;margin:4px 0 14px;padding-inline:4px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.hx-product-actions{margin-top:auto;display:flex;justify-content:space-between;align-items:center;padding-inline:4px;font-size:14px;font-weight:500;color:var(--ink)}
.hx-product-actions a:first-child{display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 14px;border:1px solid #d4d4d3;border-radius:999px;transition:background .3s,color .3s,border-color .3s}
.hx-product-actions a:first-child:hover{background:var(--ink);border-color:var(--ink);color:#fff}
.hx-product-actions a:last-child{width:34px;height:34px;border-radius:50%;border:1px solid rgba(37,211,102,.4);color:#25d366;display:grid;place-items:center;font-size:17px;transition:background .3s,color .3s,border-color .3s}
.hx-product-actions a:last-child:hover{background:#25d366;color:#fff;border-color:#25d366}
@media (max-width:1000px){.hx-product-grid{grid-template-columns:repeat(2,1fr)}}
.hx-product-actions a:first-child{white-space:nowrap}
.hx-lbl-short{display:none}
@media (max-width:520px){.hx-product-grid{gap:12px}.hx-product{padding:10px 10px 14px}.hx-lbl-long{display:none}.hx-lbl-short{display:inline}.hx-product-actions a:first-child{padding:0 12px}}

/* ---------- Footer ---------- */
.hx-footer{border-top:1px solid var(--line);padding-top:56px}
.hx-footer-top{display:grid;grid-template-columns:2fr 1fr 1fr;gap:40px;padding-bottom:48px}
.hx-footer-brand{display:inline-block}
.hx-footer-brand img{height:56px;width:auto;max-width:100%} /* height-only, keeps the logo proportions */
.hx-footer-about p{margin-top:16px;color:var(--gray);font-size:15px;max-width:420px}
.hx-footer-about p+p{margin-top:10px}
.hx-footer-meta{list-style:none;padding:0;margin:20px 0 0;display:grid;gap:8px;font-size:15px;color:var(--text)}
.hx-footer-meta li{display:flex;align-items:center;gap:10px}
.hx-footer-meta .ui-icon{width:16px;color:var(--gray)}
.hx-footer nav h2{font:500 13px/1 var(--body);color:var(--gray);margin:4px 0 16px}
.hx-footer nav a{display:block;width:fit-content;padding:4px 0;font-size:15px;transition:color .2s}
.hx-footer nav a:hover{color:var(--ink)}
.hx-footer-bottom{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:22px 0;border-top:1px solid var(--line);font-size:14px;color:var(--gray)}
@media (max-width:700px){
  .hx-footer-top{grid-template-columns:1fr 1fr}
  /* Logo sits to the left of the description on small screens. */
  .hx-footer-about{grid-column:1/-1;display:grid;grid-template-columns:auto 1fr;column-gap:16px;align-items:start}
  .hx-footer-brand{grid-row:1/span 2}
  .hx-footer-meta{grid-column:1/-1;display:flex;flex-wrap:nowrap;gap:16px;font-size:13px;white-space:nowrap}
  .hx-footer-meta li{gap:6px}
  .hx-footer-brand img{height:56px}
  .hx-footer-about p:first-of-type{margin-top:0}
}
@media (max-width:360px){.hx-footer-meta{flex-wrap:wrap;gap:6px 16px}} /* too narrow for one row */

/* ---------- Floating buttons ---------- */
.hx-float-wa,.hx-float-top{position:fixed;right:20px;z-index:80;width:52px;height:52px;border-radius:50%;display:grid;place-items:center;transition:transform .3s var(--ease),opacity .3s,visibility .3s,background .3s}
.hx-float-wa{bottom:20px;background:#25d366;color:#fff;font-size:26px;box-shadow:0 10px 30px -10px rgba(37,211,102,.7)}
.hx-float-wa:hover{background:#1ebe5b;transform:translateY(-2px)}
.hx-float-top{bottom:84px;background:#fff;color:var(--ink);border:1px solid var(--line);font-size:18px;box-shadow:0 10px 30px -14px rgba(0,0,0,.3);opacity:0;visibility:hidden;transform:translateY(10px)}
.hx-float-top.is-visible{opacity:1;visibility:visible;transform:none}
.hx-float-top:hover{background:var(--ink);color:#fff;border-color:var(--ink)}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-delay:0s!important;transition-duration:.01ms!important}html{scroll-behavior:auto}}
