/* Technomix — shared look for every page: colours, type, header, buttons, footer.
   Page-specific styles live in each page (or product.css for product pages). */
:root{
  --white:#FFFFFF;--off-white:#F8F7F4;--stone:#EDEBE6;
  --text-dark:#1A1A18;--text-mid:#4A4A44;--text-light:#6B6B64;
  --teal:#0E7C8A;--teal-dark:#0A6470;--teal-light:#E3F4F6;--teal-on-dark:#5CC9D6;
  --gold:#C8933A;--border:#E2E0DA;
  --radius-sm:6px;--radius-md:12px;
  --shadow-sm:0 1px 4px rgba(0,0,0,.06);--shadow-md:0 4px 20px rgba(0,0,0,.08);--shadow-lg:0 12px 48px rgba(0,0,0,.10);
  --display:'Playfair Display',Georgia,serif;--body:'Inter',system-ui,sans-serif;
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:var(--body);background:var(--off-white);color:var(--text-dark);-webkit-font-smoothing:antialiased;overflow-x:hidden}
a{color:inherit;text-decoration:none}
button{cursor:pointer;border:none;background:none;font-family:var(--body)}
img{max-width:100%}
:focus-visible{outline:2px solid var(--teal);outline-offset:2px}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.container{max-width:1280px;margin:0 auto;padding:0 24px}

/* Header (markup: partials/header.html). Top bar with the IKK line, live showroom status and contacts;
   main bar with the large logo (as on the original technomix.ae), a products mega menu and search.
   Once the visitor scrolls, the top bar folds away and the main bar slims down (menu.js adds .slim). */
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.site-header{position:sticky;top:0;z-index:100;transition:margin-bottom .25s}
/* the folded header gives back the space it saved, so the page does not jump (and cannot fold/unfold in a loop) */
.site-header.slim{margin-bottom:72px}
.topbar{background:var(--teal-dark);color:rgba(255,255,255,.9);font-size:12.5px;max-height:40px;overflow:hidden;transition:max-height .25s}
.topbar-in{display:flex;align-items:center;justify-content:space-between;gap:16px;height:38px}
.tb-ikk{font-size:11.5px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}
.tb-sep{opacity:.55;margin:0 6px}
.tb-right{display:flex;align-items:center;gap:22px;white-space:nowrap}
.tb-right a{color:#fff;font-weight:500}
.tb-right a:hover{text-decoration:underline;text-underline-offset:3px}
.tb-open{display:inline-flex;align-items:center;gap:7px}
.tb-open::before{content:"";width:8px;height:8px;border-radius:50%;background:#F2B84B;box-shadow:0 0 0 3px rgba(242,184,75,.25)}
.tb-open.is-open::before{background:#5BD68E;box-shadow:0 0 0 3px rgba(91,214,142,.25)}
.site-header.slim .topbar{max-height:0}
.nav-wrap{background:rgba(255,255,255,.97);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-bottom:1px solid var(--border)}
.nav{position:relative;display:flex;align-items:center;justify-content:space-between;gap:24px;height:96px;transition:height .25s}
.nav-logo{display:flex;align-items:center;gap:10px;flex:none}
.nav-logo img{height:76px;width:auto;display:block;transition:height .25s}
/* the logo already spells the name: show the text only if the logo image fails to load */
.nav-logo:not(.no-logo) .nav-logo-name{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.nav-logo-name{font-family:var(--display);font-size:18px;font-weight:600;color:var(--text-dark)}
.site-header.slim .nav{height:64px}
.site-header.slim .nav-logo img{height:46px}
.nav-links{display:flex;align-items:stretch;align-self:stretch;gap:26px}
.nav-links>a,.mm-trigger{position:relative;display:flex;align-items:center;font-size:14px;font-weight:500;color:var(--text-mid);transition:color .2s;white-space:nowrap}
.nav-links>a:hover,.nav-links>a.active,.mm-trigger:hover,.mm-trigger.active,.mm:hover .mm-trigger{color:var(--teal)}
.nav-links>a.active::after,.mm-trigger.active::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--teal);border-radius:2px}
.nav-actions{display:flex;gap:12px;align-items:center;flex:none}
/* Products mega menu: opens on hover or keyboard focus */
.mm{display:flex}
.mm-trigger svg{width:12px;height:12px;margin-left:4px;transition:transform .2s}
.mm:hover .mm-trigger svg,.mm:has(:focus-visible) .mm-trigger svg{transform:rotate(180deg)}
.mm-panel{position:absolute;left:0;right:0;top:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) 250px;gap:28px;padding:28px 32px 30px;background:var(--white);border:1px solid var(--border);border-top:0;border-radius:0 0 var(--radius-md) var(--radius-md);box-shadow:var(--shadow-lg);opacity:0;visibility:hidden;transform:translateY(-6px);transition:opacity .18s,transform .18s,visibility 0s .18s}
.mm:hover .mm-panel,.mm:has(:focus-visible) .mm-panel{opacity:1;visibility:visible;transform:none;transition:opacity .18s,transform .18s}
.mm.shut .mm-panel{opacity:0;visibility:hidden}
.mm-col h4{font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--teal);margin-bottom:10px}
.mm-col a{display:block;padding:5px 0;font-size:14px;color:var(--text-dark);transition:color .15s}
.mm-col a:hover{color:var(--teal)}
.mm-col a.mm-all{margin-top:8px;font-weight:600;color:var(--teal)}
.mm-feature{position:relative;display:flex;flex-direction:column;justify-content:flex-end;min-height:260px;border-radius:10px;overflow:hidden;border:1px solid var(--border);background:var(--stone) center/cover no-repeat}
.mm-feature-tag{position:absolute;top:12px;left:12px;background:var(--teal);color:#fff;font-size:10.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;padding:4px 9px;border-radius:100px}
.mm-feature b{display:block;background:rgba(255,255,255,.96);padding:14px 16px 2px;font-family:var(--display);font-size:18px;font-weight:600;color:var(--text-dark)}
.mm-feature b+span{display:block;background:rgba(255,255,255,.96);padding:0 16px 14px;font-size:12.5px;line-height:1.5;color:var(--text-mid)}
.mm-feature:hover b{color:var(--teal)}
/* Search in the header */
.nav-search{display:flex;align-items:center;gap:8px;width:230px;height:42px;padding:0 14px;background:var(--off-white);border:1px solid var(--border);border-radius:100px;transition:border-color .2s,background .2s,width .25s}
.nav-search:focus-within{border-color:var(--teal);background:var(--white)}
.ns-ic{display:flex;cursor:pointer;flex:none}
.ns-ic svg{width:17px;height:17px;fill:none;stroke:var(--text-light);stroke-width:2;stroke-linecap:round}
.nav-search input{flex:1;min-width:0;border:0;background:none;outline:none;font:inherit;font-size:13px;color:var(--text-dark)}
.nav-search input::placeholder{color:var(--text-light)}
.nav-search input::-webkit-search-cancel-button{display:none}

/* Buttons */
.btn-primary{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--teal);color:#fff;padding:10px 20px;border-radius:var(--radius-sm);font-size:13px;font-weight:500;transition:background .2s}
.btn-primary:hover{background:var(--teal-dark)}
.btn-outline{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1.5px solid var(--border);color:var(--text-dark);background:var(--white);padding:10px 20px;border-radius:var(--radius-sm);font-size:13px;font-weight:500;transition:border-color .2s,color .2s}
.btn-outline:hover{border-color:var(--teal);color:var(--teal)}
.btn-lg{padding:14px 28px;font-size:14px}
.btn-on-dark{border:1.5px solid rgba(255,255,255,.5);color:#fff;background:transparent}
.btn-on-dark:hover{border-color:#fff;color:#fff;background:rgba(255,255,255,.08)}

/* Section headings */
.eyebrow{font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--teal);margin-bottom:12px}
.h-display{font-family:var(--display);font-weight:500;font-size:clamp(28px,3.4vw,44px);line-height:1.12;letter-spacing:-.01em;color:var(--text-dark)}
.h-display em{font-style:italic;color:var(--teal)}
.lead{font-size:16px;line-height:1.7;color:var(--text-mid);font-weight:300}

/* Footer */
.site-footer{background:var(--text-dark);color:rgba(255,255,255,.62);padding:56px 0 28px;margin-top:0}
.sf-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.3fr;gap:40px}
.sf-brand{font-family:var(--display);font-size:22px;color:#fff;margin-bottom:12px}
.sf-about{font-size:13px;line-height:1.7;max-width:320px}
.site-footer h4{font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#fff;margin-bottom:14px}
.site-footer ul{list-style:none;display:grid;gap:9px}
.site-footer li,.site-footer li a{font-size:13px}
.site-footer a:hover{color:#fff}
.sf-bottom{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;border-top:1px solid rgba(255,255,255,.1);margin-top:40px;padding-top:20px;font-size:12px;color:rgba(255,255,255,.62)}

/* Floating WhatsApp button */
.wa-float{position:fixed;right:20px;bottom:20px;z-index:90;width:54px;height:54px;border-radius:50%;background:#25D366;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 24px rgba(37,211,102,.35);transition:transform .2s}
.wa-float:hover{transform:scale(1.07)}
.wa-float svg{width:28px;height:28px;fill:#fff}

@media(max-width:900px){.sf-grid{grid-template-columns:1fr 1fr;gap:32px}}
@media(max-width:1240px){.nav-links{gap:20px}.nav-search{width:190px}.mm-panel{grid-template-columns:repeat(4,minmax(0,1fr));}.mm-feature{display:none}}
@media(max-width:1140px){.nav{gap:16px}.nav-links{gap:16px}.nav-search{width:165px}.nav-logo img{height:64px}}
/* tablets and phones: the phone menu (menu.js) takes over, with search, call and WhatsApp inside it */
@media(max-width:1024px){.site-header.slim{margin-bottom:56px}.nav{height:76px}.nav-logo img{height:56px}.site-header.slim .nav{height:60px}.site-header.slim .nav-logo img{height:42px}.nav-links,.nav-actions{display:none}}
@media(max-width:768px){.container{padding:0 16px}.tb-ikk{display:none}.topbar-in{justify-content:center}.tb-right{gap:18px}}
.tb-s{display:none}
@media(max-width:420px){.tb-right a[href^="https://wa.me"]{display:none}.tb-l{display:none}.tb-s{display:inline}}
@media(max-width:520px){.sf-grid{grid-template-columns:1fr}}

/* Placeholder when a product has no photo yet */
.ph{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;width:100%;height:100%;background:linear-gradient(135deg,var(--off-white),var(--stone))}
.ph::after{content:"Photo coming soon";font-family:var(--body);font-size:10px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:var(--text-light)}
/* product without a photo: a line drawing of its category (class ph-<category>) */
.ph::before{content:"";width:44px;height:44px;background:var(--teal);opacity:.6;-webkit-mask:var(--ph) center/contain no-repeat;mask:var(--ph) center/contain no-repeat}
.ph-mixers{--ph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 21h10M7 21V9a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v12M13 11h5a2 2 0 0 1 2 2v1.5M9 8V5.5L15 4M20 17.5v1'/%3E%3C/svg%3E")}
.ph-sanitary{--ph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 3h6v7H5zM3 10h16a6 6 0 0 1-6 6h-3l-1 5h7'/%3E%3C/svg%3E")}
.ph-water{--ph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3h10a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2zM9 19v2M15 19v2M12 7.5c1.6 1.9 2.2 3 2.2 4a2.2 2.2 0 0 1-4.4 0c0-1 .6-2.1 2.2-4z'/%3E%3C/svg%3E")}
.ph-drainage{--ph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16v16H4zM8 9h8M8 12h8M8 15h8'/%3E%3C/svg%3E")}
.ph-accessories{--ph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18M5 6v2M19 6v2M7 6v10a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V6M10 10v4M14 10v4'/%3E%3C/svg%3E")}
.ph-tools{--ph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a4 4 0 0 0-5.4 5.4L3 18l3 3 6.3-6.3a4 4 0 0 0 5.4-5.4l-2.6 2.6-2.4-.6-.6-2.4z'/%3E%3C/svg%3E")}
.ph-tiles{--ph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3h8v8H3zM13 3h8v8h-8zM3 13h8v8H3zM13 13h8v8h-8z'/%3E%3C/svg%3E")}
.ph-other{--ph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7l9-4 9 4v10l-9 4-9-4zM3 7l9 4 9-4M12 11v10'/%3E%3C/svg%3E")}
:where(.ph){--ph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7l9-4 9 4v10l-9 4-9-4zM3 7l9 4 9-4M12 11v10'/%3E%3C/svg%3E")}

