/* =========================================================
   KART RACEWEAR — Header / Footer  (v2, Elementor-proof)
   ========================================================= */

:root {
  --kr-red:      #e8000d;
  --kr-red-dark: #b80009;
  --kr-black:    #000000;
  --kr-panel:    #0a0a0a;
  --kr-white:    #ffffff;
  --kr-muted:    #8a8a8a;
  --kr-soft:     #e4e4e4;
  --kr-line:     rgba(255,255,255,.12);
  --kr-wa:       #25d366;
  --kr-wrap:     1280px;
  --kr-head-h:   96px;
  --kr-head-sm:  68px;
  --kr-font:     'Poppins', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --kr-font-alt: 'Oswald', var(--kr-font);
  --kr-ease:     cubic-bezier(.4,0,.2,1);
  --kr-z-header: 900;
  --kr-z-overlay:1000;
  --kr-z-nav:    1100;
  --kr-z-search: 2147483000;
}

/* ---------- BASE ---------- */
.kr-wrap {
  width: 100%;
  max-width: var(--kr-wrap);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
  box-sizing: border-box;
}
.kr-header *, .kr-footer *, .kr-search *, .kr-nav * { box-sizing: border-box; min-width: 0; }
.kr-header img, .kr-footer img { max-width: 100%; }

.kr-sr {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}
.kr-skip { position: absolute; left: -9999px; }
.kr-skip:focus {
  left: 16px; top: 16px; z-index: 2147483001;
  background: #fff; color: #000; padding: 10px 18px; border-radius: 6px;
  font-family: var(--kr-font); font-weight: 600;
}

/* =========================================================
   HEADER
   ========================================================= */
.kr-header {
  position: sticky;
  top: 0;
  z-index: var(--kr-z-header);
  background: var(--kr-black);
  font-family: var(--kr-font);
  isolation: isolate;
  transition: box-shadow .25s var(--kr-ease);
}
body.kr-scrolled .kr-header { box-shadow: 0 6px 22px rgba(0,0,0,.5); }
body.admin-bar .kr-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .kr-header { top: 46px; } }

/* ---------- ANNOUNCEMENT ---------- */
.kr-announce {
  background: var(--kr-red);
  color: #fff;
  overflow: hidden;
  max-height: 90px;
  opacity: 1;
  transition: max-height .32s var(--kr-ease), opacity .2s var(--kr-ease);
}
.kr-announce p {
  margin: 0;
  padding: 9px 0;
  text-align: center;
  font-family: var(--kr-font-alt);
  font-size: clamp(13px, 1.35vw, 19px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .01em;
}

/* ---------- TOP BAR ---------- */
.kr-topbar {
  background: var(--kr-black);
  border-bottom: 1px solid var(--kr-line);
  overflow: hidden;
  max-height: 60px;
  opacity: 1;
  transition: max-height .32s var(--kr-ease), opacity .2s var(--kr-ease), border-color .2s;
}
.kr-topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 40px;
}
.kr-topbar__help, .kr-topbar__link {
  font-family: var(--kr-font-alt);
  font-size: 14px; font-weight: 600; letter-spacing: .03em;
  color: #fff; text-decoration: none;
}
.kr-topbar__link { text-transform: uppercase; }
.kr-topbar__help a { color: #fff; text-decoration: none; }
.kr-topbar__help a:hover, .kr-topbar__link:hover { color: var(--kr-red); }

/* scroll pe collapse — sirf black bar rahe */
body.kr-scrolled .kr-announce,
body.kr-scrolled .kr-topbar {
  max-height: 0;
  opacity: 0;
  border-bottom-color: transparent;
  pointer-events: none;
}

/* ---------- MAIN BAR ---------- */
.kr-bar__inner {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: 24px;
  min-height: var(--kr-head-h);
  overflow: visible;
  transition: min-height .28s var(--kr-ease);
}
body.kr-scrolled .kr-bar__inner { min-height: var(--kr-head-sm); }

.kr-logo { display: block; line-height: 0; }
.kr-logo img {
  width: auto; height: 78px; object-fit: contain;
  transition: height .28s var(--kr-ease);
  height: 120px;
}
body.kr-scrolled .kr-logo img { height: 46px; }

/* =========================================================
   NAVIGATION
   ========================================================= */
.kr-nav { justify-self: center; z-index: var(--kr-z-nav); }
.kr-nav__close { display: none; }

.kr-menu {
  display: flex; align-items: center; gap: 4px;
  margin: 0; padding: 0; list-style: none;
}
.kr-menu > li { position: relative; }

.kr-menu > li > a {
  position: relative;
  display: block;
  padding: 12px 16px;
  font-family: var(--kr-font-alt);
  font-size: 19px; font-weight: 700; letter-spacing: .02em;
  color: #fff; text-decoration: none; white-space: nowrap;
  transition: color .18s var(--kr-ease);
}
.kr-menu > li > a:hover,
.kr-menu > li.current-menu-item > a,
.kr-menu > li.current-menu-ancestor > a,
.kr-menu > li.current_page_item > a { color: var(--kr-red); }

/* desktop caret */
.kr-menu > li.menu-item-has-children > a { padding-right: 32px; }
.kr-menu > li.menu-item-has-children > a::after {
  content: "";
  position: absolute; right: 13px; top: 50%;
  width: 8px; height: 8px; margin-top: -6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .2s var(--kr-ease), margin-top .2s var(--kr-ease);
}
.kr-menu > li.menu-item-has-children:hover > a::after { transform: rotate(225deg); margin-top: -2px; }
.kr-menu > li > .kr-menu-toggle { display: none; }

/* ---------- SUBMENUS ---------- */
.kr-submenu {
  position: absolute; top: 100%; left: 0; z-index: 30;
  min-width: 260px;
  margin: 0; padding: 0; list-style: none;
  background: #fff;
  box-shadow: 0 18px 42px rgba(0,0,0,.35);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s var(--kr-ease), transform .18s var(--kr-ease), visibility .18s;
}
.kr-menu li:hover > .kr-submenu,
.kr-menu li:focus-within > .kr-submenu { opacity: 1; visibility: visible; transform: translateY(0); }

.kr-submenu li { position: relative; border-bottom: 1px solid rgba(0,0,0,.07); }
.kr-submenu li:last-child { border-bottom: 0; }
.kr-submenu a {
  display: block;
  padding: 14px 42px 14px 20px;
  font-family: var(--kr-font-alt);
  font-size: 16px; font-weight: 600;
  color: #111; text-decoration: none;
  transition: background .16s var(--kr-ease), color .16s var(--kr-ease);
}
.kr-submenu li:hover > a,
.kr-submenu li.current-menu-item > a { background: var(--kr-red); color: #fff; }

.kr-submenu .kr-submenu { top: 0; left: 100%; }
.kr-submenu li.menu-item-has-children > a::after {
  content: "";
  position: absolute; right: 17px; top: 50%;
  width: 7px; height: 7px; margin-top: -4px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}
.kr-submenu .kr-menu-toggle { display: none; }

/* screen edge pe flip */
.kr-submenu.kr-flip { left: auto; right: 0; }
.kr-submenu .kr-submenu.kr-flip { left: auto; right: 100%; }

/* =========================================================
   ACTIONS
   ========================================================= */
.kr-actions {
  display: flex; align-items: center;
  gap: 16px;
  justify-self: end;
  overflow: visible;
}

.kr-icon-btn {
  flex: 0 0 auto;
  display: grid; place-items: center;
  width: 40px; height: 40px; padding: 0; margin: 0;
  border: 0; border-radius: 50%;
  background: transparent; color: #fff; cursor: pointer;
  transition: background .18s var(--kr-ease), color .18s var(--kr-ease);
}
.kr-icon-btn:hover { background: rgba(255,255,255,.12); color: var(--kr-red); }
.kr-icon-btn:focus-visible { outline: 2px solid var(--kr-red); outline-offset: 2px; }
.kr-icon-btn svg { display: block; width: 21px; height: 21px; }

.kr-cart {
  position: relative;
  display: flex; align-items: center; gap: 10px;
  color: #fff; text-decoration: none;
  transition: color .18s var(--kr-ease);
}
.kr-cart:hover { color: var(--kr-red); }
.kr-cart__meta { display: flex; align-items: center; gap: 10px; }
.kr-cart__total { font-size: 18px; font-weight: 600; white-space: nowrap; }
.kr-cart__icon { width: 26px; height: 26px; flex: none; }
.kr-cart__count {
  position: absolute; top: -8px; right: -9px;
  display: grid; place-items: center;
  min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 999px;
  background: var(--kr-red); color: #fff;
  font-size: 11px; font-weight: 700; line-height: 1;
}

.kr-burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0 10px;
  border: 0; background: transparent; cursor: pointer;
}
.kr-burger span {
  display: block; height: 2px; background: #fff; border-radius: 2px;
  transition: transform .25s var(--kr-ease), opacity .2s;
}
.kr-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.kr-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.kr-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   SEARCH OVERLAY  — hidden fix + top z-index
   ========================================================= */
.kr-search {
  position: fixed; inset: 0;
  z-index: var(--kr-z-search);
  display: grid; place-items: center;
  padding: 24px;
  background: rgba(0,0,0,.94);
  opacity: 0;
  isolation: isolate;
  transition: opacity .22s var(--kr-ease);
}
/* [hidden] ko display:grid override kar raha tha — ye us bug ka fix hai */
.kr-search[hidden] { display: none !important; pointer-events: none; }
.kr-search.is-open { opacity: 1; }

.kr-search__close {
  position: absolute; top: 20px; right: 24px;
  width: 48px; height: 48px;
  border: 0; border-radius: 50%;
  background: rgba(255,255,255,.1); color: #fff;
  font-size: 30px; line-height: 1; cursor: pointer;
}
.kr-search__close:hover { background: var(--kr-red); }

.kr-search__form { display: flex; gap: 10px; width: min(680px, 100%); flex-wrap: wrap; }
.kr-search__form input[type="search"] {
  flex: 1 1 240px; min-height: 58px; padding: 0 20px;
  border: 2px solid rgba(255,255,255,.25); border-radius: 8px;
  background: transparent; color: #fff; font-size: 17px; font-family: var(--kr-font);
}
.kr-search__form input[type="search"]::placeholder { color: rgba(255,255,255,.45); }
.kr-search__form input[type="search"]:focus { outline: none; border-color: var(--kr-red); }
.kr-search__form button {
  flex: 0 0 auto; min-height: 58px; padding: 0 30px;
  border: 0; border-radius: 8px;
  background: var(--kr-red); color: #fff;
  font-family: var(--kr-font);
  font-size: 16px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  cursor: pointer;
}
.kr-search__form button:hover { background: var(--kr-red-dark); }

/* search khula ho to floating widgets chhup jayen */
body.kr-search-open .kr-whatsapp,
body.kr-search-open [class*="wa__floating"],
body.kr-search-open [class*="whatsapp-button"],
body.kr-search-open [id*="whatsapp"],
body.kr-search-open .elementor-location-popup { display: none !important; }

/* ---------- DIM OVERLAY ---------- */
.kr-overlay {
  position: fixed; inset: 0;
  z-index: 99;
  background: rgba(0,0,0,.6);
  opacity: 0;
  transition: opacity .25s var(--kr-ease);
}
.kr-overlay[hidden] { display: none !important; }
.kr-overlay.is-open { opacity: 1; }
body.kr-locked { overflow: hidden; }

/* =========================================================
   FOOTER
   ========================================================= */
.kr-footer { background: var(--kr-black); color: var(--kr-white); font-family: var(--kr-font); }
.kr-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.6fr;
  gap: clamp(24px, 4vw, 56px);
  padding-block: clamp(40px, 6vw, 72px);
}
.kr-footer__brand img { height: 150px; width: auto; object-fit: contain; margin-bottom: 20px; }
.kr-footer__brand p { margin: 0; font-size: 15.5px; line-height: 1.75; color: var(--kr-soft); max-width: 34ch; }

.kr-footer__col h3 {
  margin: 0 0 18px;
  font-family: var(--kr-font-alt);
  font-size: 24px; font-weight: 600; color: #fff;
}
.kr-footer__menu { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.kr-footer__menu li { margin: 0; }
.kr-footer__menu a {
  position: relative; display: inline-block; padding-left: 20px;
  font-size: 15.5px; color: var(--kr-soft); text-decoration: none;
  transition: color .18s var(--kr-ease), transform .18s var(--kr-ease);
}
.kr-footer__menu a::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 0; height: 0; margin-top: -5px;
  border-left: 7px solid var(--kr-red);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}
.kr-footer__menu a:hover { color: var(--kr-red); transform: translateX(3px); }

.kr-footer__contact ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 20px; }
.kr-footer__contact li { display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: start; }
.kr-footer__contact svg { width: 26px; height: 26px; color: var(--kr-red); margin-top: 2px; }
.kr-footer__contact span,
.kr-footer__contact a { font-size: 15.5px; line-height: 1.6; color: var(--kr-soft); text-decoration: none; }
.kr-footer__contact a:hover { color: var(--kr-red); }

.kr-footer__bottom { border-top: 1px solid var(--kr-line); }
.kr-footer__bottom-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; padding-block: 20px;
}
.kr-copy { margin: 0; font-size: 15px; color: var(--kr-muted); }
.kr-pay { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.kr-pay img { height: 38px; width: auto; border-radius: 5px; }

/* ---------- WHATSAPP ---------- */
.kr-whatsapp {
  position: fixed; right: 20px; bottom: 20px; z-index: 950;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px 12px 18px;
  border-radius: 999px;
  background: var(--kr-wa); color: #fff;
  font-family: var(--kr-font); font-size: 17px; font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37,211,102,.35);
  transition: transform .18s var(--kr-ease), box-shadow .18s var(--kr-ease);
}
.kr-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(37,211,102,.45); color: #fff; }
.kr-whatsapp svg { width: 26px; height: 26px; flex: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) {
  .kr-menu > li > a { font-size: 17px; padding: 12px 12px; }
  .kr-menu > li.menu-item-has-children > a { padding-right: 28px; }
  .kr-logo img { height: 66px; }
  .kr-cart__total { font-size: 16px; }
}

@media (max-width: 1024px) {
  .kr-footer__grid { grid-template-columns: 1fr 1fr; }
  .kr-footer__brand { grid-column: 1 / -1; }
}

/* ---------- MOBILE NAV ---------- */
@media (max-width: 991px) {
  :root { --kr-head-h: 76px; --kr-head-sm: 58px; }

  .kr-burger { display: flex; }
  .kr-bar__inner { grid-template-columns: auto 1fr; }
  .kr-logo img { height: 54px; }
  body.kr-scrolled .kr-logo img { height: 40px; }

  .kr-nav {
    position: fixed; top: 0; right: 0;
    z-index: var(--kr-z-nav);
    width: min(340px, 88vw);
    height: 100dvh;
    padding: 74px 0 40px;
    background: var(--kr-panel);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    transform: translateX(100%);
    transition: transform .3s var(--kr-ease);
    box-shadow: -10px 0 40px rgba(0,0,0,.5);
    justify-self: auto;
  }
  .kr-nav.is-open { transform: translateX(0); }

  .kr-nav__close {
    display: block;
    position: absolute; top: 16px; right: 16px;
    width: 44px; height: 44px;
    border: 0; border-radius: 50%;
    background: rgba(255,255,255,.1); color: #fff;
    font-size: 28px; line-height: 1; cursor: pointer;
  }

  .kr-menu { display: block; }
  .kr-menu > li { border-bottom: 1px solid var(--kr-line); }
  .kr-menu > li > a,
  .kr-submenu a { padding: 15px 58px 15px 24px; font-size: 17px; }
  .kr-menu > li.menu-item-has-children > a::after,
  .kr-submenu li.menu-item-has-children > a::after { display: none; }

  /* accordion toggle */
  .kr-menu > li > .kr-menu-toggle,
  .kr-submenu .kr-menu-toggle {
    display: grid; place-items: center;
    position: absolute; right: 10px; top: 6px;
    width: 42px; height: 42px; padding: 0;
    border: 0; border-radius: 8px;
    background: rgba(255,255,255,.07); color: #fff; cursor: pointer;
    transition: transform .22s var(--kr-ease), background .18s;
  }
  .kr-menu-toggle svg { display: block; width: 13px; height: 9px; }
  .kr-menu-toggle[aria-expanded="true"] { transform: rotate(180deg); background: var(--kr-red); }
  .kr-submenu .kr-menu-toggle { top: 4px; height: 40px; }

  /* submenu accordion — grid-rows animation */
  .kr-submenu,
  .kr-submenu .kr-submenu {
    position: static;
    left: auto; right: auto; top: auto;
    min-width: 0; width: 100%;
    background: rgba(255,255,255,.05);
    box-shadow: none;
    opacity: 1; visibility: visible; transform: none;
    display: grid; grid-template-rows: 0fr;
    transition: grid-template-rows .28s var(--kr-ease);
  }
  .kr-submenu > * { min-height: 0; }
  .kr-submenu-inner { overflow: hidden; }
  .kr-submenu.is-open { grid-template-rows: 1fr; }
  .kr-menu li:hover > .kr-submenu,
  .kr-menu li:focus-within > .kr-submenu { transform: none; }
  .kr-submenu a { color: #ddd; }
  .kr-submenu li:hover > a { background: var(--kr-red); color: #fff; }
  .kr-submenu .kr-submenu { background: rgba(255,255,255,.07); }
  .kr-submenu .kr-submenu a { padding-left: 42px; }
  .kr-submenu.kr-flip { left: auto; right: auto; }

  .kr-cart__total { display: none; }
  .kr-actions { gap: 8px; }
  .kr-icon-btn { width: 38px; height: 38px; }
  .kr-announce p { font-size: 13px; padding: 8px 0; }
  .kr-topbar__inner { min-height: 36px; }
  .kr-topbar__help, .kr-topbar__link { font-size: 12.5px; }
  .kr-search { padding: 20px 16px; }
  .kr-search__close { top: 14px; right: 16px; }
}

@media (max-width: 767px) {
  .kr-footer__grid { grid-template-columns: 1fr; }
  .kr-footer__brand img { height: 110px; }
  .kr-footer__bottom-inner { flex-direction: column; align-items: flex-start; }
  .kr-pay img { height: 32px; }
  .kr-whatsapp { padding: 12px; right: 14px; bottom: 14px; }
  .kr-whatsapp span { display: none; }
}

@media (max-width: 560px) {
  .kr-topbar__help { font-size: 12px; }
  .kr-topbar__link { display: none; }
  .kr-announce p { font-size: 12px; letter-spacing: 0; }
  .kr-search__form button { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .kr-header *, .kr-footer *, .kr-nav, .kr-submenu, .kr-overlay, .kr-search, .kr-logo img {
    transition: none !important;
  }
}




/* =========================================================
   OFF-CANVAS SIDE CART
   ========================================================= */
:root { --kr-z-cart: 1300; --kr-z-cart-ov: 1290; }

.kr-sc {
  position: fixed; top: 0; right: 0;
  z-index: var(--kr-z-cart);
  display: flex; flex-direction: column;
  width: min(420px, 92vw);
  height: 100dvh;
  background: #fff;
  font-family: var(--kr-font);
  color: #111;
  box-shadow: -14px 0 44px rgba(0,0,0,.28);
  transform: translateX(100%);
  transition: transform .32s var(--kr-ease);
  isolation: isolate;
}
.kr-sc[hidden] { display: none !important; }
.kr-sc.is-open { transform: translateX(0); z-index: 99999999; }

.kr-sc-overlay {
  position: fixed; inset: 0;
  z-index: var(--kr-z-cart-ov);
  background: rgba(0,0,0,.55);
  opacity: 0;
  transition: opacity .28s var(--kr-ease);
}
.kr-sc-overlay[hidden] { display: none !important; }
.kr-sc-overlay.is-open { opacity: 1; }

/* ---- head ---- */
.kr-sc__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding: 20px 22px;
  border-bottom: 1px solid #e9e9e9;
  background: var(--kr-black);
  color: #fff;
  flex: none;
}
.kr-sc__head h2 {
  margin: 0;
  font-family: var(--kr-font-alt);
  font-size: 21px; font-weight: 700; letter-spacing: .02em;
  color: #fff;
}
.kr-sc__close {
  display: grid; place-items: center;
  width: 40px; height: 40px; padding: 0;
  border: 0; border-radius: 50%;
  background: rgba(255,255,255,.1); color: #fff; cursor: pointer;
  transition: background .18s var(--kr-ease);
}
.kr-sc__close:hover { background: var(--kr-red); }
.kr-sc__close svg { width: 20px; height: 20px; }

/* ---- body ---- */
.kr-sc__body {
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 4px 22px;
}
.kr-sc__list { margin: 0; padding: 0; list-style: none; }

.kr-sc__item {
  position: relative;
  display: grid;
  grid-template-columns: 82px minmax(0,1fr) 30px;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid #eee;
  animation: kr-sc-in .28s var(--kr-ease);
}
.kr-sc__item:last-child { border-bottom: 0; }
@keyframes kr-sc-in { from { opacity: 0; transform: translateY(6px); } }

.kr-sc__thumb { display: block; line-height: 0; }
.kr-sc__thumb img {
  width: 82px; height: 82px;
  object-fit: cover;
  border-radius: 8px;
  background: #f4f4f4;
  display: block;
}

.kr-sc__info { min-width: 0; }
.kr-sc__name {
  display: block;
  font-size: 14.5px; font-weight: 600; line-height: 1.35;
  color: #111; text-decoration: none;
  transition: color .16s var(--kr-ease);
}
.kr-sc__name:hover { color: var(--kr-red); }

.kr-sc__meta { margin-top: 5px; font-size: 12.5px; line-height: 1.55; color: #777; }
.kr-sc__meta p { margin: 0; }
.kr-sc__meta dl { margin: 0; display: block; }
.kr-sc__meta dt, .kr-sc__meta dd { display: inline; margin: 0; font-weight: 400; }
.kr-sc__meta dt::after { content: " "; }
.kr-sc__meta dd::after { content: " · "; color: #ccc; }
.kr-sc__meta dd:last-child::after { content: ""; }

.kr-sc__row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-top: 12px; flex-wrap: wrap;
}

.kr-sc__qty {
  display: inline-flex; align-items: center;
  height: 34px;
  border: 1px solid #ddd;
  border-radius: 999px;
  overflow: hidden;
}
.kr-sc__qbtn {
  width: 32px; height: 100%;
  border: 0; background: transparent;
  font-size: 16px; line-height: 1; color: #111; cursor: pointer;
  transition: background .15s var(--kr-ease);
}
.kr-sc__qbtn:hover { background: #f3f3f3; }
.kr-sc__qinput {
  width: 34px; height: 100%;
  border: 0; background: transparent;
  text-align: center; font-size: 14px; font-weight: 600; color: #111;
  padding: 0;
  -moz-appearance: textfield;
}
.kr-sc__qinput::-webkit-outer-spin-button,
.kr-sc__qinput::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.kr-sc__price { font-size: 15px; font-weight: 700; color: #111; white-space: nowrap; }

.kr-sc__remove {
  align-self: start;
  display: grid; place-items: center;
  width: 28px; height: 28px; padding: 0;
  border: 0; border-radius: 50%;
  background: transparent; color: #aaa; cursor: pointer;
  transition: background .16s var(--kr-ease), color .16s var(--kr-ease);
}
.kr-sc__remove:hover { background: #fdeceb; color: var(--kr-red); }
.kr-sc__remove svg { width: 15px; height: 15px; }

/* ---- empty ---- */
.kr-sc__empty {
  display: grid; place-items: center; gap: 14px;
  padding: 60px 20px;
  text-align: center;
}
.kr-sc__empty svg { width: 66px; height: 66px; color: #d6d6d6; }
.kr-sc__empty p { margin: 0; font-size: 16px; color: #666; }
.kr-sc__empty .kr-sc__btn { width: auto; padding-inline: 30px; }

/* ---- foot ---- */
.kr-sc__foot {
  flex: none;
  padding: 18px 22px calc(18px + env(safe-area-inset-bottom));
  border-top: 1px solid #e9e9e9;
  background: #fff;
}
.kr-sc__foot.is-empty { display: none; }

.kr-sc__subtotal {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px;
  font-size: 15px; color: #555;
}
.kr-sc__subtotal strong { font-size: 21px; font-weight: 700; color: #111; }
.kr-sc__note { margin: 4px 0 14px; font-size: 12.5px; color: #999; }

.kr-sc__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.kr-sc__btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 12px 18px;
  border: 1px solid transparent; border-radius: 8px;
  font-family: var(--kr-font);
  font-size: 14.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background .18s var(--kr-ease), color .18s var(--kr-ease), border-color .18s;
}
.kr-sc__btn--ghost { background: #fff; color: #111; border-color: #d5d5d5; }
.kr-sc__btn--ghost:hover { background: #111; border-color: #111; color: #fff; }
.kr-sc__btn--solid { background: var(--kr-red); color: #fff; }
.kr-sc__btn--solid:hover { background: var(--kr-red-dark); color: #fff; }

/* ---- loader ---- */
.kr-sc__loader {
  position: absolute; inset: 0;
  display: none; place-items: center;
  background: rgba(255,255,255,.7);
  z-index: 5;
}
.kr-sc.is-busy .kr-sc__loader { display: grid; }
.kr-sc__loader span {
  width: 34px; height: 34px;
  border: 3px solid #e3e3e3;
  border-top-color: var(--kr-red);
  border-radius: 50%;
  animation: kr-spin .7s linear infinite;
}
@keyframes kr-spin { to { transform: rotate(360deg); } }

/* ---- header cart badge bump ---- */
.kr-cart__count.is-bump { animation: kr-bump .45s var(--kr-ease); }
@keyframes kr-bump {
  30% { transform: scale(1.45); }
  60% { transform: scale(.92); }
  100% { transform: scale(1); }
}

/* ---- side cart khula ho to WhatsApp chhupao ---- */
body.kr-cart-open .kr-whatsapp { display: none !important; }

/* ---- mobile ---- */
@media (max-width: 480px) {
  .kr-sc { width: 100vw; }
  .kr-sc__body { padding-inline: 16px; }
  .kr-sc__head, .kr-sc__foot { padding-inline: 16px; }
  .kr-sc__item { grid-template-columns: 70px minmax(0,1fr) 28px; gap: 12px; }
  .kr-sc__thumb img { width: 70px; height: 70px; }
  .kr-sc__actions { grid-template-columns: 1fr; }
}



/* =========================================================
   ELEMENTOR OVERRIDE LAYER — sabse aakhir mein
   ========================================================= */

/* ---- A. Sticky breakers: overflow / transform ancestors ---- */
html, body.kr-custom-hf { overflow-x: clip; }   /* clip = sticky-safe (hidden nahi) */

body.kr-custom-hf > #page,
body.kr-custom-hf > .site,
body.kr-custom-hf > .site-wrapper,
body.kr-custom-hf > .elementor,
body.kr-custom-hf > div[data-elementor-type],
body.kr-custom-hf #content,
body.kr-custom-hf .site-content,
body.kr-custom-hf .kr-content,
body.kr-custom-hf .elementor-page-wrapper,
body.kr-custom-hf .kr-sticky-fixed {
  overflow: visible !important;
  overflow-x: clip;
  transform: none !important;
  filter: none !important;
  perspective: none !important;
  contain: none !important;
  will-change: auto !important;
  backdrop-filter: none !important;
}

body.kr-custom-hf .kr-header {
  position: sticky !important;
  top: 0 !important;
  z-index: var(--kr-z-header) !important;
  transform: none !important;
}
body.kr-custom-hf.admin-bar .kr-header { top: 32px !important; }
@media (max-width: 782px) {
  body.kr-custom-hf.admin-bar .kr-header { top: 46px !important; }
}

/* ---- B. Elementor stacking contexts neutral ---- */
body.kr-custom-hf .elementor-section,
body.kr-custom-hf .elementor-container,
body.kr-custom-hf .elementor-column,
body.kr-custom-hf .elementor-widget-wrap,
body.kr-custom-hf .e-con,
body.kr-custom-hf .e-con-inner,
body.kr-custom-hf .e-parent,
body.kr-custom-hf .e-child { z-index: auto; }

/* Elementor ke apne sticky/fixed elements header se neeche */
body.kr-custom-hf .elementor-sticky--active { z-index: 800 !important; }

/* ---- C. Elementor ki typography/link resets header-footer mein na ghusen ---- */
body.kr-custom-hf .kr-header a,
body.kr-custom-hf .kr-footer a,
body.kr-custom-hf .kr-search a {
  box-shadow: none !important;
  text-decoration: none;
}
body.kr-custom-hf .kr-header ul,
body.kr-custom-hf .kr-footer ul,
body.kr-custom-hf .kr-header li,
body.kr-custom-hf .kr-footer li {
  list-style: none;
  margin: 0;
}
body.kr-custom-hf .kr-header button,
body.kr-custom-hf .kr-footer button,
body.kr-custom-hf .kr-search button {
  font-family: inherit;
  box-shadow: none;
  text-shadow: none;
  padding: 0;
}
body.kr-custom-hf .kr-header p,
body.kr-custom-hf .kr-footer p { margin-block: 0; }
body.kr-custom-hf .kr-footer h3 { text-transform: none; }

/* ---- D. Elementor / theme ke purane header-footer remnants ---- */
body.kr-custom-hf > header.elementor-location-header,
body.kr-custom-hf > footer.elementor-location-footer,
body.kr-custom-hf .elementor-location-header:not(.kr-header),
body.kr-custom-hf .elementor-location-footer:not(.kr-footer),
body.kr-custom-hf .site-header:not(.kr-header),
body.kr-custom-hf .site-footer:not(.kr-footer) { display: none !important; }

/* ---- E. Duplicate WhatsApp widgets ---- */
body.kr-custom-hf .kr-whatsapp ~ [class*="wa__floating_menu"] { display: none !important; }

/* ---- F. Header/footer par Elementor ki animations band ---- */
body.kr-custom-hf .kr-header [class*="elementor-animation"],
body.kr-custom-hf .kr-footer [class*="elementor-animation"] { animation: none !important; }




/* =========================================================
   ELEMENTOR BUTTON RESET — kr-* components ke andar
   ========================================================= */

/* ---- A. Elementor global vars ko in components ke andar band karo ---- */
body.kr-custom-hf .kr-header,
body.kr-custom-hf .kr-footer,
body.kr-custom-hf .kr-search,
body.kr-custom-hf .kr-nav,
body.kr-custom-hf .kr-sc,
body.kr-custom-hf .kr-whatsapp {
  --e-global-color-primary: initial;
  --e-global-color-secondary: initial;
  --e-global-color-accent: initial;
  --e-global-color-text: initial;
  --e-global-typography-primary-font-family: initial;
  --e-global-typography-accent-font-family: initial;
  --e-global-typography-text-font-family: initial;
  --button-text-color: initial;
  --button-background-color: initial;
  --button-border-color: initial;
  --button-hover-text-color: initial;
  --button-hover-background-color: initial;
}

/* ---- B. Hard reset: sab buttons/links neutral ---- */
body.kr-custom-hf .kr-header button,
body.kr-custom-hf .kr-header a,
body.kr-custom-hf .kr-footer button,
body.kr-custom-hf .kr-footer a,
body.kr-custom-hf .kr-nav button,
body.kr-custom-hf .kr-nav a,
body.kr-custom-hf .kr-search button,
body.kr-custom-hf .kr-search input,
body.kr-custom-hf .kr-sc button,
body.kr-custom-hf .kr-sc a,
body.kr-custom-hf .kr-sc input {
  -webkit-appearance: none;
  appearance: none;
  font-family: inherit;
  line-height: normal;
  text-transform: none;
  letter-spacing: normal;
  text-shadow: none;
  box-shadow: none;
  background-image: none;
  border-radius: 0;
  border: 0;
  outline-offset: 2px;
  transition: none;
}

/* Elementor ke button classes agar kisi tarah lag jayen */
body.kr-custom-hf .kr-header .elementor-button,
body.kr-custom-hf .kr-footer .elementor-button,
body.kr-custom-hf .kr-sc .elementor-button,
body.kr-custom-hf .kr-search .elementor-button {
  all: unset;
  cursor: pointer;
}

/* ---- C. Ab apni styles wapas, zyada specificity ke sath ---- */

/* header icon buttons */
body.kr-custom-hf .kr-header .kr-icon-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: background .18s var(--kr-ease), color .18s var(--kr-ease);
}
body.kr-custom-hf .kr-header .kr-icon-btn:hover {
  background: rgba(255,255,255,.12);
  color: var(--kr-red);
}

/* burger */
body.kr-custom-hf .kr-header .kr-burger {
  padding: 0 10px;
  background: transparent;
  border: 0;
  border-radius: 0;
  cursor: pointer;
}
body.kr-custom-hf .kr-header .kr-burger span {
  background: #fff;
  border-radius: 2px;
  transition: transform .25s var(--kr-ease), opacity .2s;
}

/* nav close */
body.kr-custom-hf .kr-nav .kr-nav__close {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
body.kr-custom-hf .kr-nav .kr-nav__close:hover { background: var(--kr-red); }

/* menu accordion toggle */
body.kr-custom-hf .kr-nav .kr-menu-toggle {
  border-radius: 8px;
  background: rgba(255,255,255,.07);
  color: #fff;
  cursor: pointer;
  transition: transform .22s var(--kr-ease), background .18s;
}
body.kr-custom-hf .kr-nav .kr-menu-toggle[aria-expanded="true"] {
  background: var(--kr-red);
  transform: rotate(180deg);
}

/* ---- SEARCH ---- */
body.kr-custom-hf .kr-search .kr-search__close {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transition: background .18s var(--kr-ease);
}
body.kr-custom-hf .kr-search .kr-search__close:hover { background: var(--kr-red); }

body.kr-custom-hf .kr-search .kr-search__form input[type="search"] {
  min-height: 58px;
  padding: 0 20px;
  border: 2px solid rgba(255,255,255,.25);
  border-radius: 8px;
  background: transparent;
  color: #fff;
  font-size: 17px;
  font-family: var(--kr-font);
}
body.kr-custom-hf .kr-search .kr-search__form input[type="search"]:focus {
  border-color: var(--kr-red);
  outline: none;
  box-shadow: none;
}
body.kr-custom-hf .kr-search .kr-search__form button[type="submit"] {
  min-height: 58px;
  padding: 0 30px;
  border: 0;
  border-radius: 8px;
  background: var(--kr-red);
  color: #fff;
  font-family: var(--kr-font);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .18s var(--kr-ease);
}
body.kr-custom-hf .kr-search .kr-search__form button[type="submit"]:hover {
  background: var(--kr-red-dark);
}

/* ---- SIDE CART ---- */
body.kr-custom-hf .kr-sc .kr-sc__close {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: #fff;
  cursor: pointer;
  transition: background .18s var(--kr-ease);
  padding: 0;
}
body.kr-custom-hf .kr-sc .kr-sc__close:hover { background: var(--kr-red); }

body.kr-custom-hf .kr-sc .kr-sc__qty {
  border: 1px solid #ddd;
  border-radius: 999px;
  overflow: hidden;
}
body.kr-custom-hf .kr-sc .kr-sc__qbtn {
  width: 32px;
  background: transparent;
  color: #111;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  transition: background .15s var(--kr-ease);
}
body.kr-custom-hf .kr-sc .kr-sc__qbtn:hover { background: #f3f3f3; }
body.kr-custom-hf .kr-sc .kr-sc__qinput {
  width: 34px;
  background: transparent;
  color: #111;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  padding: 0;
}
body.kr-custom-hf .kr-sc .kr-sc__remove {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: transparent;
  color: #aaa;
  cursor: pointer;
  transition: background .16s var(--kr-ease), color .16s var(--kr-ease);
}
body.kr-custom-hf .kr-sc .kr-sc__remove:hover { background: #fdeceb; color: var(--kr-red); }

/* side cart CTA buttons — sabse zyada conflict yahan hota hai */
body.kr-custom-hf .kr-sc .kr-sc__btn,
body.kr-custom-hf .kr-sc a.kr-sc__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-family: var(--kr-font);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: .03em;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  text-shadow: none;
  box-shadow: none;
  background-image: none;
  cursor: pointer;
  transition: background .18s var(--kr-ease), color .18s var(--kr-ease), border-color .18s var(--kr-ease);
}
body.kr-custom-hf .kr-sc a.kr-sc__btn--ghost {
  background: #fff;
  color: #111;
  border-color: #d5d5d5;
}
body.kr-custom-hf .kr-sc a.kr-sc__btn--ghost:hover {
  background: #111;
  border-color: #111;
  color: #fff;
}
body.kr-custom-hf .kr-sc a.kr-sc__btn--solid {
  background: var(--kr-red);
  color: #fff;
  border-color: var(--kr-red);
}
body.kr-custom-hf .kr-sc a.kr-sc__btn--solid:hover {
  background: var(--kr-red-dark);
  border-color: var(--kr-red-dark);
  color: #fff;
}

/* ---- WHATSAPP ---- */
body.kr-custom-hf a.kr-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px 12px 18px;
  border-radius: 999px;
  border: 0;
  background: var(--kr-wa);
  color: #fff;
  font-family: var(--kr-font);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  text-transform: none;
  box-shadow: 0 8px 24px rgba(37,211,102,.35);
  transition: transform .18s var(--kr-ease), box-shadow .18s var(--kr-ease);
}
body.kr-custom-hf a.kr-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37,211,102,.45);
  background: var(--kr-wa);
  color: #fff;
}

/* ---- D. Focus states (accessibility) ---- */
body.kr-custom-hf .kr-header button:focus-visible,
body.kr-custom-hf .kr-nav button:focus-visible,
body.kr-custom-hf .kr-sc button:focus-visible,
body.kr-custom-hf .kr-sc a:focus-visible,
body.kr-custom-hf .kr-search button:focus-visible {
  outline: 2px solid var(--kr-red);
  outline-offset: 2px;
}

/* ---- E. Mobile ---- */
@media (max-width: 991px) {
  body.kr-custom-hf .kr-header .kr-icon-btn { width: 38px; height: 38px; }
  body.kr-custom-hf .kr-nav .kr-menu-toggle { width: 42px; height: 42px; }
}
@media (max-width: 480px) {
  body.kr-custom-hf .kr-sc .kr-sc__actions { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body.kr-custom-hf .kr-search .kr-search__form button[type="submit"] { flex: 1 1 100%; }
}
