/*
Theme Name: Daveric Gamers
Theme URI: https://davericgamers.co.ke
Description: Pure white IEM shop theme (KZ, CCA, ND, KBEAR, TRUTHEAR, Moondrop). Brand pills without counts, portfolio, Get a Quote form, responsive 375/768/1024/1440.
Author: Daveric Gamers
Version: 1.1
Requires Plugins: woocommerce
Text Domain: daveric-gamers
*/
:root{--white:#FFFFFF;--black:#111;--gray:var(--ev-surface);--border:var(--ev-border);--muted:var(--ev-muted)}
*{box-sizing:border-box}
/* touch-action:pan-y stops the browser from ever treating a horizontal swipe as a
   page pan at all (belt-and-suspenders alongside overflow-x/overscroll-behavior
   above): the 3 legitimate horizontal-scroll strips (filter pills, product
   thumbnails, similar-products row) explicitly opt back into pan-x further down. */
html{scroll-behavior:smooth;overflow-x:hidden;overscroll-behavior-x:none;touch-action:pan-y;max-width:100%}
body{margin:0;background:var(--ev-bg);color:var(--ev-text);font-family:Inter,"SF Pro Display",system-ui,-apple-system,sans-serif;-webkit-font-smoothing:antialiased;line-height:1.6;overscroll-behavior-x:none;touch-action:pan-y;max-width:100%}
a{color:inherit;text-decoration:none}
/* Every other link on the site is a deliberately-styled component (nav, buttons,
   cards), so the reset above is correct for them. But a link someone types inside
   free-text content - a product description, a blog post, a page, a service - has
   no other component style to fall back on, so the reset makes it silently invisible
   (same colour as the surrounding text, no underline). This restores a visible,
   on-brand link style wherever that free-text content can appear, without underlining
   it at rest - underline only appears on hover/focus, as a secondary cue. */
.ev-pd-desc a,.ev-page-body a,.ev-about-body a,.ev-svc-body a,.ev-case-body a,.ev-page-intro a,.ev-post-body a{color:var(--ev-accent);text-decoration:none}
.ev-pd-desc a:hover,.ev-page-body a:hover,.ev-about-body a:hover,.ev-svc-body a:hover,.ev-case-body a:hover,.ev-page-intro a:hover,.ev-post-body a:hover,
.ev-pd-desc a:focus-visible,.ev-page-body a:focus-visible,.ev-about-body a:focus-visible,.ev-svc-body a:focus-visible,.ev-case-body a:focus-visible,.ev-page-intro a:focus-visible,.ev-post-body a:focus-visible{text-decoration:underline}
img{max-width:100%;height:auto}
.container{max-width:1440px;margin:0 auto;padding-left:20px;padding-right:20px}

/* Header + nav */
.ev-header{background:var(--ev-bg);border-bottom:1px solid var(--border);position:sticky;top:0;z-index:100;padding:14px 0}
.ev-header .container{display:flex;justify-content:space-between;align-items:center;gap:16px;position:relative}
.ev-logo{font-weight:800;font-size:22px;letter-spacing:-0.5px}
.ev-nav{display:flex;gap:18px;font-size:14px;font-weight:500;flex-wrap:wrap}
.ev-menu-toggle{display:none}
.ev-menu-btn{display:none}
.ev-header-icons{display:flex;gap:12px;font-size:18px}

/* Brand pills (no counts) */
.ev-filter-pills{display:flex;gap:10px;overflow-x:auto;overscroll-behavior-x:contain;touch-action:pan-x pan-y;padding:16px 0;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.ev-filter-pills::-webkit-scrollbar{display:none}
.ev-pill{padding:10px 20px;border-radius:999px;border:1px solid var(--ev-border);background:var(--gray);color:var(--ev-text);white-space:nowrap;cursor:pointer;font-size:14px;font-weight:500;font-family:inherit;transition:.25s}
.ev-pill.active{background:#000;color:#fff;border-color:#000}

/* Breadcrumb trail (navigation + SEO), shown near the top of most page templates */
.ev-crumbs{font-size:13px;color:var(--ev-muted);margin:14px auto 0;padding:0 20px}
.ev-crumbs ol{display:flex;flex-wrap:wrap;align-items:center;gap:6px;list-style:none;margin:0;padding:0;max-width:100%}
.ev-crumbs li{display:flex;align-items:center;gap:6px;min-width:0;max-width:100%}
.ev-crumbs a,.ev-crumbs [aria-current="page"]{overflow-wrap:anywhere;word-break:break-word}
.ev-crumbs a{color:var(--ev-muted);text-decoration:none}
.ev-crumbs a:hover{color:var(--ev-accent)}
.ev-crumbs [aria-current="page"]{color:var(--ev-text);font-weight:600}
.ev-crumbs-sep{opacity:.5}
/* Rank Math's own breadcrumb markup, when that plugin provides the trail instead */
.ev-crumbs #rank-math-breadcrumb{font-size:13px;color:var(--ev-muted);margin:0;padding:0;overflow-wrap:anywhere;word-break:break-word}
.ev-crumbs #rank-math-breadcrumb a{color:var(--ev-muted);text-decoration:none}
.ev-crumbs #rank-math-breadcrumb a:hover{color:var(--ev-accent)}

/* Grid + cards */
.ev-grid{display:flex;flex-wrap:wrap;gap:20px}
.ev-grid>*{flex:1 1 100%}
@media(min-width:768px){.ev-grid>*{flex:1 1 calc(50% - 10px)}}
@media(min-width:1024px){.ev-grid>*{flex:1 1 calc(33.333% - 14px);max-width:calc(50% - 10px)}}
@media(min-width:1440px){.ev-grid>*{flex:1 1 calc(25% - 15px);max-width:calc(50% - 10px)}}

/* Blog listing: its own grid so "posts per row" (Customize > Blog display) only
   affects this page, not the shop/portfolio grids that share .ev-grid's base styles */
.ev-blog-grid{display:grid;grid-template-columns:1fr;gap:20px}
@media(min-width:768px){.ev-blog-grid{grid-template-columns:repeat(2,1fr)}}

/* Blog post cards: full-bleed cropped photo (no letterboxing) + left-aligned text,
   instead of the generic centered/padded .ev-card look that doesn't suit a photo card */
.ev-blog-card{display:flex;flex-direction:column;padding:0;text-align:left}
.ev-blog-card-media{position:relative;display:block;aspect-ratio:16/10;overflow:hidden;background:var(--ev-surface);border-radius:20px 20px 0 0;margin:-1px -1px 0}
.ev-blog-card-media img{width:100%;height:100%;object-fit:cover;display:block;margin:0;max-width:none;transition:transform .5s cubic-bezier(.2,.7,.2,1)}
.ev-blog-card:hover .ev-blog-card-media img{transform:scale(1.06)}
.ev-blog-card-body{padding:20px;display:flex;flex-direction:column;gap:8px;flex:1}
.ev-blog-card-body h3{margin:0;font-size:18px;line-height:1.35}
.ev-blog-card-body h3 a{text-decoration:none;color:inherit}
.ev-blog-card-body p{margin:0;color:var(--ev-muted);font-size:14px;line-height:1.6;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.ev-blog-card-link{margin-top:auto;padding-top:4px;font-size:13px;font-weight:700;color:var(--ev-accent);text-decoration:none}
.ev-blog-card-link:hover{text-decoration:underline}
@media(prefers-reduced-motion:reduce){.ev-blog-card-media img{transition:none}}
@media(max-width:767px){.ev-blog-card-body{padding-top:10px}}

/* Single blog post: previous/next navigation footer */
.ev-post-nav{display:flex;gap:16px;margin-top:40px;padding-top:28px;border-top:1px solid var(--ev-border)}
.ev-post-nav-link{flex:1;display:flex;flex-direction:column;gap:6px;padding:18px 20px;border:1px solid var(--ev-border);border-radius:16px;background:var(--ev-surface);text-decoration:none;transition:.25s}
.ev-post-nav-link:hover{border-color:var(--ev-accent);transform:translateY(-2px)}
.ev-post-nav-next{text-align:right;align-items:flex-end}
.ev-post-nav-label{font-size:12px;font-weight:700;color:var(--ev-accent);text-transform:uppercase;letter-spacing:.04em}
.ev-post-nav-title{font-size:15px;font-weight:600;color:var(--ev-text);line-height:1.4}
@media(max-width:600px){.ev-post-nav{flex-direction:column}.ev-post-nav-next{text-align:left;align-items:flex-start}}
/* Product cards keep a fixed column width (a leftover card never stretches wider than its siblings) */
body.post-type-archive-product .ev-grid>*,
body.woocommerce-shop .ev-grid>*,
.ev-grid:has(.ev-card-shop)>*{flex-grow:0;max-width:none}
.ev-card{background:var(--ev-bg);border:1px solid var(--ev-border);border-radius:20px;padding:20px;text-align:center;transition:.25s}
.ev-card:hover{transform:translateY(-4px);box-shadow:0 16px 40px rgba(0,0,0,.07)}
.ev-card img{width:100%;max-width:340px;aspect-ratio:1;object-fit:contain;margin:0 auto;display:block;background:var(--ev-bg)}
.ev-card h3{font-size:15px;font-weight:600;margin:14px 0 6px}
.ev-card h3 a{text-decoration:none}
.ev-card p{color:var(--muted);font-size:14px;line-height:1.5;margin:0}
.ev-card .price{font-size:14px;color:var(--ev-muted);font-weight:600}

/* Badges + buttons */
.badge{padding:5px 12px;border-radius:999px;font-size:11px;font-weight:700;display:inline-block}
.badge-done{background:var(--ev-success);color:#fff}
.badge-progress{background:var(--ev-warning);color:#fff}
.live-site-btn{background:#000;color:#fff;padding:12px 22px;border-radius:999px;display:inline-block;font-size:14px;font-weight:600}
.live-site-btn:hover{background:#222}
.ev-btn-outline{display:inline-block;padding:12px 22px;border-radius:999px;border:1px solid #000;color:var(--ev-text);font-size:14px;font-weight:600}

/* Home */
.ev-hero{padding:90px 0 70px;text-align:center}
.ev-hero h1{font-size:56px;font-weight:800;letter-spacing:-1.5px;margin:0 0 16px;line-height:1.1}
.ev-hero p{color:var(--muted);max-width:620px;margin:0 auto 28px;font-size:17px}
.ev-hero-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.ev-section{padding:50px 20px}
.ev-section h2{font-size:28px;font-weight:800;letter-spacing:-0.5px;margin:0 0 20px}
.ev-center{text-align:center;margin-top:24px}
.ev-brand-group-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}
.ev-brand-group-tab{padding:8px 16px;font-size:13px}
.ev-brand-row{display:flex;flex-wrap:wrap;gap:12px}
.ev-brand-pill{padding:12px 22px;border-radius:999px;background:var(--gray);color:var(--ev-text);border:1px solid var(--ev-border);font-weight:600}
.ev-brand-pill:hover{background:#000;color:#fff;border-color:#000}

/* Quote form */
.ev-quote-form{max-width:700px;margin:0 auto;background:var(--ev-bg);border:1px solid var(--ev-border);border-radius:20px;padding:28px}
.ev-quote-form input,.ev-quote-form select,.ev-quote-form textarea{width:100%;padding:13px 14px;border:1px solid var(--ev-border);border-radius:12px;margin-bottom:14px;font-size:14px;font-family:inherit;background:var(--ev-bg)}
.ev-quote-form textarea{min-height:120px}
.ev-quote-form button{width:100%;background:#000;color:#fff;padding:14px;border-radius:999px;border:0;font-weight:600;cursor:pointer}
.ev-notice{max-width:700px;margin:0 auto 20px;padding:14px 18px;border-radius:12px;background:var(--gray);font-size:14px}

/* Footer */
.ev-footer{border-top:1px solid var(--border);padding:50px 0 20px;margin-top:60px;background:var(--ev-bg)}
.ev-footer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:30px}
.ev-footer-grid small,.ev-footer-grid a{color:var(--ev-muted);font-size:14px}
.ev-footer-grid a{display:block;margin-top:6px}
.ev-copy{text-align:center;color:var(--ev-muted);font-size:12px;margin-top:30px}

/* Phones and tablets (up to 1023px): nav becomes a drop-down behind the Menu button, so the full menu never wraps or crowds */
@media(max-width:1023px){
  .container{padding-left:16px;padding-right:16px}
  .ev-menu-btn{display:inline-block;cursor:pointer;font-size:14px;font-weight:600;border:1px solid var(--ev-border);border-radius:999px;padding:8px 14px}
  .ev-nav{display:none;position:absolute;top:100%;left:0;right:0;background:var(--ev-bg);flex-direction:column;gap:0;padding:8px 16px 16px;border-bottom:1px solid var(--border);box-shadow:0 12px 24px rgba(0,0,0,.06)}
  .ev-nav a{padding:12px 0;border-top:1px solid var(--ev-border)}
  .ev-menu-toggle:checked ~ .ev-nav{display:flex}
  .ev-hero h1{font-size:36px}
  .ev-hero-actions a{display:block;text-align:center}
  .ev-section h2{font-size:24px}
}

/* Quote form spacing: each field sits in a wrapper that controls the gap, so the budget slider and file input don't inherit the text-input box styles */
.ev-quote-form .ev-field{margin-bottom:14px}
.ev-quote-form .ev-field > input,.ev-quote-form .ev-field > select,.ev-quote-form .ev-field > textarea{margin:0;width:100%}
.ev-quote-form .ev-field > label{display:block;font-size:14px;color:var(--ev-text);margin-bottom:6px}
.ev-quote-form .ev-field > input[type=range]{padding:0;border:0;background:none;accent-color:#000;height:24px}
.ev-quote-form .ev-field > input[type=file]{padding:10px;background:var(--ev-bg)}
.ev-quote-form button{margin-top:4px}

/* About + Contact pages */
.ev-page-head{padding:60px 0 20px;text-align:center}
.ev-page-head h1{font-size:44px;font-weight:800;letter-spacing:-1px;margin:0}
.ev-page-intro{color:var(--ev-muted);max-width:640px;margin:14px auto 0;font-size:17px}
.ev-h2{font-size:24px;font-weight:800;margin:0 0 14px}
.ev-contact-grid{display:grid;gap:30px;grid-template-columns:minmax(0,1fr);padding-top:20px}
.ev-contact-grid>*{min-width:0}
@media(min-width:900px){.ev-contact-grid{grid-template-columns:1.3fr 1fr}}
.ev-contact-grid .ev-quote-form{margin:0;max-width:none}
.ev-info-card{border:1px solid var(--ev-border);border-radius:16px;padding:20px;margin-bottom:16px}
.ev-info-card h3{margin:0 0 6px;font-size:16px}
.ev-info-card p{margin:0;color:var(--ev-muted)}
.ev-map{margin:40px 0 0;border-radius:20px;overflow:hidden}
.ev-map iframe{display:block;width:100%;height:380px;border:0}
.ev-about{max-width:900px;padding:40px 20px}
.ev-about-img{width:100%;height:auto;border-radius:20px;margin-bottom:28px;display:block}
.ev-about-body{font-size:17px;line-height:1.8}
.ev-about-actions{margin-top:32px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap}

/* Services page */
.ev-service-card{text-align:left;display:flex;flex-direction:column}
.ev-service-card h3{margin:0 0 8px;font-size:18px}
.ev-service-card p{flex:1;margin:0 0 14px}
.ev-service-card .ev-case-btn{align-self:flex-start;margin-top:0}

/* Services: icons, cards, detail page */
.ev-svc-icon{display:inline-flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:14px;background:#e9edf5;color:var(--ev-accent);margin-bottom:16px}
.ev-service-card{display:flex;flex-direction:column;text-align:left;color:inherit;padding:26px}
.ev-service-card h3{margin:0 0 8px;font-size:19px}
.ev-service-card p{flex:1;margin:0 0 18px;color:var(--ev-muted);font-size:15px;line-height:1.6}
.ev-service-foot{display:flex;justify-content:space-between;align-items:center;gap:10px;border-top:1px solid var(--ev-border);padding-top:14px;font-size:14px}
.ev-service-link{font-weight:600;color:var(--ev-accent)}
.ev-svc-hero{padding:60px 0 50px;background:linear-gradient(160deg,var(--ev-surface),var(--ev-bg))}
.ev-svc-hero-grid{display:grid;gap:36px;grid-template-columns:minmax(0,1fr);align-items:center}
.ev-svc-hero-grid>*{min-width:0}
@media(min-width:900px){.ev-svc-hero-grid{grid-template-columns:1.1fr 1fr}}
.ev-svc-hero h1{font-size:44px;font-weight:800;letter-spacing:-1px;line-height:1.1;margin:0 0 12px}
.ev-svc-tagline{font-size:18px;color:var(--ev-muted);margin:0 0 22px;max-width:560px}
.ev-svc-facts{list-style:none;display:flex;flex-wrap:wrap;gap:12px;margin:0 0 26px;padding:0}
.ev-svc-facts li{background:var(--ev-bg);border:1px solid var(--ev-border);border-radius:14px;padding:12px 18px;min-width:150px}
.ev-svc-facts span{display:block;font-size:12px;color:var(--ev-muted);text-transform:uppercase;letter-spacing:.05em}
.ev-svc-facts strong{font-size:16px;color:var(--ev-accent)}
.ev-svc-cta{display:flex;gap:12px;flex-wrap:wrap}
.ev-svc-hero-img img{width:100%;height:auto;border-radius:20px;display:block}
.ev-svc-section{padding:50px 20px}
.ev-svc-h2{font-size:30px;font-weight:800;letter-spacing:-.5px;margin:0 0 22px;color:var(--ev-accent)}
.ev-svc-checks{list-style:none;padding:0;margin:0;display:grid;gap:14px;grid-template-columns:minmax(0,1fr)}
.ev-svc-checks>*{min-width:0}
@media(min-width:768px){.ev-svc-checks{grid-template-columns:1fr 1fr}}
.ev-svc-checks li{display:flex;gap:12px;align-items:flex-start;background:var(--ev-surface);border:1px solid var(--ev-border);border-radius:14px;padding:16px 18px;font-size:16px}
.ev-svc-checks span{flex:0 0 auto;width:24px;height:24px;border-radius:50%;background:var(--ev-accent);color:#fff;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700}
.ev-svc-steps{list-style:none;padding:0;margin:0;display:grid;gap:18px;grid-template-columns:minmax(0,1fr)}
.ev-svc-steps>*{min-width:0}
@media(min-width:900px){.ev-svc-steps{grid-template-columns:repeat(3,1fr)}}
.ev-svc-steps li{display:flex;gap:16px;background:var(--ev-bg);border:1px solid var(--ev-border);border-radius:16px;padding:24px}
.ev-svc-num{flex:0 0 auto;width:40px;height:40px;border-radius:50%;background:var(--ev-accent);color:#fff;font-weight:800;display:flex;align-items:center;justify-content:center}
.ev-svc-steps h3{margin:0 0 6px;font-size:18px}
.ev-svc-steps p{margin:0;color:var(--ev-muted);font-size:15px;line-height:1.6}
.ev-svc-body{font-size:17px;line-height:1.8;background:var(--ev-surface);border:1px solid var(--ev-border);border-radius:20px;padding:34px}
.ev-svc-body h2:not(.ev-svc-h2){font-size:26px;font-weight:800;letter-spacing:-.3px;color:var(--ev-accent);margin:0 0 16px}
.ev-svc-body h3{font-size:19px;font-weight:700;color:var(--ev-text);margin:26px 0 10px;padding-top:18px;border-top:1px solid var(--ev-border)}
.ev-svc-body h2:first-child,.ev-svc-body h3:first-child{margin-top:0;padding-top:0;border-top:none}
.ev-svc-body>p:first-of-type{margin-top:0}
.ev-svc-body ul{list-style:none;padding:0;margin:0 0 16px;display:grid;gap:10px}
.ev-svc-body ul li{position:relative;padding-left:26px}
.ev-svc-body ul li::before{content:"";position:absolute;left:4px;top:10px;width:7px;height:7px;border-radius:50%;background:var(--ev-accent)}
.ev-svc-faq details{border-bottom:1px solid var(--ev-border);padding:18px 0}
.ev-svc-faq summary{font-weight:700;cursor:pointer;font-size:17px;list-style:none}
.ev-svc-faq summary::-webkit-details-marker{display:none}
.ev-svc-faq summary::after{content:"+";float:right;color:var(--ev-accent);font-size:22px;line-height:1}
.ev-svc-faq details[open] summary::after{content:"−"}
.ev-svc-faq p{margin:12px 0 0;color:var(--ev-muted);line-height:1.7}
.ev-svc-band{background:linear-gradient(120deg,var(--ev-accent),#062052);color:#fff;text-align:center;padding:60px 20px;margin-top:30px}
.ev-svc-band h2{margin:0 0 8px;font-size:30px}
.ev-svc-band p{margin:0 0 22px;color:#dbe4f5}
.ev-svc-band .live-site-btn{background:var(--ev-accent)}
.ev-svc-band .live-site-btn:hover{background:#c96205}

/* ===== Header menu (editable in Appearance > Menus) ===== */
.ev-menu-list{display:flex;align-items:center;gap:20px;list-style:none;margin:0;padding:0;flex-wrap:wrap}
.ev-menu-list li{position:relative}
.ev-menu-list a{display:block;font-size:14px;font-weight:500;padding:6px 0;white-space:nowrap}
.ev-menu-list a:hover{color:var(--ev-accent)}
.ev-menu-list .sub-menu{display:none;position:absolute;top:100%;left:-12px;min-width:220px;background:var(--ev-bg);border:1px solid var(--ev-border);border-radius:14px;box-shadow:0 16px 40px rgba(0,0,0,.08);padding:8px;list-style:none;margin:0;z-index:10}
.ev-menu-list li:hover > .sub-menu,.ev-menu-list li:focus-within > .sub-menu{display:block}
.ev-menu-list .sub-menu a{padding:9px 12px;border-radius:8px}
.ev-menu-list .sub-menu a:hover{background:var(--ev-surface)}
.ev-menu-close{display:none}
.ev-menu-btn{display:none}

/* Phones and tablets: full-width drop-down panel below the header */
@media(max-width:1023px){
  .ev-header .container{position:static}
  .ev-header{position:sticky}
  .ev-menu-btn{display:inline-flex;align-items:center;cursor:pointer;font-size:14px;font-weight:600;border:1px solid var(--ev-border);border-radius:999px;padding:9px 16px;user-select:none;background:var(--ev-bg)}
  .ev-menu-toggle:checked ~ .ev-menu-btn .ev-menu-open{display:none}
  .ev-menu-toggle:checked ~ .ev-menu-btn .ev-menu-close{display:inline}
  .ev-menu-toggle:checked ~ .ev-menu-btn{background:#000;color:#fff;border-color:#000}
  .ev-nav{display:flex;flex-direction:column;position:fixed;top:0;right:0;bottom:0;width:min(82vw,340px);height:100vh;max-height:none;background:var(--ev-bg);padding:84px 24px 28px;box-shadow:-20px 0 50px rgba(0,0,0,.18);z-index:99;transform:translateX(105%);visibility:hidden;pointer-events:none;transition:transform .45s cubic-bezier(.2,.7,.2,1),visibility .45s}
  /* Only the menu links scroll; the theme toggle and Call/WhatsApp bar below stay pinned
     and visible the instant the drawer opens, instead of requiring a scroll to reach. */
  .ev-nav-scroll{flex:1 1 auto;min-height:0;overflow-y:auto}
  .ev-menu-toggle:checked ~ .ev-nav{transform:none;visibility:visible;pointer-events:auto}
  .ev-menu-toggle:checked ~ .ev-nav .ev-menu-list li{animation:ev-menu-item .45s ease both}
  .ev-menu-toggle:checked ~ .ev-nav .ev-menu-list li:nth-child(2){animation-delay:.05s}
  .ev-menu-toggle:checked ~ .ev-nav .ev-menu-list li:nth-child(3){animation-delay:.1s}
  .ev-menu-toggle:checked ~ .ev-nav .ev-menu-list li:nth-child(4){animation-delay:.15s}
  .ev-menu-toggle:checked ~ .ev-nav .ev-menu-list li:nth-child(5){animation-delay:.2s}
  .ev-menu-toggle:checked ~ .ev-nav .ev-menu-list li:nth-child(6){animation-delay:.25s}
  .ev-menu-toggle:checked ~ .ev-nav .ev-menu-list li:nth-child(7){animation-delay:.3s}
  .ev-menu-toggle:checked ~ .ev-nav .ev-menu-list li:nth-child(8){animation-delay:.35s}
  .ev-menu-toggle:checked ~ .ev-nav .ev-menu-list li:nth-child(9){animation-delay:.4s}
  @keyframes ev-menu-item{from{opacity:0;transform:translateX(16px)}to{opacity:1;transform:none}}
  @keyframes ev-fade{from{opacity:0}to{opacity:1}}
  body:has(.ev-menu-toggle:checked)::after{content:"";position:fixed;inset:0;background:rgba(0,0,0,.4);z-index:98;animation:ev-fade .3s ease}
  @media (prefers-reduced-motion:reduce){.ev-nav{transition:none}.ev-menu-toggle:checked ~ .ev-nav .ev-menu-list li{animation:none}}
  .ev-menu-list{flex-direction:column;align-items:stretch;gap:0}
  .ev-menu-list li{border-bottom:1px solid var(--ev-border)}
  .ev-menu-list li:last-child{border-bottom:0}
  .ev-menu-list a{font-size:17px;padding:16px 0;white-space:normal}
  .ev-menu-list .sub-menu{display:block;position:static;min-width:0;border:0;box-shadow:none;padding:0 0 10px 14px;background:none}
  .ev-menu-list .sub-menu a{font-size:15px;padding:10px 0;color:var(--ev-muted)}
  .ev-menu-list .sub-menu a:hover{background:none}
  .ev-header-icons{font-size:20px}
}
@media(min-width:1024px){
  .ev-nav{display:block}
}

/* Footer menu (Appearance > Menus > Footer Menu) */
.ev-footer-menu{margin-top:30px;padding-top:20px;border-top:1px solid var(--ev-border)}
.ev-footer-list{display:flex;flex-wrap:wrap;gap:10px 24px;justify-content:center;list-style:none;margin:0;padding:0}
.ev-footer-list a{font-size:14px;color:var(--ev-muted)}
.ev-footer-list a:hover{color:var(--ev-accent)}

/* Compare: checkbox on cards, bottom bar, pop-up table */
.ev-compare-pick{display:inline-flex;align-items:center;gap:8px;margin-top:12px;font-size:14px;cursor:pointer;user-select:none}
.ev-compare-pick input{width:16px;height:16px;margin:0;accent-color:#000}
.ev-compare-bar{position:fixed;left:50%;bottom:16px;transform:translateX(-50%);z-index:200;display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;background:#111;color:#fff;border-radius:20px;padding:8px 8px 8px 20px;box-shadow:0 16px 40px rgba(0,0,0,.25);font-size:14px;max-width:calc(100% - 100px)}
.ev-compare-bar[hidden]{display:none !important}
.ev-compare-note{flex:0 0 100%;width:100%}
.ev-compare-go{background:var(--ev-accent);color:#fff;border:0;border-radius:999px;padding:10px 18px;font-weight:700;cursor:pointer}
.ev-compare-go:disabled{opacity:.4;cursor:not-allowed}
.ev-compare-go:not(:disabled):hover{background:#fff;color:var(--ev-accent)}
.ev-compare-clear{background:none;border:0;color:#bbb;cursor:pointer;padding:10px 6px;font-size:14px}
.ev-compare-dialog{border:0;border-radius:20px;padding:0;width:min(960px,calc(100% - 32px));max-height:calc(100vh - 48px);box-shadow:0 30px 80px rgba(0,0,0,.3)}
.ev-compare-dialog::backdrop{background:rgba(0,0,0,.5)}
.ev-compare-head{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid var(--ev-border)}
.ev-compare-head h3{margin:0;font-size:20px}
.ev-compare-close{background:none;border:0;font-size:20px;cursor:pointer;padding:4px 8px}
.ev-compare-body{padding:20px 24px;overflow:auto}
.ev-compare-table{width:100%;border-collapse:collapse;font-size:15px}
.ev-compare-table th,.ev-compare-table td{padding:14px 12px;border-bottom:1px solid var(--ev-border);text-align:left;vertical-align:top}
.ev-compare-table thead th{text-align:center}
.ev-compare-table thead img{display:block;width:140px;height:140px;object-fit:contain;margin:0 auto 10px}
.ev-compare-table thead a{font-weight:700}
.ev-compare-table tbody th{width:150px;color:var(--ev-muted);font-weight:600}
.ev-compare-table td{text-align:center}
@media(max-width:600px){.ev-compare-table thead img{width:96px;height:96px}.ev-compare-table th,.ev-compare-table td{padding:10px 6px;font-size:13px}}



