/*
Theme Name: EVKOR
Theme URI: http://eatech-store.local
Description: EVKOR storefront design (ported from the EVKOR Base44 build) on top of EvKor Technologies Fresh.
Template: eatech-fresh
Version: 1.0.0
Text Domain: eatech-fresh
Requires PHP: 8.0
License: GNU General Public License v2 or later
*/

/* ───────────── Tokens ───────────── */
:root {
  --ek-bg: #f5f7f5;
  --ek-fg: #20252b;
  --ek-card: #ffffff;
  --ek-primary: #e80c22;
  --ek-primary-fg: #ffffff;
  --ek-success: #00843d;
  --ek-deep: #112d20;
  --ek-charcoal: #20252b;
  --ek-muted: #ebefeb;
  --ek-muted-fg: #646b72;
  --ek-border: #dce0dc;
  --ek-input: #d3d8d3;
  --ek-radius: 8px;
  --ek-font-heading: "Inter Tight", ui-sans-serif, system-ui, sans-serif;
  --ek-font-body: "Inter", ui-sans-serif, system-ui, sans-serif;
  --ek-font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ek-shadow: 0 1px 2px rgba(32, 37, 43, .04), 0 1px 3px rgba(32, 37, 43, .06);
  --ek-ease: cubic-bezier(.2, .7, .2, 1);
}

/* Parent-theme variables mapped onto the EVKOR palette, so every page the
   parent still styles (account, tracking, help) picks up the new look. */
html body.evkor {
  --et-bg: #f5f7f5;
  --et-surface: #ffffff;
  --et-ink: #20252b;
  --et-muted: #646b72;
  --et-line: #dce0dc;
  --et-red: #e80c22;
  --et-red-dark: #c10a1c;
  --et-orange: #e80c22;
  --et-amber: #e80c22;
  --et-gold: #e80c22;
  --et-blue: #20252b;
  --et-cyan: #00843d;
  --et-green: #00843d;
  --et-green-dark: #006b31;
  --et-navy: #112d20;
  --et-charcoal: #20252b;
  --et-graphite: #20252b;
  --et-mist: #ebefeb;
  --et-peach: #ebefeb;
  --et-cream: #f5f7f5;
  --et-shadow: 0 1px 2px rgba(32, 37, 43, .04), 0 1px 3px rgba(32, 37, 43, .06);
  --et-radius: 8px;
  --et-container: 1440px;
}

/* Dark sections flip foreground tokens (footer, announcement bar, dark promo). */
.ek-dark {
  --ek-fg: #ffffff;
  --ek-muted-fg: #c7c7c7;
  --ek-border: #4c525a;
  --ek-card: #33393f;
  color: var(--ek-fg);
}
body.evkor .ek-dark,
body.evkor a.ek-dark { color: var(--ek-fg); }

/* ───────────── Base ───────────── */
html { -webkit-tap-highlight-color: transparent; }
html.ek-locked { overflow: hidden; }
body.evkor {
  background: var(--ek-bg);
  color: var(--ek-fg);
  font-family: var(--ek-font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: 0;
}
body.evkor h1, body.evkor h2, body.evkor h3, body.evkor h4 {
  font-family: var(--ek-font-heading);
  letter-spacing: -0.02em;
  color: inherit;
}
body.evkor a { color: inherit; }
body.evkor ::selection { background: var(--ek-primary); color: #fff; }
body.evkor :focus-visible { outline: 2px solid var(--ek-primary); outline-offset: 2px; }
.ek-icon { width: 20px; height: 20px; flex-shrink: 0; }

.ek-container,
body.evkor .et-container {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 16px;
  box-sizing: border-box;
}
@media (min-width: 640px) { .ek-container, body.evkor .et-container { padding-inline: 24px; } }
@media (min-width: 1024px) { .ek-container, body.evkor .et-container { padding-inline: 40px; } }
@media (min-width: 1280px) { .ek-container, body.evkor .et-container { padding-inline: 56px; } }

.ek-skip { position: absolute; left: -9999px; }
.ek-skip:focus { left: 16px; top: 16px; z-index: 90; background: var(--ek-primary); color: #fff; padding: 8px 16px; border-radius: 4px; }

.ek-eyebrow {
  font-family: var(--ek-font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--ek-muted-fg);
  margin: 0;
  font-weight: 400;
}
.ek-eyebrow--accent { color: var(--ek-primary); display: flex; align-items: center; gap: 8px; }
.ek-rule { display: inline-block; width: 24px; height: 1px; background: var(--ek-primary); }
.ek-index { color: var(--ek-primary); margin-right: 8px; }
.ek-mono { font-family: var(--ek-font-mono); text-transform: uppercase; letter-spacing: .12em; }
.ek-hairline { border-top: 1px solid var(--ek-border); margin: 16px 12px; }
.ek-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ek-success); flex-shrink: 0; }
.ek-display {
  font-family: var(--ek-font-heading);
  font-weight: 600;
  letter-spacing: -0.035em !important;
  line-height: .95;
}
.ek-mobile-only { display: inline; }
.ek-wide-only { display: none; }
@media (min-width: 640px) { .ek-mobile-only { display: none; } .ek-wide-only { display: inline; } }

@keyframes ek-fade-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes ek-fade-in { from { opacity: 0; } to { opacity: 1; } }
.ek-fade-up { animation: ek-fade-up .55s var(--ek-ease) both; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ───────────── Buttons ───────────── */
.ek-btn,
body.evkor .woocommerce a.button,
body.evkor .woocommerce button.button,
body.evkor .woocommerce input.button,
body.evkor .woocommerce #respond input#submit,
body.evkor .woocommerce-page a.button,
body.evkor .woocommerce-page button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  border-radius: var(--ek-radius);
  font-family: var(--ek-font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
  box-sizing: border-box;
}
.ek-btn:active, body.evkor .woocommerce .button:active { transform: scale(.98); }
.ek-btn .ek-icon { width: 16px; height: 16px; }
.ek-btn--primary { background: var(--ek-primary); color: #fff !important; box-shadow: 0 1px 2px rgba(232, 12, 34, .18); }
.ek-btn--primary:hover { filter: brightness(1.05); }
.ek-btn--outline { border-color: var(--ek-border); color: var(--ek-fg); background: transparent; }
.ek-btn--outline:hover { border-color: rgba(32, 37, 43, .4); background: rgba(32, 37, 43, .04); }
.ek-btn--whatsapp { border-color: rgba(0, 132, 61, .45); color: var(--ek-success) !important; background: transparent; }
.ek-btn--whatsapp:hover { border-color: var(--ek-success); background: rgba(0, 132, 61, .08); }

/* Default WooCommerce buttons = charcoal "secondary"; alt/checkout = green "buy". */
body.evkor .woocommerce a.button,
body.evkor .woocommerce button.button,
body.evkor .woocommerce input.button,
body.evkor .woocommerce-page a.button,
body.evkor .woocommerce-page button.button {
  background: var(--ek-fg);
  color: var(--ek-bg);
}
body.evkor .woocommerce a.button:hover,
body.evkor .woocommerce button.button:hover { background: rgba(32, 37, 43, .9); color: var(--ek-bg); }
body.evkor .woocommerce a.button.alt,
body.evkor .woocommerce button.button.alt,
body.evkor .woocommerce input.button.alt,
body.evkor .woocommerce #place_order,
body.evkor .woocommerce .checkout-button {
  background: var(--ek-success) !important;
  color: #fff !important;
  box-shadow: 0 1px 2px rgba(0, 132, 61, .2);
}
body.evkor .woocommerce a.button.alt:hover,
body.evkor .woocommerce button.button.alt:hover { filter: brightness(1.05); }
body.evkor .woocommerce button.button:disabled,
body.evkor .woocommerce button.button.disabled { opacity: .4; }

.ek-icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  color: rgba(32, 37, 43, .8);
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: background .2s, color .2s;
  text-decoration: none;
}
.ek-icon-btn:hover { background: rgba(32, 37, 43, .06); color: var(--ek-fg); }
/* The parent paints every <button> red; icon buttons stay bare. */
html body.evkor button.ek-icon-btn {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: rgba(32, 37, 43, .8) !important;
  padding: 0 !important;
  min-height: 0 !important;
}
html body.evkor button.ek-icon-btn:hover { background: rgba(32, 37, 43, .06) !important; color: var(--ek-fg) !important; }

/* ───────────── Fields ───────────── */
body.evkor .woocommerce form .form-row input.input-text,
body.evkor .woocommerce form .form-row textarea,
body.evkor .woocommerce form .form-row select,
body.evkor .woocommerce-page form .form-row input.input-text,
body.evkor .woocommerce .quantity .qty,
body.evkor .woocommerce table.cart td.actions .coupon .input-text,
body.evkor .select2-container--default .select2-selection--single {
  min-height: 48px;
  border: 1px solid var(--ek-input);
  border-radius: var(--ek-radius);
  background: var(--ek-card);
  color: var(--ek-fg);
  font-size: 16px;
  padding: 0 16px;
  box-shadow: none;
  box-sizing: border-box;
  transition: border-color .2s, box-shadow .2s;
}
body.evkor .woocommerce form .form-row textarea { padding: 12px 16px; }
body.evkor .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 46px; padding: 0; }
body.evkor .select2-container--default .select2-selection--single .select2-selection__arrow { height: 46px; }
body.evkor .woocommerce form .form-row input.input-text:focus,
body.evkor .woocommerce form .form-row textarea:focus,
body.evkor .woocommerce form .form-row select:focus {
  border-color: rgba(232, 12, 34, .7);
  outline: none;
  box-shadow: 0 0 0 3px rgba(232, 12, 34, .2);
}
body.evkor .woocommerce form .form-row label { font-size: 14px; font-weight: 500; color: rgba(32, 37, 43, .9); margin-bottom: 6px; }

/* ───────────── Announcement bar ───────────── */
.ek-announce { background: var(--ek-charcoal); border-bottom: 1px solid var(--ek-border); }
.ek-announce__inner {
  display: flex;
  height: 36px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--ek-font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--ek-muted-fg);
}
.ek-announce__text { display: flex; min-width: 0; align-items: center; gap: 8px; margin: 0; white-space: nowrap; overflow: hidden; }
.ek-announce__text span { overflow: hidden; text-overflow: ellipsis; }
.ek-announce__phone { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; color: rgba(255, 255, 255, .85); text-decoration: none; transition: color .2s; }
.ek-announce__phone:hover { color: var(--ek-primary); }
.ek-announce__phone .ek-icon { width: 12px; height: 12px; }

/* ───────────── Header ───────────── */
.ek-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--ek-border);
  background: rgba(245, 247, 245, .8);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  transition: box-shadow .3s;
}
.admin-bar .ek-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .ek-header { top: 0; } }
.ek-header.is-scrolled { box-shadow: 0 4px 24px rgba(32, 37, 43, .06); }
.ek-header__bar { display: flex; height: 56px; align-items: center; gap: 8px; }
.ek-header__menu { margin-left: -8px; }
@media (min-width: 1024px) {
  .ek-header__bar { height: 72px; gap: 40px; }
  .ek-header__menu { display: none; }
}

.ek-logo { display: inline-flex; flex-shrink: 0; align-items: center; gap: 10px; text-decoration: none; color: var(--ek-fg); }
html body.evkor .ek-logo__img { display: block; width: auto; height: 30px; max-width: none; transition: transform .3s var(--ek-ease); }
@media (min-width: 1024px) { html body.evkor .ek-logo__img { height: 36px; } }
.ek-logo:hover .ek-logo__img { transform: scale(1.03); }
/* Footer: full logo with the names, on a white card so it reads on dark green. */
.ek-logo--full { padding: 12px 16px; border-radius: 12px; background: #fff; }
html body.evkor .ek-logo--full .ek-logo__img { width: 220px; height: auto; }
.ek-drawer__title img { display: block; width: auto; height: 26px; }

/* Search pill (wraps the parent theme's live search widget). */
.ek-search { position: relative; }
.ek-search form {
  display: flex;
  height: 44px;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  border: 1px solid var(--ek-border);
  border-radius: 999px;
  background: var(--ek-card);
  transition: border-color .2s;
  margin: 0;
}
.ek-search form:hover, .ek-search form:focus-within { border-color: rgba(32, 37, 43, .25); }
.ek-search__icon { width: 18px; height: 18px; color: rgba(32, 37, 43, .7); }
.ek-search input[type="search"] {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  font-size: 15px;
  color: var(--ek-fg);
  outline: none;
}
.ek-search input[type="search"]::placeholder { color: var(--ek-muted-fg); opacity: 1; }
.ek-search kbd {
  display: none;
  border: 1px solid var(--ek-border);
  border-radius: 4px;
  padding: 2px 6px;
  font-family: var(--ek-font-mono);
  font-size: 11px;
  color: var(--ek-muted-fg);
  background: transparent;
}
.ek-search .et-live-search__panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 60;
  border: 1px solid var(--ek-border);
  border-radius: var(--ek-radius);
  background: var(--ek-card);
  box-shadow: 0 16px 40px rgba(32, 37, 43, .12);
}
.ek-search--desktop { display: none; flex: 1; max-width: 672px; }
.ek-search--mobile { display: none; }
@media (min-width: 1024px) {
  .ek-search--desktop { display: block; }
  .ek-search kbd { display: inline; }
}
@media (max-width: 1023px) {
  .ek-search--mobile {
    display: block;
    order: 10;
    flex-basis: 100%;
  }
  .ek-header__bar { flex-wrap: wrap; height: auto; min-height: 56px; padding-bottom: 12px; }
  .ek-header__bar > .ek-icon-btn, .ek-header__bar > .ek-logo, .ek-header__actions { height: 56px; }
}

.ek-header__actions { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.ek-header__cart { margin-right: -8px; }
.ek-count {
  position: absolute;
  top: 2px;
  right: 2px;
  display: grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--ek-primary);
  color: #fff;
  font-family: var(--ek-font-mono);
  font-size: 10px;
  font-weight: 500;
  box-sizing: border-box;
}
.ek-avatar {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--ek-fg);
  color: var(--ek-bg);
  font-size: 13px;
  font-weight: 600;
}

/* Category nav */
.ek-nav { display: none; border-top: 1px solid var(--ek-border); }
@media (min-width: 1024px) { .ek-nav { display: block; } }
.ek-nav__inner { display: flex; height: 44px; align-items: center; justify-content: space-between; }
.ek-nav__links { display: flex; align-items: center; gap: 32px; margin: 0; padding: 0; list-style: none; }
.ek-nav__links a {
  position: relative;
  display: block;
  padding: 12px 0;
  font-size: 14px;
  font-weight: 500;
  color: rgba(32, 37, 43, .65);
  text-decoration: none;
  transition: color .2s;
}
.ek-nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--ek-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}
.ek-nav__links a:hover, .ek-nav__links a.is-active { color: var(--ek-fg); }
.ek-nav__links a:hover::after, .ek-nav__links a.is-active::after { transform: scaleX(1); }
.ek-nav__links a.is-accent { color: var(--ek-primary); }
html body.evkor .et-korrevive-market__nav a { color: rgba(32, 37, 43, .75) !important; font-weight: 500; }
html body.evkor .et-korrevive-market__nav a:hover { color: var(--ek-fg) !important; }
html body.evkor .et-korrevive-market__nav a[aria-current],
html body.evkor .et-korrevive-market__nav a.is-active,
html body.evkor .et-korrevive-market__nav a:first-child:not([href*="?"]) { color: var(--ek-success) !important; }
.ek-korrevive-intro { max-width: 720px; margin: 12px 0 8px; }
.ek-korrevive-intro .ek-eyebrow { display: flex; align-items: center; gap: 8px; }
.ek-korrevive-intro .ek-tag { margin-left: 0; }
body.evkor .ek-korrevive-intro__line { margin: 10px 0 0; font-family: var(--ek-font-heading); font-size: 26px; font-weight: 600; letter-spacing: -0.02em; color: var(--ek-success); }
.ek-korrevive-intro__text { margin: 8px 0 0; font-size: 15px; line-height: 1.65; color: var(--ek-muted-fg); }
.ek-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 6px;
  border-radius: 999px;
  background: var(--ek-success);
  color: #fff;
  font-family: var(--ek-font-mono);
  font-size: 9.5px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: .08em;
  text-transform: uppercase;
  vertical-align: 2px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* KorRevive: a standout green pill in the category bar. */
html body.evkor .ek-nav__links a.ek-nav__kor {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: -4px 0;
  padding: 7px 12px 7px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #00a04a 0%, #00843d 55%, #0b5e33 100%);
  color: #fff !important;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(0, 132, 61, .32);
  transition: transform .25s var(--ek-ease), box-shadow .25s;
}
html body.evkor .ek-nav__links a.ek-nav__kor::after { display: none; }
html body.evkor .ek-nav__links a.ek-nav__kor:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(0, 132, 61, .42); }
.ek-nav__kor::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  border: 2px solid rgba(0, 160, 74, .55);
  animation: ek-kor-pulse 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes ek-kor-pulse {
  0% { opacity: .9; transform: scale(1); }
  70%, 100% { opacity: 0; transform: scale(1.18, 1.45); }
}
.ek-nav__kor .ek-tag,
.ek-kor-chip .ek-tag { margin-left: 0; background: #ffd23f; color: #3a2a00; }
.ek-nav__kor-arrow { width: 14px !important; height: 14px !important; transition: transform .25s; }
.ek-nav__kor:hover .ek-nav__kor-arrow { transform: translateX(3px); }

/* Phones: the category bar is hidden, so KorRevive gets its own chip under search. */
.ek-kor-chip-wrap { display: none; }
@media (max-width: 1023px) {
  .ek-kor-chip-wrap { display: block; padding-bottom: 12px; }
  .ek-kor-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, #00a04a 0%, #00843d 55%, #0b5e33 100%);
    color: #fff !important;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(0, 132, 61, .28);
  }
  .ek-kor-chip strong { font-weight: 600; }
  .ek-kor-chip__line { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; opacity: .85; font-size: 13px; }
  .ek-kor-chip .ek-icon { width: 16px; height: 16px; margin-left: auto; flex-shrink: 0; }
}
@media (prefers-reduced-motion: reduce) { .ek-nav__kor::before { animation: none; opacity: 0; } }
.ek-nav__utility { display: flex; align-items: center; gap: 24px; font-family: var(--ek-font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
.ek-nav__utility a { color: var(--ek-muted-fg); text-decoration: none; transition: color .2s; }
.ek-nav__utility a:hover { color: var(--ek-fg); }

/* Mobile drawer */
.ek-drawer { position: fixed; inset: 0; z-index: 80; }
.ek-drawer__scrim { position: absolute; inset: 0; background: rgba(17, 45, 32, .35); opacity: 0; transition: opacity .25s; }
.ek-drawer__panel {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  width: 88vw;
  max-width: 384px;
  background: var(--ek-bg);
  border-right: 1px solid var(--ek-border);
  transform: translateX(-100%);
  transition: transform .25s var(--ek-ease);
}
.ek-drawer.is-open .ek-drawer__scrim { opacity: 1; }
.ek-drawer.is-open .ek-drawer__panel { transform: none; }
.ek-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 12px 20px; border-bottom: 1px solid var(--ek-border); }
.ek-drawer__title { font-family: var(--ek-font-heading); font-weight: 600; letter-spacing: .2em; }
.ek-drawer__nav { flex: 1; overflow-y: auto; padding: 16px 8px; }
.ek-drawer__nav .ek-eyebrow { padding: 0 12px 8px; }
.ek-drawer__cat { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 4px; font-size: 15px; text-decoration: none; transition: background .2s; }
.ek-drawer__cat .ek-icon { color: var(--ek-muted-fg); }
.ek-drawer__cat:hover { background: rgba(32, 37, 43, .04); }
.ek-drawer__chev { margin-left: auto; width: 16px !important; height: 16px !important; }
.ek-drawer__link { display: block; padding: 10px 12px; border-radius: 4px; font-size: 15px; color: rgba(32, 37, 43, .8); text-decoration: none; }
.ek-drawer__link:hover { background: rgba(32, 37, 43, .04); color: var(--ek-fg); }
.ek-drawer__contact { display: flex; align-items: center; gap: 12px; padding: 20px; border-top: 1px solid var(--ek-border); text-decoration: none; }
.ek-drawer__contact-icon { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--ek-border); border-radius: 999px; color: var(--ek-primary); }
.ek-drawer__contact-icon .ek-icon { width: 16px; height: 16px; }
.ek-drawer__contact small { display: block; font-size: 12px; color: var(--ek-muted-fg); }
.ek-drawer__contact strong { display: block; font-family: var(--ek-font-mono); font-size: 15px; font-weight: 400; }

/* ───────────── Section heading ───────────── */
.ek-section { padding-block: 56px; }
@media (min-width: 640px) { .ek-section { padding-block: 80px; } }
.ek-rail.ek-section { padding-block: 48px; }
@media (min-width: 640px) { .ek-rail.ek-section { padding-block: 64px; } }
.ek-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.ek-section-heading h2 { margin: 8px 0 0; font-size: 26px; font-weight: 600; line-height: 1.15; }
@media (min-width: 640px) { .ek-section-heading h2 { font-size: 36px; } }
.ek-section-heading__action { display: inline-flex; flex-shrink: 0; align-items: center; gap: 6px; padding-bottom: 4px; font-size: 14px; font-weight: 500; color: rgba(32, 37, 43, .75); text-decoration: none; }
.ek-section-heading__action .ek-icon { width: 16px; height: 16px; transition: transform .2s; }
.ek-section-heading__action:hover { color: var(--ek-fg); }
.ek-section-heading__action:hover .ek-icon { transform: translateX(2px); }

/* ───────────── Hero ───────────── */
.ek-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #e0b400;
  background: #ffd23f;
}
/* Random stars, ovals, bubbles and rings, scattered by assets/evkor.js. */
.ek-pops { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: hidden; }
.ek-pops > * { animation: ek-pop-in .7s var(--ek-ease) both; }
@keyframes ek-pop-in { from { opacity: 0; } }
.ek-promo--red .ek-pops { z-index: 0; }
.ek-hero .ek-spec-strip,
.ek-hero .ek-spec-strip__inner > div { border-color: #e0b400; }
.ek-hero .ek-spec-strip { background: rgba(255, 255, 255, .35); }
.ek-hero .ek-eyebrow { color: rgba(32, 37, 43, .7); }
.ek-hero .ek-eyebrow--accent { color: #b8001a; }
.ek-hero .ek-rule { background: #b8001a; }
.ek-hero__sub { color: rgba(32, 37, 43, .78) !important; }
.ek-hero .ek-btn--outline { background: #fff; border-color: #fff; }
.ek-hero .ek-btn--outline:hover { background: rgba(255, 255, 255, .85); }
.ek-hero__copy { position: relative; }
.ek-hero__media img { box-shadow: 0 18px 40px rgba(122, 86, 0, .22); }
.ek-hero__media img { border-radius: var(--ek-radius); object-position: center 25%; }
.ek-grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(to right, rgba(220, 224, 220, .7) 1px, transparent 1px), linear-gradient(to bottom, rgba(220, 224, 220, .7) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 10%, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 10%, transparent 72%);
}
.ek-hero__inner { position: relative; display: grid; align-items: center; gap: 20px; padding-top: 16px; padding-bottom: 32px; }
@media (min-width: 640px) { .ek-hero__inner { padding-top: 32px; } }
@media (min-width: 1024px) {
  .ek-hero__inner { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; padding-block: 48px; }
  .ek-hero__media { order: 2; grid-column: span 7; }
  .ek-hero__copy { order: 1; grid-column: span 5; }
}
.ek-hero__media { position: relative; }
.ek-hero__media img { display: block; width: 100%; aspect-ratio: 4 / 3; max-height: 38vh; object-fit: cover; animation: ek-fade-in .4s ease-out both; }
@media (min-width: 640px) { .ek-hero__media img { max-height: 50vh; } }
@media (min-width: 1024px) { .ek-hero__media img { max-height: 600px; } }
.ek-hero__price {
  position: absolute;
  right: 0;
  bottom: 12px;
  margin: 0;
  padding: 6px 12px;
  border: 1px solid var(--ek-border);
  border-radius: 999px;
  background: rgba(245, 247, 245, .75);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-family: var(--ek-font-mono);
  font-size: 12px;
}
@media (min-width: 1024px) { .ek-hero__price { bottom: 32px; } }
.ek-hero h1 { margin: 16px 0 0; font-size: 38px; }
@media (min-width: 640px) { .ek-hero h1 { font-size: 60px; } }
@media (min-width: 1280px) { .ek-hero h1 { font-size: 78px; } }
.ek-hero__sub { max-width: 448px; margin: 16px 0 0; font-size: 15px; line-height: 1.65; color: var(--ek-muted-fg); }
@media (min-width: 640px) { .ek-hero__sub { margin-top: 24px; font-size: 18px; } }
.ek-hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 24px; }
@media (min-width: 640px) { .ek-hero__ctas { margin-top: 32px; } }

.ek-spec-strip { position: relative; margin: 0; border-top: 1px solid var(--ek-border); }
.ek-spec-strip__inner { display: grid; grid-template-columns: repeat(3, 1fr); }
.ek-spec-strip__inner > div { padding: 16px 0 16px 12px; border-left: 1px solid var(--ek-border); min-width: 0; }
.ek-spec-strip__inner > div:first-child { padding-left: 0; border-left: 0; }
@media (min-width: 640px) { .ek-spec-strip__inner > div { padding: 20px 0 20px 24px; } }
.ek-spec-strip dd { margin: 4px 0 0; font-family: var(--ek-font-mono); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 640px) { .ek-spec-strip dd { font-size: 16px; } }

/* ───────────── Category grid ───────────── */
.ek-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  border: 1px solid var(--ek-border);
  border-radius: var(--ek-radius);
  background: var(--ek-border);
}
@media (min-width: 1024px) { .ek-cat-grid { grid-template-columns: repeat(8, 1fr); } }
.ek-cat-grid a {
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px 6px;
  background: var(--ek-bg);
  text-align: center;
  text-decoration: none;
  transition: background .3s;
  box-sizing: border-box;
}
@media (min-width: 640px) { .ek-cat-grid a { padding: 16px 12px 28px; } }
.ek-cat-grid a:hover { background: var(--ek-card); }
.ek-cat-grid__num { display: none; align-self: flex-start; font-family: var(--ek-font-mono); font-size: 10px; color: rgba(100, 107, 114, .7); }
@media (min-width: 640px) { .ek-cat-grid__num { display: block; } }
.ek-cat-grid__icon { width: 24px; height: 24px; color: rgba(32, 37, 43, .8); stroke-width: 1.4; transition: transform .3s, color .3s; }
@media (min-width: 640px) { .ek-cat-grid__icon { width: 28px; height: 28px; } }
.ek-cat-grid a:hover .ek-cat-grid__icon { transform: translateY(-2px); color: var(--ek-primary); }
.ek-cat-grid__name { font-size: 12px; font-weight: 500; line-height: 1.2; }
@media (min-width: 640px) { .ek-cat-grid__name { font-size: 14px; } }
.ek-cat-grid__blurb { display: none; font-size: 12px; color: var(--ek-muted-fg); }
@media (min-width: 1280px) { .ek-cat-grid__blurb { display: block; } }

/* ───────────── Product cards (all WooCommerce loops) ───────────── */
body.evkor .woocommerce ul.products,
body.evkor ul.products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 12px;
  row-gap: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}
body.evkor ul.products::before, body.evkor ul.products::after { display: none; }
@media (min-width: 640px) { body.evkor ul.products { column-gap: 20px; } }
@media (min-width: 768px) { body.evkor ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1280px) { body.evkor ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

body.evkor ul.products li.product {
  position: relative;
  display: flex;
  flex-direction: column;
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  text-align: left;
  animation: ek-fade-up .55s var(--ek-ease) both;
}
body.evkor ul.products li.product a.woocommerce-LoopProduct-link {
  display: flex;
  flex: 1;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
body.evkor ul.products li.product a img,
body.evkor ul.products li.product img.attachment-woocommerce_thumbnail,
body.evkor ul.products li.product img.wp-post-image {
  display: block;
  width: 100% !important;
  aspect-ratio: 1 / 1;
  height: auto !important;
  margin: 0 !important;
  object-fit: contain;
  background: var(--ek-card);
  border: 1px solid var(--ek-border);
  border-radius: var(--ek-radius);
  box-shadow: none;
  transition: transform .7s ease-out, border-color .3s;
  box-sizing: border-box;
}
body.evkor ul.products li.product:hover a img { border-color: rgba(32, 37, 43, .2); }
body.evkor ul.products li.product .onsale {
  position: absolute;
  top: 10px;
  left: 10px;
  right: auto;
  z-index: 2;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 2px 6px;
  border-radius: 3px;
  background: var(--ek-primary);
  color: #fff;
  font-family: var(--ek-font-mono);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
}
.ek-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 14px; min-width: 0; }
.ek-card__meta .ek-eyebrow { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ek-condition {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  font-family: var(--ek-font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(32, 37, 43, .7);
}
.ek-condition::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.ek-condition--almost-new { color: var(--ek-success); }
@media (max-width: 399px) { .ek-card__meta .ek-condition { display: none; } }

body.evkor ul.products li.product .woocommerce-loop-product__title {
  margin: 6px 0 0;
  padding: 0;
  font-family: var(--ek-font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .2s;
}
@media (min-width: 640px) { body.evkor ul.products li.product .woocommerce-loop-product__title { font-size: 15px; } }
body.evkor ul.products li.product:hover .woocommerce-loop-product__title { color: var(--ek-primary); }
body.evkor ul.products li.product .price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 8px;
  margin: auto 0 0;
  padding-top: 12px;
  padding-right: 52px;
  font-family: var(--ek-font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ek-fg);
}
@media (min-width: 640px) { body.evkor ul.products li.product .price { font-size: 17px; } }
body.evkor ul.products li.product .price del { font-size: 13px; font-weight: 400; color: var(--ek-muted-fg); opacity: 1; }
body.evkor ul.products li.product .price ins { text-decoration: none; }
body.evkor ul.products li.product .et-product-signals { margin: 4px 0 0; padding: 0; }
body.evkor .et-stock { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; background: none !important; padding: 0 !important; border: 0 !important; color: var(--ek-success); }
body.evkor .et-stock::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
body.evkor .et-stock.is-low { color: var(--ek-primary); }
body.evkor .et-stock.is-out { color: var(--ek-muted-fg); }

/* Quick-add becomes the round "+" button from the design. The doubled
   `.button.button` outranks the parent's `.button.add_to_cart_button !important`. */
html body.evkor ul.products li.product .button.button {
  background: transparent !important;
  border-color: var(--ek-border) !important;
  color: transparent !important;
  border-radius: 999px !important;
  min-width: 0;
}
html body.evkor ul.products li.product .button.button:hover {
  background: var(--ek-success) !important;
  border-color: var(--ek-success) !important;
}
/* Archive pages add `.woocommerce` parent rules; pin the card geometry. */
html body.evkor ul.products {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
@media (min-width: 768px) { html body.evkor ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (min-width: 1280px) { html body.evkor ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; } }
@media (max-width: 1023px) { html body.evkor ul.products.ek-rail__list { display: flex !important; } }
html body.evkor ul.products li.product img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: contain !important;
  padding: 0 !important;
}
html body.evkor ul.products li.product .button.button {
  position: absolute !important;
  right: 0 !important;
  bottom: 18px !important;
  width: 40px !important;
  min-width: 0 !important;
  height: 40px !important;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 0 !important;
  display: grid !important;
  place-items: center;
  border: 1px solid var(--ek-border) !important;
  border-radius: 999px !important;
}
html body.evkor ul.products li.product .button.button::before { color: var(--ek-fg) !important; }
html body.evkor ul.products li.product .button.button:hover::before { color: #fff !important; }
html body.evkor ul.products li.product .button.button::after { display: none !important; }
html body.evkor ul.products li.product .price,
html body.evkor ul.products li.product .price .amount,
html body.evkor ul.products li.product .price ins { color: var(--ek-fg) !important; background: none !important; }
html body.evkor ul.products li.product .price del,
html body.evkor ul.products li.product .price del .amount { color: var(--ek-muted-fg) !important; }
html body.evkor .et-product-signals { display: block; margin: 4px 0 0; }
html body.evkor .et-product-signals span.et-stock {
  min-height: 0;
  justify-content: flex-start;
  padding: 0;
  border: 0;
  background: none;
  font-weight: 400;
  text-align: left;
}
html body.evkor.single-product .single_add_to_cart_button.button {
  background: var(--ek-fg) !important;
  border-color: var(--ek-fg) !important;
  color: var(--ek-bg) !important;
}
html body.evkor.single-product .single_add_to_cart_button.button:hover { background: rgba(32, 37, 43, .9) !important; }
body.evkor ul.products li.product a.button,
body.evkor ul.products li.product .button {
  position: absolute;
  right: 0;
  bottom: 18px;
  width: 40px;
  height: 40px;
  padding: 0;
  margin: 0;
  border: 1px solid var(--ek-border);
  border-radius: 999px;
  background: transparent;
  color: transparent;
  font-size: 0;
  box-shadow: none;
}
body.evkor ul.products li.product .button::before {
  content: "+";
  color: var(--ek-fg);
  font-family: var(--ek-font-body);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
}
body.evkor ul.products li.product .button:hover { border-color: var(--ek-success); background: var(--ek-success); }
body.evkor ul.products li.product .button:hover::before { color: #fff; }
body.evkor ul.products li.product .button.added::before { content: "✓"; font-size: 15px; }
body.evkor ul.products li.product .button.loading { opacity: .5; }
body.evkor ul.products li.product .button.loading::after { display: none; }
body.evkor ul.products li.product .added_to_cart { display: none; }
body.evkor ul.products li.product .et-repair-iphone-condition,
body.evkor ul.products li.product .et-repair-iphone-photo-note { font-size: 12px; color: var(--ek-muted-fg); margin-top: 4px; }

/* Homepage rails scroll sideways on phones, grid on desktop. */
@media (max-width: 1023px) {
  body.evkor ul.products.ek-rail__list {
    display: flex;
    gap: 12px;
    margin: 32px -16px 0;
    padding: 0 16px 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 16px;
    scrollbar-width: none;
  }
  body.evkor ul.products.ek-rail__list::-webkit-scrollbar { display: none; }
  body.evkor ul.products.ek-rail__list li.product { width: 46% !important; flex-shrink: 0; scroll-snap-align: start; }
}
@media (min-width: 640px) and (max-width: 1023px) {
  body.evkor ul.products.ek-rail__list { gap: 20px; margin-inline: -24px; padding-inline: 24px; }
  body.evkor ul.products.ek-rail__list li.product { width: 31% !important; }
}
@media (min-width: 1024px) {
  body.evkor ul.products.ek-rail__list { margin-top: 32px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ───────────── Promos ───────────── */
.ek-promo-wrap { padding-block: 24px; }
.ek-promo-pair { display: grid; gap: 16px; padding-block: 24px; }
@media (min-width: 768px) { .ek-promo-pair { grid-template-columns: 1fr 1fr; } }
.ek-promo {
  position: relative;
  display: grid;
  height: 100%;
  overflow: hidden;
  border-radius: var(--ek-radius);
  text-decoration: none;
}
@media (min-width: 768px) { .ek-promo:not(.ek-promo--compact) { grid-template-columns: 1fr 1fr; } }
.ek-promo--red { background: var(--ek-primary); color: #fff; }
/* `body.evkor a { color: inherit }` outranks the tone class, so restate it. */
html body.evkor a.ek-promo--red,
html body.evkor a.ek-promo--red h3,
html body.evkor a.ek-promo--red .ek-promo__cta,
html body.evkor a.ek-promo--red .ek-promo__tile { color: #fff !important; }
html body.evkor a.ek-promo--red .ek-promo__eyebrow,
html body.evkor a.ek-promo--red .ek-promo__text { color: rgba(255, 255, 255, .82) !important; }

/* Red promo: richer gradient, yellow/white pops, colourful check tiles. */
.ek-promo--red {
  background:
    radial-gradient(120% 140% at 0% 0%, #ff2d44 0%, rgba(255, 45, 68, 0) 55%),
    linear-gradient(135deg, #e80c22 0%, #c4061b 55%, #8f0013 100%);
  box-shadow: 0 18px 40px rgba(143, 0, 19, .25);
}
.ek-promo__pops { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
@media (max-width: 767px) { .ek-promo__pops .ek-pop--inner { display: none; } }
.ek-promo--red .ek-promo__copy,
.ek-promo--red .ek-promo__tiles { position: relative; z-index: 1; }
html body.evkor a.ek-promo--red .ek-promo__eyebrow { color: #ffd23f !important; }
html body.evkor a.ek-promo--red .ek-promo__cta {
  align-self: flex-start;
  padding: 10px 18px;
  border-radius: 999px;
  background: #fff;
  color: #c4061b !important;
  transition: background .2s, color .2s;
}
html body.evkor a.ek-promo--red:hover .ek-promo__cta { background: #ffd23f; color: var(--ek-fg) !important; }
html body.evkor a.ek-promo--red .ek-promo__tile {
  border: 0;
  background: #fff;
  color: var(--ek-fg) !important;
  box-shadow: 0 10px 24px rgba(80, 0, 10, .25);
  transition: transform .3s var(--ek-ease);
}
.ek-promo--red:hover .ek-promo__tile:nth-child(1) { transform: translateY(-3px) rotate(-2deg); }
.ek-promo--red:hover .ek-promo__tile:nth-child(2) { transform: translateY(-5px); }
.ek-promo--red:hover .ek-promo__tile:nth-child(3) { transform: translateY(-3px) rotate(2deg); }
.ek-promo--red .ek-promo__tile span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0 auto;
  border-radius: 999px;
  color: #fff;
  font-size: 22px;
  line-height: 1;
}
@media (min-width: 640px) { .ek-promo--red .ek-promo__tile span { width: 56px; height: 56px; font-size: 28px; } }
.ek-promo__tile--green span { background: var(--ek-success); }
.ek-promo__tile--blue span { background: #1f5eff; }
.ek-promo__tile--gold span { background: #f2b705; }
.ek-promo--red .ek-promo__tile small { margin-top: 10px; color: var(--ek-fg); opacity: .75; font-weight: 500; }
html body.evkor a.ek-promo--light,
html body.evkor a.ek-promo--light h3 { color: var(--ek-fg); }
.ek-promo--dark { background: var(--ek-deep); }
.ek-promo--light { background: var(--ek-card); color: var(--ek-fg); border: 1px solid var(--ek-border); }
.ek-promo__copy { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; padding: 24px; }
@media (min-width: 640px) { .ek-promo__copy { padding: 40px; } }
@media (min-width: 1024px) { .ek-promo__copy { padding: 56px; } }
.ek-promo__eyebrow { margin: 0; font-family: var(--ek-font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--ek-muted-fg); }
.ek-promo--red .ek-promo__eyebrow, .ek-promo--red .ek-promo__text { color: rgba(255, 255, 255, .8); }
.ek-promo h3 { max-width: 448px; margin: 12px 0 0; font-size: 24px; font-weight: 600; line-height: 1.05; }
@media (min-width: 640px) { .ek-promo h3 { font-size: 36px; } }
.ek-promo__text { max-width: 384px; margin: 12px 0 0; font-size: 15px; line-height: 1.65; color: var(--ek-muted-fg); }
.ek-promo__cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; font-size: 14px; font-weight: 600; }
.ek-promo__cta .ek-icon { width: 16px; height: 16px; transition: transform .3s; }
.ek-promo:hover .ek-promo__cta .ek-icon { transform: translateX(4px); }
.ek-promo__tiles { display: flex; align-items: center; gap: 8px; padding: 0 24px 32px; }
@media (min-width: 640px) { .ek-promo__tiles { gap: 12px; padding: 0 40px 32px; } }
@media (min-width: 768px) { .ek-promo__tiles { justify-content: flex-end; padding: 56px; } }
.ek-promo__tile {
  min-width: 76px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: var(--ek-radius);
  background: rgba(255, 255, 255, .07);
  text-align: center;
  box-sizing: border-box;
}
@media (min-width: 640px) { .ek-promo__tile { min-width: 104px; padding: 20px 12px; } }
.ek-promo__tile span { display: block; font-family: var(--ek-font-mono); font-size: 30px; font-weight: 500; line-height: 1.1; }
@media (min-width: 640px) { .ek-promo__tile span { font-size: 44px; } }
.ek-promo__tile small { display: block; margin-top: 4px; font-family: var(--ek-font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: .14em; opacity: .6; }
.ek-promo__img { position: relative; aspect-ratio: 16 / 9; }
.ek-promo__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.ek-promo:hover .ek-promo__img img { transform: scale(1.03); }

/* ───────────── Collections ───────────── */
.ek-collections { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 32px 0 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .ek-collections { gap: 16px; } }
@media (min-width: 1024px) { .ek-collections { grid-template-columns: repeat(4, 1fr); } }
.ek-collection {
  display: flex;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--ek-border);
  border-radius: var(--ek-radius);
  background: var(--ek-card);
  text-decoration: none;
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.ek-collection:hover { border-color: rgba(32, 37, 43, .25); box-shadow: 0 10px 28px rgba(32, 37, 43, .08); transform: translateY(-2px); }
.ek-collection__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #fff; }
html body.evkor .ek-collection__media img {
  position: absolute;
  inset: 14px;
  width: calc(100% - 28px) !important;
  height: calc(100% - 28px) !important;
  max-width: none;
  object-fit: contain;
  transition: transform .6s var(--ek-ease);
}
.ek-collection:hover .ek-collection__media img { transform: scale(1.05); }
.ek-collection__copy { display: block; padding: 12px 16px 16px; border-top: 1px solid var(--ek-border); }
@media (min-width: 640px) { .ek-collection__copy { padding: 14px 20px 18px; } }
.ek-collection__copy .ek-eyebrow { color: var(--ek-muted-fg); }
.ek-collection__title { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; font-size: 16px; font-weight: 600; color: var(--ek-fg); }
@media (min-width: 640px) { .ek-collection__title { font-size: 19px; } }
.ek-collection__title .ek-icon { width: 18px; height: 18px; transition: transform .3s; }
.ek-collection:hover .ek-collection__title .ek-icon { transform: translate(2px, -2px); color: var(--ek-primary); }

/* ───────────── Why EVKOR ───────────── */
.ek-why { margin-top: 64px; padding-block: 64px; border-block: 1px solid var(--ek-border); background: rgba(255, 255, 255, .4); }
@media (min-width: 640px) { .ek-why { padding-block: 96px; } }
.ek-why__inner { display: grid; gap: 48px; }
@media (min-width: 1024px) {
  .ek-why__inner { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .ek-why__intro { grid-column: span 4; }
  .ek-why__grid { grid-column: span 8; }
}
.ek-why__intro h2 { margin: 12px 0 0; font-size: 34px; font-weight: 600; line-height: 1.02; }
@media (min-width: 640px) { .ek-why__intro h2 { font-size: 48px; } }
.ek-why__intro > p:not(.ek-eyebrow) { max-width: 384px; margin: 20px 0 32px; line-height: 1.65; color: var(--ek-muted-fg); }
.ek-why__grid {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  border: 1px solid var(--ek-border);
  border-radius: var(--ek-radius);
  background: var(--ek-border);
}
@media (min-width: 640px) { .ek-why__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .ek-why__grid { grid-template-columns: repeat(3, 1fr); } }
.ek-why__grid li { padding: 24px; background: var(--ek-bg); }
@media (min-width: 640px) { .ek-why__grid li { padding: 28px; } }
.ek-why__top { display: flex; align-items: center; justify-content: space-between; }
.ek-why__top .ek-icon { width: 24px; height: 24px; color: var(--ek-primary); }
.ek-why__top span { font-family: var(--ek-font-mono); font-size: 11px; color: var(--ek-muted-fg); }
.ek-why__grid h3 { margin: 32px 0 0; font-size: 17px; font-weight: 600; }
.ek-why__grid p { margin: 8px 0 0; font-size: 14px; line-height: 1.65; color: var(--ek-muted-fg); }

/* ───────────── Footer ───────────── */
.ek-footer { margin-top: 96px; background: var(--ek-deep); }
.ek-footer__grid { display: grid; gap: 48px; padding-block: 56px; }
@media (min-width: 1024px) {
  .ek-footer__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); padding-block: 80px; }
  .ek-footer__brand { grid-column: span 4; }
  .ek-footer__cols { grid-column: 6 / span 7; }
}
.ek-footer__brand > p { max-width: 320px; margin: 20px 0 0; font-size: 14px; line-height: 1.65; color: var(--ek-muted-fg); }
.ek-footer__contact { display: block; margin-top: 28px; font-family: var(--ek-font-mono); font-size: 20px; text-decoration: none; transition: color .2s; }
.ek-footer__contact--email { font-size: 15px; }
.ek-footer__contact:hover { color: var(--ek-primary); }
.ek-footer .ek-footer__hours { margin-top: 4px; }
.ek-footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (min-width: 640px) { .ek-footer__cols { grid-template-columns: repeat(3, 1fr); } }
body.evkor .ek-footer__cols h2 {
  margin: 0;
  font-family: var(--ek-font-mono);
  font-size: 11px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--ek-muted-fg);
}
.ek-footer__cols ul { margin: 20px 0 0; padding: 0; list-style: none; }
.ek-footer__cols li + li { margin-top: 12px; }
.ek-footer__cols a { font-size: 14px; color: rgba(255, 255, 255, .8); text-decoration: none; transition: color .2s; }
.ek-footer__cols a:hover { color: #fff; }
.ek-footer__word { overflow: hidden; user-select: none; }
.ek-footer__word p { margin: 0; font-family: var(--ek-font-heading); font-size: 23vw; font-weight: 700; line-height: .8; letter-spacing: .08em; color: rgba(255, 255, 255, .05); }
@media (min-width: 1024px) { .ek-footer__word p { font-size: 17vw; } }
.ek-footer__bottom { border-top: 1px solid var(--ek-border); }
.ek-footer__bottom-inner { display: flex; flex-direction: column; gap: 8px; padding-block: 24px; font-size: 12px; color: var(--ek-muted-fg); }
.ek-footer__bottom-inner p { margin: 0; }
@media (min-width: 640px) { .ek-footer__bottom-inner { flex-direction: row; align-items: center; justify-content: space-between; } }

/* Floating support button */
.ek-support {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 30;
  display: flex;
  height: 48px;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid rgba(0, 132, 61, .45);
  border-radius: 999px;
  background: rgba(245, 247, 245, .9);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 30px rgba(32, 37, 43, .16);
  font-size: 14px;
  font-weight: 500;
  color: var(--ek-fg);
  text-decoration: none;
  transition: all .3s;
}
.ek-support:hover { border-color: var(--ek-success); }
.ek-support__icon { position: relative; display: inline-flex; color: var(--ek-success); }
.ek-support__dot { position: absolute; top: -2px; right: -2px; width: 8px; height: 8px; border: 1px solid var(--ek-bg); border-radius: 50%; background: var(--ek-success); }
.ek-support__label { display: none; }
@media (min-width: 640px) { .ek-support { bottom: 24px; padding: 0 20px; } .ek-support__label { display: inline; } }
@media (max-width: 1023px) {
  .ek-support.is-lifted { bottom: 92px; }
  .ek-support.is-hidden-mobile { display: none; }
}

/* Parent-theme chrome that the new header/footer replace. */
body.evkor .et-mobile-shell,
body.evkor .et-mobile-dock,
body.evkor .et-topbar { display: none !important; }

/* ───────────── Shop / archive ───────────── */
body.evkor .et-main { padding-block: 24px 40px; background: transparent; }
@media (min-width: 1024px) { body.evkor .et-main { padding-top: 40px; } }
body.evkor .woocommerce-breadcrumb {
  margin: 0 0 16px;
  font-family: var(--ek-font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ek-muted-fg);
}
body.evkor .woocommerce-breadcrumb a { color: var(--ek-muted-fg); text-decoration: none; }
body.evkor .woocommerce-breadcrumb a:hover { color: var(--ek-fg); }
body.evkor .woocommerce-products-header { margin: 0 0 24px; padding-bottom: 24px; border-bottom: 1px solid var(--ek-border); }
body.evkor .woocommerce-products-header__title,
body.evkor .woocommerce-products-header h1 { margin: 0; font-size: 34px; font-weight: 600; line-height: 1; letter-spacing: -0.03em; }
@media (min-width: 640px) { body.evkor .woocommerce-products-header__title { font-size: 48px; } }
body.evkor .woocommerce-result-count { font-family: var(--ek-font-mono); font-size: 14px; color: var(--ek-muted-fg); margin: 12px 0 32px; }
body.evkor .woocommerce-ordering { margin: 0 0 32px; }
body.evkor .woocommerce-ordering select {
  height: 44px;
  padding: 0 40px 0 16px;
  border: 1px solid var(--ek-input);
  border-radius: var(--ek-radius);
  background-color: var(--ek-card);
  font-size: 14px;
  color: var(--ek-fg);
}
body.evkor .woocommerce nav.woocommerce-pagination ul { display: inline-flex; gap: 6px; border: 0; }
body.evkor .woocommerce nav.woocommerce-pagination ul li { border: 0; }
body.evkor .woocommerce nav.woocommerce-pagination ul li a,
body.evkor .woocommerce nav.woocommerce-pagination ul li span {
  display: grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  border: 1px solid var(--ek-border);
  border-radius: 999px;
  font-family: var(--ek-font-mono);
  font-size: 13px;
  color: var(--ek-fg);
}
body.evkor .woocommerce nav.woocommerce-pagination ul li span.current { border-color: var(--ek-primary); background: rgba(232, 12, 34, .1); color: var(--ek-primary); }

/* ───────────── Single product ───────────── */
body.evkor.single-product div.product { display: grid; gap: 32px; }
@media (min-width: 1024px) {
  body.evkor.single-product div.product { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 56px; }
  /* Not sticky: the grid also holds the tabs and related products, so a
     sticky gallery would slide over them while scrolling. */
  body.evkor.single-product div.product .woocommerce-product-gallery { grid-column: span 7; align-self: start; }
  body.evkor.single-product div.product .summary { grid-column: span 5; }
  body.evkor.single-product div.product > :not(.woocommerce-product-gallery):not(.summary):not(.onsale) { grid-column: 1 / -1; }
}
body.evkor.single-product div.product .woocommerce-product-gallery,
body.evkor.single-product div.product .summary { width: 100% !important; float: none !important; margin: 0 !important; }
body.evkor.single-product .woocommerce-product-gallery__wrapper,
body.evkor.single-product .woocommerce-product-gallery .flex-viewport {
  overflow: hidden;
  border-radius: var(--ek-radius);
  background: var(--ek-card);
}
body.evkor.single-product .woocommerce-product-gallery img { border-radius: var(--ek-radius); }
body.evkor.single-product .flex-control-thumbs { display: flex; gap: 8px; margin-top: 12px !important; }
body.evkor.single-product .flex-control-thumbs li { width: 64px !important; }
body.evkor.single-product .flex-control-thumbs img { border: 1px solid var(--ek-border); border-radius: 6px; opacity: .6; transition: opacity .2s, border-color .2s; }
body.evkor.single-product .flex-control-thumbs img.flex-active,
body.evkor.single-product .flex-control-thumbs img:hover { opacity: 1; border-color: var(--ek-fg); }
body.evkor.single-product .ek-single__eyebrow { margin-bottom: 12px; }
body.evkor.single-product .product_title {
  margin: 0;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em !important;
}
@media (min-width: 640px) { body.evkor.single-product .product_title { font-size: 40px; } }
body.evkor.single-product .summary .price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  margin: 24px 0 0;
  font-family: var(--ek-font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ek-fg);
}
@media (min-width: 640px) { body.evkor.single-product .summary .price { font-size: 34px; } }
html body.evkor.single-product .summary .price,
html body.evkor.single-product .summary .price .amount,
html body.evkor .woocommerce-variation-price .price .amount { color: var(--ek-fg) !important; }
html body.evkor.single-product div.product {
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
/* Internal workflow tags (e.g. "Placeholder price") are not for customers. */
body.evkor.single-product .product_meta .tagged_as { display: none; }
body.evkor.single-product .summary .price del { font-size: 16px; font-weight: 400; color: var(--ek-muted-fg); }
body.evkor.single-product .summary .price ins { text-decoration: none; }
body.evkor.single-product .ek-single__condition { margin: 16px 0 0; }
body.evkor.single-product .woocommerce-product-details__short-description { margin-top: 20px; font-size: 15px; line-height: 1.65; color: rgba(32, 37, 43, .8); }
body.evkor.single-product form.cart { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 12px; }
body.evkor.single-product form.cart .quantity .qty { width: 72px; height: 48px; text-align: center; font-family: var(--ek-font-mono); }
body.evkor.single-product form.cart .single_add_to_cart_button { flex: 1; min-width: 200px; background: var(--ek-fg); color: var(--ek-bg); }
body.evkor.single-product form.variations_form { display: block; }
body.evkor.single-product .single_variation_wrap .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 12px; }
body.evkor.single-product .ek-single__support { width: 100%; margin-top: 4px; }

/* Variations: native selects and variation-swatches buttons. */
body.evkor.single-product table.variations { width: 100%; margin: 24px 0 0; border: 0; }
body.evkor.single-product table.variations tr { display: block; margin-bottom: 20px; }
body.evkor.single-product table.variations th,
body.evkor.single-product table.variations td { display: block; padding: 0; border: 0; background: none; text-align: left; }
body.evkor.single-product table.variations th label { display: block; margin-bottom: 12px; font-size: 14px; font-weight: 500; }
body.evkor.single-product table.variations select {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--ek-input);
  border-radius: var(--ek-radius);
  background-color: var(--ek-card);
  font-size: 15px;
}
body.evkor.single-product .reset_variations { display: inline-block; margin-top: 8px; font-size: 12px; color: var(--ek-muted-fg); }
body.evkor .variable-items-wrapper { gap: 8px; }
body.evkor .variable-items-wrapper .variable-item.button-variable-item {
  min-height: 48px;
  height: auto;
  margin: 0 !important;
  padding: 8px 16px;
  border-radius: var(--ek-radius) !important;
  background: transparent !important;
  box-shadow: 0 0 0 1px var(--ek-border) !important;
  font-size: 14px;
  font-weight: 500;
  color: var(--ek-fg);
  transition: all .2s;
}
body.evkor .variable-items-wrapper .variable-item.button-variable-item:hover { box-shadow: 0 0 0 1px rgba(32, 37, 43, .3) !important; }
body.evkor .variable-items-wrapper .variable-item.button-variable-item.selected {
  background: rgba(232, 12, 34, .07) !important;
  box-shadow: 0 0 0 1px var(--ek-primary) !important;
  color: var(--ek-fg);
}
body.evkor .woocommerce-variation-price .price { font-size: 24px !important; margin-top: 0 !important; }
body.evkor .woocommerce-variation-availability .stock { font-size: 13px; }

body.evkor.single-product .product_meta { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--ek-border); font-family: var(--ek-font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--ek-muted-fg); }
body.evkor.single-product .product_meta > span { display: block; margin-top: 4px; }
body.evkor.single-product .product_meta a { color: var(--ek-muted-fg); }

/* Tabs → spec-sheet look */
body.evkor.single-product .woocommerce-tabs { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--ek-border); }
body.evkor.single-product .woocommerce-tabs ul.tabs { display: flex; gap: 24px; margin: 0 0 24px; padding: 0; border-bottom: 1px solid var(--ek-border); }
body.evkor.single-product .woocommerce-tabs ul.tabs::before,
body.evkor.single-product .woocommerce-tabs ul.tabs li::before,
body.evkor.single-product .woocommerce-tabs ul.tabs li::after { display: none; }
body.evkor.single-product .woocommerce-tabs ul.tabs li { margin: 0; padding: 0; border: 0; background: none; border-radius: 0; }
body.evkor.single-product .woocommerce-tabs ul.tabs li a {
  display: block;
  padding: 12px 0;
  font-family: var(--ek-font-mono);
  font-size: 11px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--ek-muted-fg);
  border-bottom: 1px solid transparent;
  margin-bottom: -1px;
}
body.evkor.single-product .woocommerce-tabs ul.tabs li.active a { color: var(--ek-fg); border-color: var(--ek-primary); }
body.evkor.single-product .woocommerce-Tabs-panel { max-width: 860px; font-size: 15px; line-height: 1.7; color: rgba(32, 37, 43, .85); }
body.evkor.single-product .woocommerce-Tabs-panel h2 { font-size: 24px; font-weight: 600; }
body.evkor.single-product table.woocommerce-product-attributes { border: 0; border-top: 1px solid var(--ek-border); }
body.evkor.single-product table.woocommerce-product-attributes th,
body.evkor.single-product table.woocommerce-product-attributes td {
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid var(--ek-border);
  background: none !important;
  font-style: normal;
}
body.evkor.single-product table.woocommerce-product-attributes th { width: 200px; font-family: var(--ek-font-mono); font-size: 11px; font-weight: 400; text-transform: uppercase; letter-spacing: .08em; color: var(--ek-muted-fg); }
body.evkor.single-product .related,
body.evkor.single-product .upsells { margin-top: 64px; }
body.evkor.single-product .related > h2,
body.evkor.single-product .upsells > h2 { margin: 0 0 32px; font-size: 26px; font-weight: 600; }
@media (min-width: 640px) { body.evkor.single-product .related > h2, body.evkor.single-product .upsells > h2 { font-size: 36px; } }

/* ───────────── Cart, checkout, account ───────────── */
body.evkor .woocommerce-cart h1,
body.evkor .woocommerce-checkout h1,
body.evkor .woocommerce-account h1,
body.evkor .et-main h1.entry-title,
body.evkor .et-page-title { font-size: 34px; font-weight: 600; letter-spacing: -0.03em; }
body.evkor .woocommerce table.shop_table {
  border: 1px solid var(--ek-border);
  border-radius: var(--ek-radius);
  background: var(--ek-card);
  border-collapse: separate;
  overflow: hidden;
}
body.evkor .woocommerce table.shop_table th { font-family: var(--ek-font-mono); font-size: 11px; font-weight: 400; text-transform: uppercase; letter-spacing: .1em; color: var(--ek-muted-fg); }
body.evkor .woocommerce table.shop_table td,
body.evkor .woocommerce table.shop_table th { border-color: var(--ek-border); }
body.evkor .woocommerce table.shop_table .amount,
body.evkor .woocommerce .cart_totals .amount,
body.evkor .woocommerce-checkout-review-order .amount { font-family: var(--ek-font-mono); font-variant-numeric: tabular-nums; }
body.evkor .woocommerce table.shop_table img { border-radius: 6px; border: 1px solid var(--ek-border); }
body.evkor .woocommerce .cart_totals,
body.evkor .woocommerce-checkout #order_review,
body.evkor .woocommerce .woocommerce-MyAccount-content,
body.evkor .woocommerce form.checkout .col2-set .col-1,
body.evkor .woocommerce form.checkout .col2-set .col-2 {
  border-radius: var(--ek-radius);
}
body.evkor .woocommerce .cart_totals h2,
body.evkor .woocommerce-checkout h3 { font-size: 20px; font-weight: 600; }
body.evkor .woocommerce-checkout #payment { border-radius: var(--ek-radius); background: var(--ek-muted); }
body.evkor .woocommerce-checkout #payment div.payment_box { border-radius: var(--ek-radius); background: var(--ek-card); }
body.evkor .woocommerce-checkout #payment div.payment_box::before { display: none; }
body.evkor .woocommerce-message,
body.evkor .woocommerce-info,
body.evkor .woocommerce-error {
  border: 1px solid var(--ek-border);
  border-left: 3px solid var(--ek-success);
  border-radius: var(--ek-radius);
  background: var(--ek-card);
  color: var(--ek-fg);
}
body.evkor .woocommerce-info { border-left-color: var(--ek-fg); }
body.evkor .woocommerce-error { border-left-color: var(--ek-primary); }
body.evkor .woocommerce-message::before { color: var(--ek-success); }
body.evkor .woocommerce-error::before { color: var(--ek-primary); }
body.evkor .woocommerce-MyAccount-navigation ul { margin: 0; padding: 0; list-style: none; }
body.evkor .woocommerce-MyAccount-navigation a { text-decoration: none; }
body.evkor .woocommerce-MyAccount-navigation .is-active a { color: var(--ek-primary); }

/* Cart totals: undo WooCommerce's float:right / width:48% so the box fills its grid column */
html body.evkor.woocommerce-cart .cart-collaterals .cart_totals {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box;
}
html body.evkor.woocommerce-cart .cart_totals table.shop_table { width: 100%; }
html body.evkor.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  white-space: normal;
  text-align: center;
  box-sizing: border-box;
}

/* Single product on phones: keep the one-column grid inside the screen and let option labels wrap */
html body.evkor.single-product div.product { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) {
  html body.evkor.single-product div.product { grid-template-columns: repeat(12, minmax(0, 1fr)); }
}
html body.evkor.single-product div.product > * { min-width: 0; max-width: 100%; }
html body.evkor.single-product table.variations { table-layout: fixed; }
html body.evkor .variable-items-wrapper.button-variable-items-wrapper {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)) !important;
}
html body.evkor .variable-items-wrapper .variable-item.button-variable-item { min-width: 0; width: auto !important; }
html body.evkor .variable-items-wrapper .variable-item-contents,
html body.evkor .variable-items-wrapper .variable-item-span { white-space: normal !important; text-align: center; line-height: 1.3; }

/* Product tabs: scroll sideways inside the row on phones instead of widening the page */
html body.evkor.single-product .woocommerce-tabs ul.tabs {
  display: flex !important;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  max-width: 100%;
}
html body.evkor.single-product .woocommerce-tabs ul.tabs::-webkit-scrollbar { display: none; }
html body.evkor.single-product .woocommerce-tabs ul.tabs li { flex: 0 0 auto; }
html body.evkor { overflow-x: clip; }

/* ───────────── EVKOR skin for the legacy ea-* blocks (checkout, cart, account, tracking, help) ───────────── */
html body.evkor :is(.ea-flow-header, .ea-guest-gate, .ea-guest-gate__panel, .ea-checkout-confidence, .ea-confidence-panel,
  .ea-page-intro, .ea-policy-card, .ea-policy-callout, .ea-info-card, .ea-faq-card, .ea-contact-card, .ea-order-tracking-card,
  .ea-account-hero, .ea-account-panel, .ea-account-tile, .ea-account-order, .ea-paystack-card, .ea-paystack-brief,
  .ea-checkout-profile, .ea-register-stepper__shell, .ea-affiliate-panel, .ea-cart-summary-notes, .ea-account-empty) {
  background: var(--ek-card) !important;
  background-image: none !important;
  border: 1px solid var(--ek-border) !important;
  border-radius: var(--ek-radius) !important;
  box-shadow: var(--ek-shadow) !important;
  color: var(--ek-fg);
}
html body.evkor :is(.ea-flow-header, .ea-guest-gate, .ea-page-intro, .ea-account-hero) { padding: 28px 32px !important; margin-bottom: 24px !important; }
html body.evkor .ea-guest-gate__panel { background: var(--ek-bg) !important; box-shadow: none !important; padding: 20px 22px !important; }
html body.evkor :is(.ea-flow-header, .ea-guest-gate, .ea-page-intro, .ea-account-hero, .ea-policy-card, .ea-info-card, .ea-faq-card, .ea-contact-card) :is(h1, h2, h3, h4) {
  font-family: var(--ek-font-heading); color: var(--ek-fg); letter-spacing: -.02em; font-weight: 600;
}
html body.evkor :is(.ea-flow-header, .ea-guest-gate, .ea-page-intro) :is(h2, h3) { font-size: clamp(24px, 3vw, 30px); margin: 6px 0 8px; }
html body.evkor :is(.ea-flow-header, .ea-guest-gate, .ea-page-intro, .ea-guest-gate__panel, .ea-policy-card, .ea-info-card) p { color: var(--ek-muted-fg); }
html body.evkor :is(.ea-flow-header__kicker, .ea-page-kicker, .ea-account-kicker, .ea-register-stepper__kicker) {
  font-family: var(--ek-font-mono) !important; font-size: 11px !important; font-weight: 400 !important;
  letter-spacing: .12em !important; text-transform: uppercase; color: var(--ek-primary) !important; margin: 0 !important;
}

/* Checkout progress chips */
html body.evkor .ea-checkout-steps { gap: 6px; }
html body.evkor .ea-checkout-step {
  padding: 6px 12px !important; border: 1px solid var(--ek-border) !important; border-radius: 999px !important;
  background: var(--ek-card) !important; color: var(--ek-muted-fg) !important;
  font-family: var(--ek-font-mono); font-size: 11px !important; font-weight: 400 !important; letter-spacing: .08em; text-transform: uppercase;
}
html body.evkor .ea-checkout-step.is-complete { border-color: rgba(0, 132, 61, .35) !important; background: rgba(0, 132, 61, .08) !important; color: var(--ek-success) !important; }

/* Guest / login / register switcher: a segmented control, not yellow buttons */
html body.evkor .ea-guest-gate__switcher {
  display: inline-flex !important; flex-wrap: wrap; gap: 4px !important; padding: 4px !important; margin: 16px 0 20px !important;
  background: var(--ek-muted) !important; border: 0 !important; border-radius: 999px !important; box-shadow: none !important;
}
html body.evkor .ea-guest-gate__tab {
  min-height: 38px; padding: 0 18px !important; border: 0 !important; border-radius: 999px !important;
  background: transparent !important; box-shadow: none !important; color: var(--ek-muted-fg) !important;
  font-family: var(--ek-font-body); font-size: 14px !important; font-weight: 500 !important; cursor: pointer;
}
html body.evkor .ea-guest-gate__tab:hover { color: var(--ek-fg) !important; }
html body.evkor .ea-guest-gate__tab.is-active { background: var(--ek-card) !important; color: var(--ek-fg) !important; box-shadow: var(--ek-shadow) !important; }
html body.evkor .ea-guest-gate__list li::marker { color: var(--ek-primary); font-family: var(--ek-font-mono); }

/* Buttons inside these blocks follow the site buttons */
html body.evkor :is(.ea-guest-gate__cta, .ea-guest-gate__continue, .ea-account-button--primary, .ea-register-stepper__button--primary, .ea-order-tracking-card__button, .ea-checkout-profile__link--primary) {
  display: inline-flex !important; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px !important;
  border: 0 !important; border-radius: 999px !important; background: var(--ek-primary) !important; color: #fff !important;
  box-shadow: none !important; font-weight: 600 !important; font-size: 14px !important; text-decoration: none !important;
}
html body.evkor :is(.ea-account-button:not(.ea-account-button--primary), .ea-register-stepper__button--secondary, .ea-checkout-profile__link:not(.ea-checkout-profile__link--primary)) {
  display: inline-flex !important; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px !important;
  border: 1px solid var(--ek-border) !important; border-radius: 999px !important; background: var(--ek-card) !important;
  color: var(--ek-fg) !important; box-shadow: none !important; font-weight: 500 !important; font-size: 14px !important;
}

/* Before-you-pay checklist */
html body.evkor .ea-checkout-confidence { padding: 18px 20px !important; margin: 16px 0 !important; }
html body.evkor .ea-payment-checklist { display: grid; gap: 8px; }
html body.evkor .ea-payment-checklist > * {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px !important;
  background: var(--ek-bg) !important; border: 1px solid var(--ek-border) !important; border-radius: 6px !important;
  font-size: 13px !important; font-weight: 500 !important; color: var(--ek-fg) !important;
}
html body.evkor .ea-payment-checklist__check { background: var(--ek-success) !important; color: #fff !important; }

/* Order review + payment */
html body.evkor.woocommerce-checkout #order_review_heading { font-family: var(--ek-font-heading); font-size: 20px; font-weight: 600; }
html body.evkor.woocommerce-checkout #payment {
  background: var(--ek-card) !important; border: 1px solid var(--ek-border) !important; box-shadow: var(--ek-shadow) !important;
}
html body.evkor.woocommerce-checkout #payment ul.payment_methods { border-bottom: 1px solid var(--ek-border) !important; }
html body.evkor.woocommerce-checkout #payment div.payment_box { background: var(--ek-bg) !important; border: 1px solid var(--ek-border); }
html body.evkor.woocommerce-checkout #payment .place-order { padding: 20px !important; }
html body.evkor.woocommerce-checkout #place_order {
  width: 100%; min-height: 52px; border-radius: 999px !important; box-shadow: none !important;
  background: var(--ek-success) !important; border-color: var(--ek-success) !important; font-weight: 600 !important; font-size: 15px !important;
}
html body.evkor.woocommerce-checkout #customer_details {
  background: var(--ek-card); border: 1px solid var(--ek-border); border-radius: var(--ek-radius); box-shadow: var(--ek-shadow); padding: 24px;
}
html body.evkor.woocommerce-checkout #customer_details :is(.col-1, .col-2) { border: 0 !important; box-shadow: none !important; padding: 0 !important; background: none !important; }
html body.evkor.woocommerce-checkout #customer_details h3 { font-family: var(--ek-font-heading); font-size: 20px; font-weight: 600; }
html body.evkor .woocommerce form .form-row :is(input.input-text, textarea, select),
html body.evkor .woocommerce form .form-row .select2-selection {
  min-height: 44px; border: 1px solid var(--ek-input) !important; border-radius: 6px !important; background: var(--ek-card) !important; box-shadow: none !important;
}
html body.evkor .woocommerce form .form-row :is(input.input-text, textarea, select):focus { border-color: var(--ek-fg) !important; outline: 2px solid rgba(32, 37, 43, .12); }

/* Notices: no focus box around them, one consistent card */
html body.evkor :is(.woocommerce-message, .woocommerce-info, .woocommerce-error):focus,
html body.evkor .woocommerce-notices-wrapper:focus-within,
html body.evkor .woocommerce-notices-wrapper :focus { outline: none !important; box-shadow: none !important; }
html body.evkor .woocommerce-notices-wrapper { border: 0 !important; box-shadow: none !important; }
html body.evkor .woocommerce-form-coupon-toggle .woocommerce-info { border-left-color: var(--ek-fg) !important; }
html body.evkor .woocommerce-form-coupon-toggle .woocommerce-info::before { color: var(--ek-fg) !important; }
html body.evkor :is(.woocommerce-message, .woocommerce-info) .button {
  min-height: 38px; padding: 0 18px !important; border-radius: 999px !important; background: var(--ek-fg) !important; color: #fff !important;
}

html body.evkor :is(.woocommerce-message, .woocommerce-info) .button { border: 0 !important; box-shadow: none !important; }

/* ── Page pass 2: consistent buttons, cart header, account forms ── */
/* One button shape everywhere (matches the hero buttons) */
html body.evkor :is(.ea-guest-gate__cta, .ea-guest-gate__continue, .ea-account-button, .ea-register-stepper__button, .ea-order-tracking-card__button, .ea-checkout-profile__link),
html body.evkor .woocommerce :is(.button, button.button, input.button, a.button),
html body.evkor.woocommerce-checkout #place_order,
html body.evkor :is(.woocommerce-message, .woocommerce-info) .button { border-radius: var(--ek-radius) !important; }
html body.evkor .ea-guest-gate__switcher { border-radius: var(--ek-radius) !important; }
html body.evkor .ea-guest-gate__tab { border-radius: 6px !important; }

/* Cart: header spans the page, checklist has no empty wrapper box */
html body.evkor.woocommerce-cart .ea-flow-header { grid-column: 1 / -1; width: 100% !important; max-width: none !important; justify-self: stretch; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
html body.evkor .ea-cart-summary-notes { border: 0 !important; box-shadow: none !important; background: none !important; padding: 0 !important; margin-top: 16px !important; }

/* Account: columns keep their own height, password eye sits inside the field */
html body.evkor.woocommerce-account .u-columns.col2-set { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px; align-items: start; }
html body.evkor.woocommerce-account .u-columns.col2-set > * { width: auto !important; float: none !important; margin: 0 !important; }
html body.evkor .woocommerce .password-input { position: relative; display: block; }
html body.evkor .woocommerce .password-input input { padding-right: 44px !important; }
html body.evkor .woocommerce .show-password-input {
  position: absolute !important; top: 50% !important; right: 10px !important; transform: translateY(-50%);
  width: 28px !important; height: 28px !important; padding: 0 !important; margin: 0 !important;
  background-color: transparent !important; border: 0 !important; box-shadow: none !important; opacity: .55;
}
html body.evkor .woocommerce .show-password-input:hover { opacity: 1; }
html body.evkor .ea-register-stepper__shell { border: 0 !important; box-shadow: none !important; background: none !important; padding: 0 !important; }
html body.evkor .ea-register-stepper__stage { border-color: var(--ek-border) !important; }
html body.evkor .woocommerce form.register .form-row :is(input.input-text, select),
html body.evkor .ea-register-stepper__fields :is(input, select) { width: 100% !important; max-width: none !important; }

/* Content pages (help, tracking, policies): no edge-to-edge white card; content sits in the site container */
html body.evkor .et-page-shell {
  background: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
  padding-top: 40px !important; padding-bottom: 64px !important;
}
html body.evkor .et-page-title {
  font-family: var(--ek-font-heading); font-size: clamp(32px, 4vw, 44px); font-weight: 600; letter-spacing: -.03em; margin: 0 0 24px;
}
html body.evkor .et-page-shell > :is(p, ul, ol, h2, h3, table):not([class]) { max-width: 760px; }
html body.evkor .et-page-shell > p:not([class]) { color: var(--ek-muted-fg); line-height: 1.7; }
html body.evkor .et-page-shell .ea-page-intro { max-width: none; }
/* Order tracking form as a proper card */
html body.evkor .woocommerce form.track_order {
  max-width: 760px; padding: 28px 32px; background: var(--ek-card); border: 1px solid var(--ek-border);
  border-radius: var(--ek-radius); box-shadow: var(--ek-shadow);
}
html body.evkor .woocommerce form.track_order .button { min-height: 44px; padding: 0 28px !important; }

html body.evkor .woocommerce .show-password-input { top: 50% !important; bottom: auto !important; transform: translateY(-50%) !important; }
html body.evkor .woocommerce form.register :is(select, input[type=text], input[type=tel], input[type=email]) { width: 100% !important; max-width: none !important; }
html body.evkor .woocommerce form.register .form-row { width: 100% !important; float: none !important; }
html body.evkor .woocommerce :is(button.button, a.button, input.button) { border-width: 0 !important; }

/* Product grids: every photo box the same square so titles and prices line up */
html body.evkor .woocommerce ul.products li.product a img,
html body.evkor ul.products li.product a img {
  width: 100% !important; height: auto !important; aspect-ratio: 1 / 1; object-fit: contain !important;
  background: var(--ek-card); padding: 12px; box-sizing: border-box;
}
html body.evkor ul.products li.product { display: flex !important; flex-direction: column; }
html body.evkor ul.products li.product .price { margin-top: auto !important; }
/* KorRevive search button and sort select */
html body.evkor .et-korrevive-market-header :is(button, input[type=submit]),
html body.evkor [class*=korrevive] form :is(button, input[type=submit]) { border: 0 !important; outline: none !important; box-shadow: none !important; border-radius: 0 6px 6px 0 !important; }
html body.evkor .woocommerce-ordering select {
  min-height: 44px; padding: 0 36px 0 14px; border: 1px solid var(--ek-input) !important; border-radius: var(--ek-radius) !important;
  background-color: var(--ek-card); font-weight: 500;
}
/* Product page confidence ticks: one level of boxes */
html body.evkor .ea-confidence-panel { border: 0 !important; box-shadow: none !important; background: none !important; padding: 0 !important; }
html body.evkor .ea-confidence-item { background: var(--ek-card) !important; border: 1px solid var(--ek-border) !important; box-shadow: none !important; border-radius: 6px !important; }

html body.evkor ul.products li.product a.woocommerce-LoopProduct-link > img.attachment-woocommerce_thumbnail,
html body.evkor ul.products li.product a.woocommerce-LoopProduct-link > img { aspect-ratio: 1 / 1 !important; height: auto !important; width: 100% !important; object-fit: contain !important; }

/* Shop pagination: clear of the grid, proper tap targets */
html body.evkor nav.woocommerce-pagination { clear: both; margin: 48px 0 16px !important; text-align: center; }
html body.evkor nav.woocommerce-pagination ul {
  display: inline-flex !important; flex-wrap: wrap; justify-content: center; gap: 8px; border: 0 !important; margin: 0 !important; padding: 0 !important;
}
html body.evkor nav.woocommerce-pagination ul li { border: 0 !important; float: none !important; margin: 0 !important; overflow: visible !important; }
html body.evkor nav.woocommerce-pagination ul li :is(a, span) {
  display: inline-flex !important; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px !important;
  border: 1px solid var(--ek-border) !important; border-radius: var(--ek-radius) !important; background: var(--ek-card) !important;
  color: var(--ek-fg) !important; font-family: var(--ek-font-mono); font-size: 14px !important; line-height: 1; text-decoration: none;
}
html body.evkor nav.woocommerce-pagination ul li a:hover { border-color: var(--ek-fg) !important; }
html body.evkor nav.woocommerce-pagination ul li span.current {
  background: var(--ek-fg) !important; border-color: var(--ek-fg) !important; color: #fff !important;
}
html body.evkor .woocommerce ul.products { margin-bottom: 0 !important; }
