/* ElectroJC — custom daisyUI theme + mk-* component layer (tokens from brand_brief.json) */
[data-theme="electrojc"] {
  color-scheme: light;
  --p: 84.6% 0.169 90.5;   /* #f5c518 primary */
  --pc: 0% 0 0;            /* #000 on primary */
  --s: 0% 0 0;             /* #000000 secondary */
  --sc: 100% 0 0;
  --a: 88.4% 0.181 93.5;   /* #ffd200 accent */
  --ac: 0% 0 0;
  --n: 30% 0 0;            /* #2e2e2e graphite */
  --nc: 100% 0 0;
  --b1: 100% 0 0;          /* #ffffff surface */
  --b2: 92.8% 0 0;         /* #e7e7e7 promo bar */
  --b3: 86% 0 0;           /* #d0d0d0 border */
  --bc: 32.1% 0 0;         /* #333333 text */
  --in: 60% 0.12 240; --inc: 100% 0 0;
  --su: 62% 0.15 150; --suc: 100% 0 0;
  --wa: 84.6% 0.169 90.5; --wac: 0% 0 0;
  --er: 57% 0.22 27; --erc: 100% 0 0;
  --rounded-box: 10px;
  --rounded-btn: 30px;
  --rounded-badge: 30px;
  --animation-btn: 0s;
  --animation-input: 0s;
  --btn-focus-scale: 1;
  --border-btn: 1px;
  --tab-radius: 6px;
  --mk-yellow: #f5c518;
  --mk-accent: #ffd200;
  --mk-product-btn: #f8d000;
  --mk-graphite: #2e2e2e;
  --mk-ink: #000;
  --mk-muted: #b0b0b0;
  --mk-muted-card: #bebebe;
  --mk-price: #444;
  --mk-border: #d0d0d0;
  --mk-border-dark: #555;
}

html, body { margin: 0; padding: 0; }
body { font-family: "Open Sans", -apple-system, BlinkMacSystemFont, sans-serif; font-size: 14px; color: #333; background: #fff; }
body.mk-dark { background: var(--mk-graphite); color: #fff; }

/* tester rules: no outline/ring, no underline on hover */
a, a:hover, a:focus { text-decoration: none; color: inherit; }
*:focus, *:focus-visible, .input:focus, .select:focus, .textarea:focus, .btn:focus-visible { outline: none !important; box-shadow: none !important; }
.input:focus-within { outline: none !important; }
input[type="checkbox"].checkbox { --chkbg: #fff; --chkfg: #000; border-color: #bbb; }
.btn { text-transform: none; animation: none; }
.btn:active:hover, .btn:active:focus { transform: none; }
.mk-prose a { color: #000; font-weight: 600; }
body.mk-dark .mk-prose a { color: var(--mk-accent); }

.mk-container { max-width: 1440px; margin: 0 auto; padding: 0 24px; }
.mk-container-narrow { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.mk-section { margin-top: 40px; }
.mk-h2 { color: var(--mk-accent); font-size: 26px; font-weight: 300; line-height: 1.25; margin: 0 0 18px; }
body:not(.mk-dark) .mk-h2 { color: #1a1a1a; font-weight: 600; font-size: 24px; }
.mk-h2-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

/* ---------- header ---------- */
.mk-header { position: sticky; top: 0; z-index: 40; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.mk-topbar.navbar { background: var(--mk-graphite); color: #fff; min-height: 83px; padding: 12px 24px; gap: 20px; flex-wrap: nowrap; }
.mk-burger.btn { color: #fff; font-size: 22px; padding: 0 6px; min-height: 40px; height: 40px; }
.mk-logo { display: flex; flex-direction: column; align-items: center; flex: 0 0 auto; }
.mk-logo img { width: 280px; height: auto; display: block; } /* routine 23: new logo.svg is already light-on-dark, no invert */
.mk-slogan { font-size: 12px; color: #fff; margin-top: 4px; white-space: nowrap; }
.mk-search { position: relative; flex: 1 1 590px; max-width: 590px; margin: 0 auto; }
.mk-search .join { width: 100%; display: flex; background: #fff; border: 2px solid #000; border-radius: 8px; height: 40px; overflow: hidden; }
.mk-search .input { flex: 1; border: 0; height: 36px; min-height: 36px; border-radius: 0; color: #333; font-size: 14px; background: #fff; }
.mk-search .btn { height: 36px; min-height: 36px; border: 0; background: #fff; color: #333; border-radius: 0; padding: 0 14px; }
.mk-suggest { position: absolute; left: 0; right: 0; top: 44px; background: #fff; color: #333; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,.25); overflow: hidden; display: none; z-index: 60; }
.mk-suggest.is-open { display: block; }
.mk-suggest a { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-bottom: 1px solid #f0f0f0; }
.mk-suggest a:hover { background: #fff8d6; }
.mk-suggest img { width: 44px; height: 44px; object-fit: contain; flex: 0 0 44px; }
.mk-suggest .mk-s-name { flex: 1; font-size: 13px; font-weight: 600; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mk-suggest .mk-s-price { font-weight: 700; white-space: nowrap; }
.mk-suggest .mk-s-all { justify-content: center; font-weight: 700; background: #fafafa; }
.mk-cp { display: flex; align-items: center; gap: 10px; border: 1px solid #d9d9d9; border-radius: 12px; padding: 8px 12px; min-width: 231px; color: #fff; }
.mk-cp-icon { width: 34px; height: 34px; border-radius: 9px; background: #ffc91d; color: #000; display: grid; place-items: center; font-size: 16px; }
.mk-cp small { display: block; font-size: 10px; text-transform: uppercase; color: var(--mk-muted); font-weight: 700; }
.mk-cp strong { display: block; white-space: nowrap; font-size: 14px; line-height: 1.2; }
.mk-cp span { display: block; font-size: 12px; font-weight: 600; }
.mk-actions { display: flex; align-items: center; gap: 22px; flex: 0 0 auto; }
.mk-act { position: relative; display: flex; flex-direction: column; align-items: center; color: #fff; font-size: 10px; font-weight: 700; text-transform: uppercase; gap: 4px; }
.mk-act i { font-size: 20px; }
.mk-act .mk-count { position: absolute; top: -8px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; font-size: 10px; font-weight: 800; border: 0; background: var(--mk-yellow); color: #000; }
.mk-act-wish .mk-count { right: 4px; }
.mk-nav { background: #000; border-top: 3px solid var(--mk-yellow); min-height: 64px; display: flex; align-items: center; }
.mk-nav .menu { padding: 0; gap: 2px; flex-wrap: wrap; justify-content: center; }
.mk-nav .menu > li > a, .mk-nav .menu > li > label { color: #fff; font-size: 14px; font-weight: 700; text-transform: uppercase; padding: 8px 12px; border-radius: 4px; }
.mk-nav .menu > li > a:hover, .mk-nav .menu > li > label:hover { background: #1c1c1c; color: var(--mk-yellow); }
.mk-nav .menu i.fa-chevron-down { font-size: 9px; margin-left: 4px; opacity: .8; }
.mk-nav-hl.btn { background: var(--mk-yellow); color: #1a1a1a; border: 0; border-radius: 4px; height: 31px; min-height: 31px; font-size: 13px; font-weight: 700; text-transform: uppercase; padding: 0 22px; }
.mk-nav-hl.btn:hover { background: var(--mk-accent); }
.mk-geo { display: none; }
.mk-mob-slogan { display: none; }
.mk-mob-search { display: none; }

/* promo bar (scrolls with page, below sticky header) */
.mk-promo { background: #e7e7e7; color: #333; min-height: 40px; display: flex; align-items: center; justify-content: center; gap: 40px; padding: 8px 24px; font-size: 14px; text-align: center; flex-wrap: wrap; }
.mk-promo a { text-decoration: underline; font-weight: 700; }
.mk-promo .fa-circle-check { color: #f8d000; margin: 0 6px; }
.mk-tp { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.mk-tp .fa-star { color: #00b67a; }

/* drawer (left) */
.drawer-toggle:checked ~ .drawer-side .mk-drawer-panel { box-shadow: 4px 0 20px rgba(0,0,0,.25); }
.mk-drawer-panel { width: 360px; max-width: 86vw; min-height: 100%; background: #fff; color: #333; box-shadow: none; overflow-y: auto; scrollbar-width: none; }
/* r31: closed drawer -100% of a fractional width (86vw) left a white hairline at x=0 on mobile — push it fully off-screen */
.drawer-toggle:not(:checked) ~ .drawer-side > .mk-drawer-panel { transform: translateX(calc(-100% - 8px)); }
.mk-drawer-panel::-webkit-scrollbar { display: none; }
.mk-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; background: #000; color: #fff; font-size: 18px; font-weight: 700; border-bottom: 3px solid #f8cf02; }
.mk-drawer-panel .menu { padding: 8px 10px; width: 100%; }
.mk-drawer-panel .menu summary, .mk-drawer-panel .menu a { font-size: 14px; font-weight: 600; }
.mk-drawer-panel .menu > li > details > summary { text-transform: uppercase; font-weight: 700; }
.mk-drawer-panel .menu a:hover, .mk-drawer-panel .menu summary:hover { background: #fff6cc; }
.mk-drawer-panel .mk-drawer-extra { padding: 12px 20px 24px; border-top: 1px solid #eee; display: flex; flex-wrap: wrap; gap: 8px; }
.drawer-side { z-index: 70; }
.drawer-toggle:checked ~ .drawer-side > .drawer-overlay { background-color: rgba(0,0,0,.5); }

/* ---------- home ---------- */
.mk-hero { position: relative; margin-top: 20px; }
.mk-hero .carousel { width: 100%; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,.45); overflow: hidden; }
.mk-hero .carousel-item { width: 100%; }
.mk-hero img { width: 100%; aspect-ratio: 1392 / 400; object-fit: cover; display: block; }
.mk-hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; }
.mk-hero-arrow.is-hidden { display: none; }

.mk-benefit { margin-top: 12px; background: #000; border-radius: 10px; height: 82px; overflow: hidden; display: flex; align-items: center; }
.mk-benefit-track { display: flex; gap: 90px; white-space: nowrap; animation: mk-marquee 28s linear infinite; padding-left: 40px; }
.mk-benefit-track a { display: inline-flex; align-items: center; gap: 14px; color: #fff; font-size: 17px; font-weight: 600; }
.mk-benefit-track img { width: 50px; height: 50px; object-fit: contain; }
.mk-benefit-track b { color: var(--mk-yellow); }
@keyframes mk-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.mk-intro h1 { color: var(--mk-accent); font-size: 26px; font-weight: 300; margin: 28px 0 12px; }
.mk-intro p { font-size: 16px; line-height: 1.65; color: #fff; }
.mk-usp { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 20px; }
.mk-usp .card { background: transparent; border: 1px solid var(--mk-border-dark); border-radius: 8px; padding: 14px 16px; text-align: center; }
.mk-usp h3 { color: var(--mk-accent); font-size: 16px; font-weight: 700; margin: 0 0 4px; }
.mk-usp p { color: #fff; font-size: 14px; line-height: 1.4; margin: 0; }

/* product carousel */
.mk-carousel { position: relative; }
.mk-viewport { overflow: hidden; padding: 6px 0 10px; margin: -6px 0 -10px; }
.mk-rail { display: flex; gap: 26px; transition: transform .35s ease; }
.mk-slide { flex: 0 0 calc((100% - 78px) / 4); min-width: 0; display: flex; }
.mk-arrow.btn { position: absolute; top: 42%; z-index: 5; width: 44px; height: 44px; min-height: 44px; background: var(--mk-accent); color: #000; border: 0; box-shadow: 0 2px 10px rgba(0,0,0,.35); }
.mk-arrow.btn:hover { background: #fff; }
.mk-arrow-prev { left: -14px; }
.mk-arrow-next { right: -14px; }

/* product card — single component everywhere */
.mk-pcard.card { background: #fff; color: #333; border: 1px solid var(--mk-border); border-radius: 10px; width: 100%; height: 100%; transition: transform .2s ease, box-shadow .2s ease; }
.mk-pcard.card:hover { transform: translateY(-5px); box-shadow: 0 8px 22px rgba(0,0,0,.18); }
.mk-pcard figure { position: relative; height: 190px; padding: 20px 70px 20px 20px; display: flex; align-items: center; justify-content: center; }
.mk-pcard figure > a { display: flex; align-items: center; justify-content: center; width: 100%; height: 150px; }
.mk-pcard figure img.mk-pimg { max-height: 150px; max-width: 100%; object-fit: contain; }
.mk-stickers { position: absolute; top: 20px; right: 16px; display: flex; flex-direction: column; gap: 6px; align-items: center; }
.mk-envio { width: 50px; height: 50px; background: var(--mk-yellow); color: #000; font-size: 11px; font-weight: 900; line-height: 1.1; display: grid; place-items: center; text-align: center; border-radius: 4px; text-transform: uppercase; }
.mk-sello { width: 50px; height: 50px; object-fit: contain; }
.mk-blogo { position: absolute; left: 16px; bottom: 6px; width: 70px; height: 24px; object-fit: contain; object-position: left center; }
.mk-energy { position: absolute; left: 14px; top: 14px; width: 42px; height: auto; }
.mk-pcard .card-body { padding: 6px 16px 16px; gap: 4px; text-align: center; align-items: center; }
.mk-ptitle { font-size: 15px; font-weight: 600; line-height: 1.3; min-height: 2.6em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mk-ptitle b { color: #000; }
.mk-ptitle span { color: var(--mk-muted-card); font-weight: 600; }
.mk-psub { font-size: 12px; color: var(--mk-muted-card); line-height: 1.3; min-height: 1.3em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.mk-stars { color: var(--mk-yellow); font-size: 12px; letter-spacing: 2px; }
.mk-stars .fa-regular { color: #d0d0d0; }
.mk-price { color: var(--mk-price); font-size: 36px; font-weight: 700; line-height: 1.1; white-space: nowrap; }
.mk-price small { font-size: 22px; font-weight: 400; }
.mk-pactions { display: flex; gap: 8px; width: 100%; margin-top: auto; padding-top: 8px; }
.mk-btn-cart.btn { flex: 1; background: var(--mk-product-btn); color: #1a1a1a; border: 0; font-weight: 700; font-size: 14px; height: 40px; min-height: 40px; white-space: nowrap; flex-wrap: nowrap; }
.mk-btn-cart.btn:hover { background: var(--mk-yellow); }
.mk-btn-wish.btn { width: 40px; height: 40px; min-height: 40px; background: #fff; border: 1px solid var(--mk-border); color: #333; }
.mk-btn-wish.btn.is-active, .mk-btn-wish.btn.is-active:hover { color: #e3262f; border-color: #e3262f; }
.mk-btn-wish.btn.is-active i::before { font-weight: 900; }

/* category tiles — square cards, not circles */
.mk-cattiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.mk-cattile { display: flex; flex-direction: column; border: 1px solid #ccc; border-radius: 8px; padding: 4px 4px 0; transition: background .2s; }
.mk-cattile figure { position: relative; background: #fff; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; }
.mk-cattile figure img.mk-catimg { width: 90%; height: 90%; object-fit: contain; }
.mk-cattile .mk-sello-big { position: absolute; top: 18%; right: 15%; width: 70px; height: 70px; object-fit: contain; }
.mk-cattile span { color: #fff; text-align: center; font-size: 14px; padding: 2px 0 4px; }
.mk-cattile:hover { background: var(--mk-yellow); }
.mk-cattile:hover span { color: #000; font-weight: 600; }
.mk-cta-pill.btn { background: var(--mk-accent); color: #000; border: 0; font-size: 16px; font-weight: 700; height: 46px; min-height: 46px; padding: 0 28px; }
.mk-cta-pill.btn:hover { background: #fff; }
.mk-cta-note { color: var(--mk-accent); font-size: 14px; margin-top: 6px; }

.mk-promo-banner img { width: 100%; height: auto; border-radius: 12px; display: block; box-shadow: 0 4px 12px rgba(0,0,0,.45); }

.mk-brands { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.mk-brand { background: #fff; border-radius: 8px; aspect-ratio: 264 / 197; display: grid; place-items: center; overflow: hidden; transition: transform .2s; }
.mk-brand img { width: 100%; height: 100%; object-fit: contain; } /* routine 26: logos pre-centered 528x394 */
.mk-brand:hover { transform: translateY(-4px); }

.mk-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mk-trust .card { border: 1px solid var(--mk-border-dark); border-radius: 12px; background: transparent; color: #fff; }
.mk-trust .card-body { flex-direction: row; align-items: center; gap: 24px; }
.mk-trust img { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; flex: 0 0 140px; }
.mk-trust h3 { color: var(--mk-accent); font-size: 22px; font-weight: 700; }

.mk-faq { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
.mk-faq .collapse { border: 1px solid #fff; border-radius: 6px; background: transparent; color: #fff; margin-bottom: 10px; }
.mk-faq .collapse-title { font-size: 16px; font-weight: 600; padding-right: 3rem; }
.mk-faq .collapse:has(input:checked) { background: var(--mk-accent); color: #000; border-color: var(--mk-accent); }
.mk-faq .collapse-content p { font-size: 14px; line-height: 1.6; }
.mk-faq-img { width: 100%; border-radius: 12px; display: block; }
body:not(.mk-dark) .mk-faq .collapse { border-color: #ddd; color: #333; }

.mk-linkcloud h3 { color: #fff; font-size: 15px; font-weight: 700; margin: 14px 0 8px; }
.mk-linkcloud .flex a { border: 1px solid var(--mk-border-dark); color: #fff; border-radius: 30px; padding: 5px 14px; font-size: 13px; }
.mk-linkcloud .flex a:hover { background: var(--mk-yellow); color: #000; border-color: var(--mk-yellow); }

.mk-seo { color: #ddd; font-size: 14px; line-height: 1.7; }
.mk-seo h2 { color: var(--mk-accent); font-size: 22px; font-weight: 300; margin: 22px 0 10px; }
.mk-seo p { margin: 0 0 12px; }

/* subscribe */
.mk-subscribe { background: #000; border-radius: 10px; padding: 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: #fff; }
.mk-subscribe h3 { color: var(--mk-accent); font-size: 20px; font-weight: 700; margin: 0; }
.mk-subscribe form { display: flex; flex: 0 1 520px; min-width: 0; max-width: 100%; }
.mk-subscribe .input { min-width: 0; }
.mk-subscribe .btn { flex: 0 0 auto; }
.mk-subscribe .join { width: 100%; display: flex; height: 46px; }
.mk-subscribe .input { flex: 1; height: 46px; min-height: 46px; border: 0; color: #333; border-radius: 30px 0 0 30px; }
.mk-subscribe .btn { height: 46px; min-height: 46px; border: 0; background: var(--mk-accent); color: #000; font-weight: 700; border-radius: 0 30px 30px 0; padding: 0 26px; }

/* ---------- footer ---------- */
.mk-footer { background: #000; color: var(--mk-muted); margin-top: 48px; padding: 44px 0 20px; }
.mk-footer .footer { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.mk-footer .footer-title { color: #fff; opacity: 1; font-size: 13px; font-weight: 700; text-transform: uppercase; }
.mk-footer nav a { color: var(--mk-muted); font-size: 14px; line-height: 1.9; }
.mk-footer nav a:hover { color: var(--mk-yellow); }
.mk-social { display: flex; gap: 10px; margin-top: 6px; }
.mk-social a.btn { width: 42px; height: 42px; min-height: 42px; background: #1e1e1e; color: #fff; border: 0; font-size: 16px; }
.mk-social a.btn:hover { background: var(--mk-yellow); color: #000; }
.mk-foot-mid { border-top: 1px solid #222; border-bottom: 1px solid #222; margin-top: 30px; padding: 20px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.mk-foot-mid img { width: 220px; height: auto; }
.mk-foot-contact { font-size: 13px; line-height: 1.7; text-align: right; }
.mk-foot-contact a { color: #fff; }
.mk-copy { text-align: center; font-size: 12px; padding-top: 16px; }

/* ---------- inner pages ---------- */
.mk-main { padding-bottom: 8px; }
.mk-crumbs.breadcrumbs { padding: 14px 0; font-size: 13px; color: #666; overflow: hidden; }
.mk-crumbs.breadcrumbs > ul { flex-wrap: nowrap; }
.mk-crumbs.breadcrumbs > ul > li { white-space: nowrap; }
.mk-crumbs.breadcrumbs > ul > li:last-child { min-width: 0; overflow: hidden; color: #000; font-weight: 600; }
.mk-crumbs.breadcrumbs > ul > li:last-child > span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mk-listing-drawer { width: 100%; }
.mk-listing-drawer > .drawer-content, .mk-listing > div, .mk-listing > aside { min-width: 0; }
.mk-crumbs.breadcrumbs::-webkit-scrollbar { display: none; }
.mk-crumbs a:hover { color: #000; }
body.mk-dark .mk-crumbs.breadcrumbs { color: #ccc; }
.mk-page-title { font-size: 28px; font-weight: 700; color: #1a1a1a; margin: 4px 0 14px; }
.mk-prose { font-size: 15px; line-height: 1.75; color: #333; max-width: 980px; overflow-wrap: anywhere; }
.mk-legal-table td, .mk-legal-table th { overflow-wrap: anywhere; }
.mk-prose h2 { font-size: 20px; font-weight: 700; color: #111; margin: 26px 0 10px; }
.mk-prose p { margin: 0 0 12px; }
.mk-prose ul { list-style: disc; padding-left: 22px; margin: 0 0 12px; }
.mk-legal-table { width: 100%; max-width: 760px; border-collapse: collapse; margin: 10px 0 24px; font-size: 14px; }
.mk-legal-table th, .mk-legal-table td { border: 1px solid #e3e3e3; padding: 10px 14px; text-align: left; vertical-align: top; }
.mk-legal-table th { background: #f6f6f6; width: 34%; }
.mk-infobox { background: #fff8d6; border-left: 4px solid var(--mk-yellow); border-radius: 8px; padding: 16px 18px; }
.mk-panel { border: 1px solid #e3e3e3; border-radius: 12px; background: #fff; }

/* category */
.mk-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 6px; }
.mk-chips a.btn { height: 34px; min-height: 34px; background: #fff; border: 1px solid #ccc; color: #333; font-weight: 600; font-size: 13px; }
.mk-chips a.btn:hover { background: var(--mk-yellow); border-color: var(--mk-yellow); }
.mk-subcats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 16px 0 6px; }
.mk-subcat.card { background: #fff; border: 1px solid #d6d6d6; border-radius: 6px; min-height: 58px; box-shadow: none; transition: border-color .15s, box-shadow .15s; }
.mk-subcat .card-body { padding: 10px 12px; align-items: center; justify-content: center; text-align: center; font-size: 14px; color: #333; line-height: 1.25; }
.mk-subcat.card:hover { border-color: var(--mk-yellow); box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.mk-listing-main { min-width: 0; }
.mk-listing-main > .mk-cat-banner { margin-bottom: 16px; }
@media (max-width: 1023px) { .mk-subcats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .mk-subcats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .mk-subcat .card-body { font-size: 13px; } }
.mk-listing { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: 28px; align-items: start; margin-top: 18px; }
.mk-filters .collapse { border-bottom: 1px solid #e3e3e3; border-radius: 0; }
.mk-filters .collapse-title { font-size: 13px; font-weight: 800; text-transform: uppercase; padding-left: 0; min-height: 44px; }
.mk-filters .collapse-content { padding-left: 0; }
.mk-filters label { display: flex; align-items: center; gap: 8px; padding: 3px 0; font-size: 13px; cursor: pointer; }
.mk-filters label em { margin-left: auto; color: #999; font-style: normal; font-size: 12px; }
.mk-filters .mk-price-range { display: flex; gap: 8px; }
.mk-filters .mk-price-range .input { height: 36px; min-height: 36px; width: 100%; border-color: #ccc; }
.mk-filter-btn.btn { display: none; }
.mk-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid #eee; margin-bottom: 18px; }
.mk-toolbar .mk-sorts { display: flex; gap: 10px; align-items: center; flex-wrap: nowrap; }
.mk-toolbar .select { height: 38px; min-height: 38px; border-color: #ccc; font-size: 13px; }
.mk-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.mk-pager.join { margin: 28px auto 0; display: flex; justify-content: center; }
.mk-pager .btn { min-width: 42px; background: #fff; border-color: #ddd; }
.mk-pager .btn.btn-active { background: var(--mk-yellow); border-color: var(--mk-yellow); color: #000; }
.mk-cat-banner img { width: 100%; height: auto; border-radius: 10px; display: block; }
.mk-sidebar-box { background: #2e2e2e; color: #fff; border-radius: 10px; padding: 16px; margin-bottom: 16px; }
.mk-sidebar-box h4 { color: var(--mk-yellow); font-weight: 700; margin: 0 0 6px; font-size: 15px; }
.mk-sidebar-box img { width: 100%; border-radius: 8px; margin-top: 10px; }
.mk-empty { text-align: center; padding: 48px 16px; border: 1px dashed #ccc; border-radius: 12px; }
.mk-empty i { font-size: 44px; color: var(--mk-yellow); }
.mk-empty h2 { font-size: 22px; font-weight: 700; margin: 12px 0 6px; color: #1a1a1a; }

/* product page */
.mk-pdp { display: grid; grid-template-columns: minmax(0, 1.42fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.mk-gallery-main { position: relative; border: 1px solid #eee; border-radius: 12px; background: #fff; aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; cursor: zoom-in; }
.mk-gallery-main img { max-width: 92%; max-height: 92%; object-fit: contain; }
.mk-gallery-main .mk-stickers { left: 16px; right: auto; }
.mk-gallery-main .mk-arrow.btn { top: 50%; transform: translateY(-50%); }
.mk-gallery-main .mk-arrow-prev { left: 12px; }
.mk-gallery-main .mk-arrow-next { right: 12px; }
.mk-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow: hidden; }
.mk-thumbs button { width: 86px; height: 86px; border: 2px solid #eee; border-radius: 8px; background: #fff; padding: 6px; flex: 0 0 86px; }
.mk-thumbs button.is-active { border-color: #ff8a00; }
.mk-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.mk-pinfo h1 { font-size: 22px; font-weight: 700; color: #111; margin: 10px 0 8px; line-height: 1.3; }
.mk-pinfo .mk-blogo-lg { height: 30px; width: auto; }
.mk-stock-ok { color: #1a8f3c; font-weight: 800; font-size: 13px; }
.mk-sku { color: #888; font-size: 13px; }
.mk-pinfo .mk-price { font-size: 36px; color: #111; }
.mk-iva { color: #777; font-size: 13px; }
.mk-fin { background: #f6f8fb; border: 1px solid #e2e8f0; border-radius: 10px; padding: 12px 14px; font-size: 13px; line-height: 1.5; margin: 14px 0; }
.mk-buyrow { display: flex; gap: 10px; align-items: center; flex-wrap: nowrap; }
.mk-qty.join { border: 1px solid #ccc; border-radius: 30px; overflow: hidden; height: 54px; flex: 0 0 auto; }
.mk-qty .btn { height: 52px; min-height: 52px; background: #fff; border: 0; width: 40px; padding: 0; border-radius: 0; }
.mk-qty input { width: 44px; text-align: center; border: 0; font-weight: 700; font-size: 16px; background: #fff; }
.mk-buyrow .mk-btn-cart.btn { height: 54px; min-height: 54px; font-size: 16px; border-radius: 50px; }
.mk-buyrow .mk-btn-wish.btn { width: 54px; height: 54px; min-height: 54px; }
.mk-lowstock { margin-top: 12px; font-size: 13px; color: #c62828; font-weight: 700; }
.mk-lowstock progress { width: 100%; height: 6px; }
.mk-delivery { margin-top: 16px; border: 1px solid #e3e3e3; border-radius: 10px; padding: 14px; }
.mk-delivery h3 { font-weight: 800; font-size: 15px; margin-bottom: 4px; }
.mk-delivery .join { display: flex; margin-top: 10px; height: 42px; }
.mk-delivery .input { flex: 1; height: 42px; min-height: 42px; border-color: #ccc; }
.mk-delivery .btn { height: 42px; min-height: 42px; background: #000; color: #fff; border-color: #000; font-weight: 700; }
.mk-ptabs.tabs { margin-top: 36px; }
.mk-ptabs .tab { font-weight: 700; font-size: 15px; white-space: nowrap; }
.mk-ptabs .tab:checked, .mk-ptabs .tab.tab-active { border-color: var(--mk-yellow) !important; color: #000; }
.mk-ptabs .tab-content { padding-top: 20px; }
.mk-specs { width: 100%; border-collapse: collapse; font-size: 14px; }
.mk-specs th, .mk-specs td { padding: 9px 12px; border-bottom: 1px solid #eee; text-align: left; vertical-align: top; }
.mk-specs th { width: 36%; background: #fafafa; font-weight: 600; }
.mk-rate { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.mk-rate input { display: none; }
.mk-rate label { font-size: 22px; color: #ccc; cursor: pointer; }
.mk-rate input:checked ~ label, .mk-rate label:hover, .mk-rate label:hover ~ label { color: var(--mk-yellow); }
.mk-lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.9); z-index: 90; display: none; align-items: center; justify-content: center; }
.mk-lightbox.is-open { display: flex; }
.mk-lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; background: #fff; border-radius: 8px; }
.mk-lightbox .btn { position: absolute; }

/* cart / checkout */
.mk-cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.mk-cart-item { display: grid; grid-template-columns: 110px 1fr auto auto auto; gap: 18px; align-items: center; padding: 14px 0; }
.mk-cart-item img { width: 110px; height: 110px; object-fit: contain; background: #fff; border: 1px solid #eee; border-radius: 10px; }
.mk-cart-item .mk-qty.join { height: 42px; }
.mk-cart-item .mk-qty .btn { height: 40px; min-height: 40px; }
.mk-del.btn { color: #999; background: transparent; border: 0; }
.mk-del.btn:hover { color: #c62828; background: transparent; }
.mk-summary { position: sticky; top: 170px; }
.mk-summary .card-body > div { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.mk-summary .mk-total { font-size: 20px; font-weight: 800; color: #111; border-top: 1px solid #eee; padding-top: 10px; }
.mk-btn-dark.btn { background: #000; color: #fff; border-color: #000; }
.mk-btn-dark.btn:hover { background: #222; }
.mk-btn-yellow.btn { background: var(--mk-yellow); color: #000; border: 0; font-weight: 700; }
.mk-btn-yellow.btn:hover { background: var(--mk-accent); }
.mk-form .input, .mk-form .select, .mk-form .textarea { width: 100%; border-color: #ccc; border-radius: 8px; }
.mk-form label.mk-lbl { display: block; font-size: 13px; font-weight: 600; margin: 10px 0 4px; }
.mk-form .mk-req { color: #c62828; }
.mk-consent { display: flex; align-items: center; gap: 10px; font-size: 13px; margin-top: 14px; }
.mk-co-item { display: flex; gap: 12px; align-items: center; padding: 8px 0; }
.mk-co-item img { width: 60px; height: 60px; object-fit: contain; border: 1px solid #eee; border-radius: 8px; background: #fff; }
.mk-auth { max-width: 520px; margin: 10px auto 0; }
.mk-account-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mk-account-grid a.card { border: 1px solid #e3e3e3; }
.mk-account-grid a.card:hover { border-color: var(--mk-yellow); }
.mk-account-grid i { font-size: 26px; color: #000; background: var(--mk-yellow); width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; }

/* cookie banner + toast */
.mk-cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; max-width: 980px; margin: 0 auto; background: #000; color: #fff; border-top: 3px solid var(--mk-yellow); border-radius: 12px; padding: 18px 20px; box-shadow: 0 10px 30px rgba(0,0,0,.4); display: none; gap: 16px; align-items: center; }
.mk-cookie.is-open { display: flex; }
.mk-cookie p { font-size: 13px; line-height: 1.5; margin: 0; flex: 1; }
.mk-cookie p a { color: var(--mk-yellow); }
.mk-cookie .btn { height: 38px; min-height: 38px; }
.mk-cookie .mk-c-deny.btn, .mk-cookie .mk-c-sel.btn { background: transparent; color: #fff; border-color: #555; }
.mk-toast.toast { z-index: 95; padding: 16px; }
.mk-toast .alert { background: #000; color: #fff; border: 0; border-left: 4px solid var(--mk-yellow); border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.35); min-width: 300px; max-width: 380px; display: flex; gap: 12px; align-items: flex-start; text-align: left; opacity: 1; }
.mk-toast .alert span { flex: 1; font-size: 14px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mk-toast .alert i.fa-circle-check { color: var(--mk-yellow); font-size: 18px; margin-top: 1px; }
.mk-toast .alert button { color: #fff; background: transparent; border: 0; cursor: pointer; font-size: 16px; }

/* ---------- responsive ---------- */
@media (max-width: 1279px) {
  .mk-cp { display: none; }
  .mk-logo img { width: 220px; }
  .mk-cattiles { grid-template-columns: repeat(4, 1fr); }
  .mk-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  .mk-topbar.navbar { min-height: 56px; padding: 8px 12px; gap: 10px; }
  .mk-topbar .mk-search { display: none; }
  .mk-logo { align-items: flex-start; flex: 1 1 auto; }
  .mk-logo img { width: 170px; }
  .mk-slogan { display: none; }
  .mk-act span.mk-lbl, .mk-act-order { display: none !important; }
  .mk-actions { gap: 16px; }
  .mk-nav { display: none; }
  .mk-mob-search { display: block; background: var(--mk-graphite); padding: 0 12px 8px; }
  .mk-mob-search .mk-search { max-width: none; }
  .mk-mob-slogan { display: block; color: #fff; background: #2e2e2e; font-size: 11px; text-align: center; padding: 0 12px 6px; }
  .mk-geo { display: flex; align-items: center; justify-content: space-between; background: var(--mk-graphite); color: #fff; border-top: 1px solid #444; padding: 8px 12px; font-size: 13px; font-weight: 600; }
  .mk-geo i.fa-truck { color: #ffc91d; margin-right: 8px; }
  .mk-promo { gap: 6px 16px; font-size: 12px; padding: 6px 12px; }
  .mk-container, .mk-container-narrow { padding: 0 24px; }
  .mk-usp { grid-template-columns: 1fr 1fr; }
  .mk-usp .card:last-child { grid-column: span 2; }
  .mk-slide { flex-basis: calc((100% - 12px) / 2); }
  .mk-rail { gap: 12px; }
  .mk-arrow-prev { left: -16px; }
  .mk-arrow-next { right: -16px; }
  .mk-arrow.btn { width: 36px; height: 36px; min-height: 36px; }
  .mk-cattiles { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .mk-cattile .mk-sello-big { width: 40px; height: 40px; }
  .mk-cattile span { font-size: 12px; }
  .mk-brands { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .mk-trust, .mk-faq { grid-template-columns: 1fr; }
  .mk-trust .card-body { flex-direction: column; text-align: center; }
  .mk-footer .footer { grid-template-columns: 1fr 1fr; }
  .mk-foot-contact { text-align: left; }
  .mk-listing { grid-template-columns: 1fr; }
  .mk-filters-wrap { display: none; }
  .mk-filter-btn.btn { display: inline-flex; }
  .mk-toolbar { flex-wrap: wrap; }
  .mk-toolbar .mk-count-label { width: 100%; }
  .mk-toolbar .mk-sorts { width: 100%; }
  .mk-toolbar .mk-sorts .select { flex: 1; min-width: 0; }
  .mk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .mk-pdp, .mk-cart-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .mk-pdp > * { min-width: 0; }
  .mk-buyrow .mk-btn-cart.btn { min-width: 0; flex: 1 1 auto; }
  .mk-summary { position: static; }
  .mk-cart-item { grid-template-columns: 80px 1fr auto; gap: 10px; }
  .mk-cart-item img { width: 80px; height: 80px; }
  .mk-cart-item .mk-line-total { grid-column: 2; }
  .mk-account-grid { grid-template-columns: 1fr; }
  .mk-cookie { flex-direction: column; align-items: stretch; }
  .mk-toast.toast { left: 50%; right: auto; transform: translateX(-50%); }
}
@media (max-width: 640px) {
  .mk-pcard figure { height: 150px; padding: 12px 44px 12px 10px; }
  .mk-pcard figure > a { height: 110px; }
  .mk-pcard figure img.mk-pimg { max-height: 110px; }
  .mk-envio, .mk-sello { width: 36px; height: 36px; font-size: 8px; }
  .mk-stickers { top: 10px; right: 8px; }
  .mk-blogo { width: 50px; left: 8px; }
  .mk-pcard .card-body { padding: 4px 8px 10px; }
  .mk-ptitle { font-size: 13px; }
  .mk-price { font-size: 24px; }
  .mk-price small { font-size: 15px; }
  .mk-btn-cart .mk-btn-txt { display: none; }
  .mk-pcard .mk-btn-cart.btn, .mk-pcard .mk-btn-wish.btn { height: 36px; min-height: 36px; }
  .mk-pcard .mk-btn-wish.btn { width: 36px; }
  .mk-buyrow .mk-btn-cart .mk-btn-txt { display: inline; }
  .mk-buyrow { gap: 6px; }
  .mk-buyrow .mk-btn-cart.btn { font-size: 14px; padding: 0 12px; }
  .mk-qty .btn { width: 32px; }
  .mk-qty input { width: 32px; }
  .mk-hero img { aspect-ratio: 342 / 192; }
  .mk-benefit { height: 64px; }
  .mk-benefit-track a { font-size: 14px; }
  .mk-benefit-track img { width: 36px; height: 36px; }
  .mk-h2 { font-size: 21px; }
  .mk-subscribe form { flex: 1 1 100%; }
  .mk-thumbs button { width: 64px; height: 64px; flex-basis: 64px; }
  .mk-ptabs .tab { font-size: 13px; padding: 0 8px; }
}

.mk-container .mk-container { padding: 0; }

/* === section-17-footer (live electrojc.es 1:1) === */
.mk-footer { margin-top: 48px; padding: 49px 0 40px; }
.mk-footer > .mk-container-narrow { max-width: 1288px; }
.mk-footer .footer { grid-template-columns: 276fr 393fr 276fr 295fr; gap: 0; align-items: start; }
.mk-footer .footer > nav { gap: 0; width: 100%; }
.mk-footer .footer-title { font-size: 13px; line-height: 20px; margin: 0 0 15px; letter-spacing: .01em; }
.mk-footer nav a { font-size: 13px; line-height: 20px; padding: 5.75px 0; color: #b0b0b0; }
.mk-footer nav .footer-title.mt-4 { margin: 0; padding-top: 6px; }
.mk-footer .mk-social { align-self: stretch; justify-content: flex-end; gap: 14px; margin-top: 51px; }
.mk-footer .mk-social a.btn { width: 42px; height: 42px; min-height: 42px; padding: 0; background: #141414; font-size: 20px; }
.mk-footer .mk-foot-mid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; margin-top: 50px; padding: 130px 0 107px; border-top: 1px solid #2a2a2a; border-bottom: 1px solid #2a2a2a; }
.mk-footer .mk-foot-logo { padding-left: 111px; }
.mk-footer .mk-foot-logo img { width: 284px; height: auto; display: block; }
.mk-footer .mk-foot-trust { display: flex; align-items: center; justify-content: flex-end; gap: 40px; padding-right: 112px; }
.mk-footer .mk-foot-trust img { display: block; height: auto; }
.mk-footer .mk-copy { font-size: 13px; line-height: 20px; color: #b0b0b0; padding-top: 20px; margin: 0; }
.mk-footer .mk-foot-contact { text-align: center; font-size: 12px; line-height: 18px; color: #8a8a8a; margin: 6px 0 0; }
.mk-footer .mk-foot-contact a { color: #b0b0b0; }
.mk-footer .footer > nav .mk-social { width: 100%; justify-self: stretch; }
.mk-footer .mk-foot-mid .mk-foot-trust img { width: auto; max-width: 100%; }@media (max-width: 1023px) {
  .mk-footer .footer { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .mk-footer .mk-social { justify-content: flex-start; margin-top: 14px; }
  .mk-footer .mk-foot-mid { grid-template-columns: 1fr; justify-items: center; gap: 28px; padding: 40px 0; }
  .mk-footer .mk-foot-logo, .mk-footer .mk-foot-trust { padding: 0; }
  .mk-footer .mk-foot-contact { text-align: center; }
}
@media (max-width: 640px) {
  .mk-footer { padding: 36px 0 28px; }
  .mk-footer .footer { column-gap: 16px; }
  .mk-footer .mk-foot-logo img { width: 240px; }
  .mk-footer .mk-foot-trust { gap: 20px; flex-wrap: wrap; justify-content: center; }
  .mk-footer .mk-foot-trust img:last-child { width: 236px; max-width: 100%; }
}
/* routine 73: iPhone — no double-tap zoom on arrows/buttons/cards (pinch zoom stays), no auto-zoom on input focus (iOS zooms fields < 16px) */
html, body, * { touch-action: manipulation; }
@media (hover: none) and (pointer: coarse) {
  input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]), select, textarea { font-size: 16px !important; }
}
/* routine 77: listing - first filter block (Precio) same height as toolbar (38 + 14 + 1 + 18 = 71px), price inputs start level with the first card row */
@media (min-width: 1024px) { .mk-filters > .collapse:first-of-type > .collapse-title { min-height: 71px; box-sizing: border-box; } }
