/* ==========================================================================
   Kids storefront – ejouets-inspired skin
   All rules are scoped under .theme-kids so other themes are untouched.
   ========================================================================== */
.theme-kids {
  --kd-navy: #1d1145;
  --kd-navy-2: #2a1d5c;
  --kd-red: #e2464f;
  --kd-red-dark: #c8323b;
  --kd-pink: #e5197e;
  --kd-orange: #ff8a00;
  --kd-green: #2fb24c;
  --kd-green-dark: #23963d;
  --kd-yellow: #ffc533;
  --kd-bg: #f5f6f8;
  --kd-text: #1f1d2b;
  --kd-muted: #7a7f8c;
  --kd-border: #e8eaef;
  --kd-radius: 16px;
  --kd-radius-sm: 10px;
  --kd-shadow: 0 4px 18px rgba(29, 17, 69, .07);
  --kd-shadow-hover: 0 10px 28px rgba(29, 17, 69, .14);
  --kd-rail: 58px;
  font-family: 'Outfit', 'Poppins', sans-serif;
  background: var(--kd-bg);
  color: var(--kd-text);
}

.theme-kids h1, .theme-kids h2, .theme-kids h3, .theme-kids h4, .theme-kids h5, .theme-kids h6,
.theme-kids .btn, .theme-kids input, .theme-kids select, .theme-kids button, .theme-kids textarea {
  font-family: 'Outfit', 'Poppins', sans-serif;
}

.theme-kids a { text-decoration: none; }
.theme-kids .kd-container { max-width: 1480px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.theme-kids .bg-light, .theme-kids .bg-white { background: transparent !important; }

@media (min-width: 1200px) {
  .theme-kids .wrapper { padding-left: var(--kd-rail); }
}

/* ---------- Generic helpers ---------- */
.theme-kids .kd-section { padding: 22px 0; }
.theme-kids .kd-card {
  background: #fff;
  border-radius: var(--kd-radius);
  box-shadow: var(--kd-shadow);
}
.theme-kids .kd-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--kd-text);
  margin: 0;
}
.theme-kids .kd-title-sm { font-size: 20px; font-weight: 700; margin: 0; }
.theme-kids .kd-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.theme-kids .kd-link-more {
  color: var(--kd-red);
  font-weight: 600;
  font-size: 15px;
}
.theme-kids .kd-link-more:hover { color: var(--kd-red-dark); }

.theme-kids .kd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 10px 22px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  transition: background .2s, transform .2s, box-shadow .2s;
  cursor: pointer;
  white-space: nowrap;
}
.theme-kids .kd-btn-red { background: var(--kd-red); color: #fff; }
.theme-kids .kd-btn-red:hover { background: var(--kd-red-dark); color: #fff; }
.theme-kids .kd-btn-green { background: var(--kd-green); color: #fff; }
.theme-kids .kd-btn-green:hover { background: var(--kd-green-dark); color: #fff; }
.theme-kids .kd-btn-navy { background: var(--kd-navy); color: #fff; }
.theme-kids .kd-btn-navy:hover { background: var(--kd-navy-2); color: #fff; }
.theme-kids .kd-btn-white { background: #fff; color: var(--kd-text); }
.theme-kids .kd-btn-white:hover { background: var(--kd-yellow); color: var(--kd-text); }
.theme-kids .kd-btn-outline { background: #fff; color: var(--kd-text); border: 1px solid var(--kd-border); }
.theme-kids .kd-btn-outline:hover { border-color: var(--kd-red); color: var(--kd-red); }
.theme-kids .kd-btn-lg { padding: 14px 28px; font-size: 16px; }
.theme-kids .kd-btn-block { width: 100%; }

.theme-kids .kd-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
}
.theme-kids .kd-pill-green { background: var(--kd-green); }
.theme-kids .kd-pill-pink { background: var(--kd-pink); }
.theme-kids .kd-pill-red { background: var(--kd-red); }
.theme-kids .kd-pill-orange { background: var(--kd-orange); }
.theme-kids .kd-pill-navy { background: var(--kd-navy); }
.theme-kids .kd-pill-soft-green { background: #e5f7e9; color: var(--kd-green-dark); }
.theme-kids .kd-pill-soft-red { background: #fde8e9; color: var(--kd-red); }

/* ==========================================================================
   Header
   ========================================================================== */
.theme-kids .kd-topbar {
  background: var(--kd-navy);
  color: #fff;
  font-size: 13px;
}
.theme-kids .kd-topbar .kd-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  gap: 12px;
}
.theme-kids .kd-topbar a { color: #fff; opacity: .9; }
.theme-kids .kd-topbar a:hover { opacity: 1; color: var(--kd-yellow); }
.theme-kids .kd-topbar-links { display: flex; gap: 18px; flex: 1; }
.theme-kids .kd-topbar-msg {
  flex: 2;
  text-align: center;
  position: relative;
  height: 20px;
  overflow: hidden;
}
.theme-kids .kd-topbar-msg span {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(100%);
  transition: all .5s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
}
.theme-kids .kd-topbar-msg span.active { opacity: 1; transform: translateY(0); }
.theme-kids .kd-topbar-right { display: flex; gap: 14px; flex: 1; justify-content: flex-end; align-items: center; }
.theme-kids .kd-topbar .dropdown-toggle { background: transparent; border: 0; color: #fff; font-size: 13px; padding: 0; }
.theme-kids .kd-topbar .dropdown-menu { font-size: 14px; border-radius: 10px; border: 0; box-shadow: var(--kd-shadow-hover); }

.theme-kids .kd-mainbar { background: #fff; }
.theme-kids .kd-mainbar .kd-container {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 84px;
}
.theme-kids .kd-logo img { max-height: 58px; width: auto; }
.theme-kids .kd-search { flex: 1; max-width: 640px; }
.theme-kids .kd-search form {
  display: flex;
  align-items: center;
  border: 2px solid var(--kd-border);
  border-radius: 999px;
  background: #fff;
  overflow: hidden;
  transition: border-color .2s;
}
.theme-kids .kd-search form:focus-within { border-color: var(--kd-red); }
.theme-kids .kd-search input {
  flex: 1;
  border: 0;
  outline: 0;
  padding: 11px 20px;
  font-size: 15px;
  background: transparent;
  min-width: 0;
}
.theme-kids .kd-search select {
  border: 0;
  border-left: 1px solid var(--kd-border);
  outline: 0;
  font-size: 14px;
  padding: 0 12px;
  color: var(--kd-muted);
  background: transparent;
  max-width: 170px;
}
.theme-kids .kd-search button {
  border: 0;
  background: var(--kd-red);
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  margin: 2px;
  flex-shrink: 0;
}
.theme-kids .kd-search button:hover { background: var(--kd-red-dark); }
.theme-kids .kd-hotline { display: flex; align-items: center; gap: 12px; color: var(--kd-text); }
.theme-kids .kd-hotline-icon {
  width: 46px; height: 46px; border-radius: 50%;
  background: #fde8e9; color: var(--kd-red);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.theme-kids .kd-hotline small { display: block; color: var(--kd-muted); font-size: 13px; line-height: 1.2; }
.theme-kids .kd-hotline strong { font-size: 17px; font-weight: 700; }
.theme-kids .kd-mainbar-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.theme-kids .kd-icon-btn {
  position: relative;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--kd-bg);
  color: var(--kd-text);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 19px;
  transition: background .2s, color .2s;
}
.theme-kids .kd-icon-btn:hover { background: var(--kd-red); color: #fff; }
.theme-kids .kd-badge {
  position: absolute;
  top: -3px; right: -3px;
  min-width: 20px; height: 20px;
  border-radius: 999px;
  background: var(--kd-red);
  color: #fff;
  font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  padding: 0 5px;
  border: 2px solid #fff;
}
.theme-kids .kd-cart { display: flex; align-items: center; gap: 10px; color: var(--kd-text); }
.theme-kids .kd-cart .kd-icon-btn { background: var(--kd-red); color: #fff; }
.theme-kids .kd-cart small { display: block; color: var(--kd-muted); font-size: 13px; line-height: 1.2; }
.theme-kids .kd-cart strong { font-weight: 700; font-size: 16px; }

.theme-kids .kd-cart-wrap { position: relative; }
.theme-kids .kd-cart-wrap .kd-cart-dropdown {
  position: absolute; right: 0; top: calc(100% + 10px); width: 340px; z-index: 1000;
  background: #fff; border-radius: 14px; box-shadow: var(--kd-shadow-hover); padding: 16px;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s;
  left: auto !important; display: block !important;
}
.theme-kids .kd-cart-wrap:hover .kd-cart-dropdown { opacity: 1; visibility: visible; transform: none; }
.theme-kids .kd-cart-wrap .kd-cart-dropdown:empty { display: none !important; }
.theme-kids .kd-header { position: relative; z-index: 990; }

.theme-kids .kd-navbar { background: var(--kd-red); }
.theme-kids .kd-navbar .kd-container { display: flex; align-items: center; min-height: 50px; gap: 10px; }
.theme-kids .kd-nav { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; flex: 1; flex-wrap: wrap; }
.theme-kids .kd-nav > li { position: relative; }
.theme-kids .kd-nav > li > a {
  display: flex; align-items: center; gap: 6px;
  color: #fff; font-weight: 600; font-size: 15px;
  padding: 14px 14px;
}
.theme-kids .kd-nav > li > a:hover, .theme-kids .kd-nav > li.active > a { color: var(--kd-yellow); }
.theme-kids .kd-nav .kd-submenu {
  position: absolute; top: 100%; left: 0; z-index: 50;
  min-width: 220px; background: #fff; border-radius: 12px;
  box-shadow: var(--kd-shadow-hover); padding: 8px 0; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s;
}
.theme-kids .kd-nav > li:hover .kd-submenu { opacity: 1; visibility: visible; transform: none; }
.theme-kids .kd-nav .kd-submenu a { display: block; padding: 8px 18px; color: var(--kd-text); font-size: 14px; }
.theme-kids .kd-nav .kd-submenu a:hover { color: var(--kd-red); background: var(--kd-bg); }
.theme-kids .kd-nav-right { display: flex; align-items: center; gap: 18px; }
.theme-kids .kd-nav-right a { color: #fff; font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 6px; }
.theme-kids .kd-nav-right a:hover { color: var(--kd-yellow); }
.theme-kids .kd-nav-right .kd-dot {
  background: #fff; color: var(--kd-red); border-radius: 999px; font-size: 11px; font-weight: 700;
  min-width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; padding: 0 4px;
}

.theme-kids .kd-header-sticky.is-fixed {
  position: fixed; top: 0; left: 0; right: 0; z-index: 990;
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
  animation: kdSlideDown .3s ease;
}
@media (min-width: 1200px) { .theme-kids .kd-header-sticky.is-fixed { left: var(--kd-rail); } }
@keyframes kdSlideDown { from { transform: translateY(-100%); } to { transform: none; } }

/* ---------- Left category rail ---------- */
.theme-kids .kd-rail {
  position: fixed;
  top: 0; bottom: 0; left: 0;
  width: var(--kd-rail);
  background: #fff;
  box-shadow: 2px 0 12px rgba(29, 17, 69, .06);
  z-index: 995;
  display: none;
  flex-direction: column;
  align-items: center;
  padding: 10px 0;
  gap: 6px;
  overflow: visible;
}
@media (min-width: 1200px) { .theme-kids .kd-rail { display: flex; } }
.theme-kids .kd-rail-toggle {
  width: 42px; height: 42px; border-radius: 12px; border: 0;
  background: var(--kd-red); color: #fff; font-size: 18px; margin-bottom: 8px; flex-shrink: 0;
}
.theme-kids .kd-rail a {
  position: relative;
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s, background .2s, box-shadow .2s;
  z-index: 1;
}
.theme-kids .kd-rail a img {
  width: 34px; height: 34px; object-fit: cover; border-radius: 9px;
  transition: width .2s, height .2s, transform .2s;
}
.theme-kids .kd-rail-tip,
body > .kd-rail-tip {
  position: fixed;
  left: calc(var(--kd-rail) + 10px);
  top: 0;
  background: #fff; color: var(--kd-navy);
  font-size: 14px; font-weight: 700;
  padding: 10px 14px; border-radius: 12px; white-space: nowrap;
  box-shadow: 0 8px 24px rgba(29, 17, 69, .16);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .18s, transform .18s, visibility .18s;
  transform: translateY(-50%) translateX(-4px);
  z-index: 1100;
}
.theme-kids .kd-rail-tip::before,
body > .kd-rail-tip::before {
  content: "";
  position: absolute; left: -6px; top: 50%; transform: translateY(-50%);
  border: 6px solid transparent; border-right-color: #fff;
}
.theme-kids .kd-rail a:hover,
.theme-kids .kd-rail a.is-tip-open {
  background: #fff;
  box-shadow: 0 6px 18px rgba(29, 17, 69, .14);
  transform: scale(1.28);
  z-index: 6;
}
.theme-kids .kd-rail a:hover img,
.theme-kids .kd-rail a.is-tip-open img { width: 38px; height: 38px; }
.theme-kids .kd-rail-tip.is-visible,
body > .kd-rail-tip.is-visible {
  opacity: 1; visibility: visible;
  transform: translateY(-50%) translateX(0);
}

/* ---------- Off-canvas category menu ---------- */
.theme-kids .kd-offcanvas-backdrop {
  position: fixed; inset: 0; background: rgba(29, 17, 69, .45);
  z-index: 1040; opacity: 0; visibility: hidden; transition: all .25s;
}
.theme-kids .kd-offcanvas {
  position: fixed; top: 0; bottom: 0; left: 0; width: 320px; max-width: 86vw;
  background: #fff; z-index: 1045;
  transform: translateX(-100%); transition: transform .3s ease;
  display: flex; flex-direction: column;
}
.theme-kids.kd-offcanvas-open .kd-offcanvas { transform: none; }
.theme-kids.kd-offcanvas-open .kd-offcanvas-backdrop { opacity: 1; visibility: visible; }
.theme-kids .kd-offcanvas-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid var(--kd-border);
}
.theme-kids .kd-offcanvas-head h5 { margin: 0; font-weight: 700; font-size: 20px; }
.theme-kids .kd-offcanvas-close {
  width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--kd-bg); font-size: 16px;
}
.theme-kids .kd-offcanvas-body { overflow-y: auto; flex: 1; padding: 8px 0; }
.theme-kids .kd-offcanvas-body ul { list-style: none; margin: 0; padding: 0; }
.theme-kids .kd-offcanvas-body > ul > li > a,
.theme-kids .kd-offcanvas-body > ul > li > .kd-oc-row > a {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 20px; color: var(--kd-text); font-weight: 500; font-size: 15px; flex: 1;
}
.theme-kids .kd-offcanvas-body img { width: 34px; height: 34px; border-radius: 8px; object-fit: cover; }
.theme-kids .kd-offcanvas-body a:hover { color: var(--kd-red); }
.theme-kids .kd-oc-row { display: flex; align-items: center; }
.theme-kids .kd-oc-row button { border: 0; background: transparent; padding: 10px 20px; color: var(--kd-muted); }
.theme-kids .kd-oc-sub { display: none; padding-left: 66px !important; }
.theme-kids .kd-oc-sub.open { display: block; }
.theme-kids .kd-oc-sub a { display: block; padding: 6px 0; color: var(--kd-muted); font-size: 14px; }
.theme-kids .kd-offcanvas-foot { padding: 16px 20px; border-top: 1px solid var(--kd-border); }

/* Hide the legacy kids header pieces we replaced */
.theme-kids .header-area.header-5 { display: none; }

@media (max-width: 1199.98px) {
  .theme-kids .kd-desktop-only { display: none !important; }
}
@media (min-width: 1200px) {
  .theme-kids .kd-mobile-only { display: none !important; }
}

/* ---------- Mobile header ---------- */
.theme-kids .kd-mobile-header { background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.theme-kids .kd-mobile-header .kd-container { display: flex; align-items: center; gap: 10px; min-height: 64px; }
.theme-kids .kd-mobile-header .kd-logo img { max-height: 44px; }
.theme-kids .kd-mobile-header .kd-mainbar-actions { gap: 6px; }
.theme-kids .kd-mobile-header .kd-icon-btn { width: 40px; height: 40px; font-size: 17px; }
.theme-kids .kd-mobile-search { padding: 0 16px 12px; background: #fff; }
.theme-kids .kd-mobile-search .kd-search { max-width: none; }
.theme-kids .kd-mobile-search .kd-search input { padding: 9px 16px; }
.theme-kids .kd-mobile-search .kd-search button { width: 38px; height: 38px; }

/* ==========================================================================
   Home
   ========================================================================== */
.theme-kids .kd-hero { padding: 22px 0 10px; }
.theme-kids .kd-hero-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 20px; }
@media (max-width: 1199.98px) { .theme-kids .kd-hero-grid { grid-template-columns: 1fr; } }
.theme-kids .kd-hero-slider-wrap { position: relative; min-width: 0; }
.theme-kids .kd-hero-slider { margin: 0 -8px; }
.theme-kids .kd-hero-slider .kd-slide { padding: 0 8px; }
.theme-kids .kd-hero-slider .kd-slide a,
.theme-kids .kd-hero-slider .kd-slide > div {
  display: block; border-radius: var(--kd-radius); overflow: hidden; position: relative;
  aspect-ratio: 16 / 9; background: #ffe7d6;
}
.theme-kids .kd-hero-slider img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.theme-kids .kd-hero-slider .kd-slide a:hover img { transform: scale(1.03); }
.theme-kids .kd-slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 42px; height: 42px; border-radius: 50%; border: 0;
  background: #fff; color: var(--kd-text); box-shadow: var(--kd-shadow-hover); font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
.theme-kids .kd-slider-arrow:hover { background: var(--kd-red); color: #fff; }
.theme-kids .kd-slider-arrow.prev { left: -14px; }
.theme-kids .kd-slider-arrow.next { right: -14px; }
@media (max-width: 767.98px) {
  .theme-kids .kd-slider-arrow.prev { left: 4px; }
  .theme-kids .kd-slider-arrow.next { right: 4px; }
}
.theme-kids .kd-hero-slider .slick-dots { display: flex !important; justify-content: center; gap: 6px; list-style: none; padding: 0; margin: 14px 0 0; }
.theme-kids .kd-hero-slider .slick-dots button { font-size: 0; width: 10px; height: 10px; border-radius: 999px; border: 0; background: #d5d8e0; padding: 0; transition: all .2s; }
.theme-kids .kd-hero-slider .slick-dots .slick-active button { width: 26px; background: var(--kd-red); }

.theme-kids .kd-popcats { padding: 20px; height: 100%; }
.theme-kids .kd-popcats-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.theme-kids .kd-popcats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 1199.98px) { .theme-kids .kd-popcats-grid { grid-template-columns: repeat(6, 1fr); } }
@media (max-width: 767.98px) { .theme-kids .kd-popcats-grid { grid-template-columns: repeat(3, 1fr); } }
.theme-kids .kd-popcat { text-align: center; color: var(--kd-text); display: block; }
.theme-kids .kd-popcat-img {
  border-radius: 14px; overflow: hidden; aspect-ratio: 1; background: var(--kd-bg); margin-bottom: 8px;
}
.theme-kids .kd-popcat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.theme-kids .kd-popcat:hover img { transform: scale(1.08); }
.theme-kids .kd-popcat span { font-size: 14px; font-weight: 600; line-height: 1.25; display: block; }
.theme-kids .kd-popcat:hover span { color: var(--kd-red); }
@media (min-width: 1200px) {
  .theme-kids .kd-hero-grid { grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr); align-items: stretch; }
  .theme-kids .kd-popcats { padding: 16px 18px; display: flex; flex-direction: column; }
  .theme-kids .kd-popcats-head { margin-bottom: 10px; }
  .theme-kids .kd-popcats-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; flex: 1; align-content: space-between; }
  .theme-kids .kd-popcat {
    display: flex; align-items: center; gap: 10px; text-align: left;
    padding: 5px; border-radius: 12px; background: var(--kd-bg); transition: background .2s;
  }
  .theme-kids .kd-popcat:hover { background: #fde8e9; }
  .theme-kids .kd-popcat-img { width: 42px; height: 42px; flex-shrink: 0; margin: 0; border-radius: 10px; background: #fff; }
  .theme-kids .kd-popcat span { font-size: 13px; }
  .theme-kids .kd-hero-slider .slick-dots { position: absolute; left: 0; right: 0; bottom: 12px; margin: 0; }
  .theme-kids .kd-hero-slider .slick-dots button { background: rgba(255,255,255,.7); }
}

/* Flash banner strip */
.theme-kids .kd-flash-banner {
  border-radius: var(--kd-radius);
  background: linear-gradient(90deg, #ff4f7b 0%, #ff7a45 50%, #ffb22c 100%);
  color: #fff; padding: 18px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.theme-kids .kd-flash-banner::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px;
  border-radius: 50%; background: rgba(255,255,255,.12);
}
.theme-kids .kd-flash-banner h3 { color: #fff; margin: 0; font-size: 26px; font-weight: 800; letter-spacing: .3px; }
.theme-kids .kd-flash-banner p { margin: 2px 0 0; opacity: .95; font-size: 15px; color: #fff; }
.theme-kids .kd-flash-banner .kd-flash-icon {
  width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0;
}

/* Navy feature strip */
.theme-kids .kd-features {
  background: var(--kd-navy); border-radius: var(--kd-radius); color: #fff;
  display: grid; grid-template-columns: repeat(5, 1fr);
}
@media (max-width: 991.98px) { .theme-kids .kd-features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .theme-kids .kd-features { grid-template-columns: 1fr; } }
.theme-kids .kd-feature { display: flex; align-items: center; gap: 14px; padding: 20px 22px; position: relative; }
.theme-kids .kd-feature + .kd-feature::before {
  content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: rgba(255,255,255,.15);
}
@media (max-width: 991.98px) { .theme-kids .kd-feature + .kd-feature::before { display: none; } }
.theme-kids .kd-feature i { font-size: 30px; color: var(--kd-yellow); width: 38px; text-align: center; flex-shrink: 0; }
.theme-kids .kd-feature h6 { color: #fff; margin: 0; font-size: 15px; font-weight: 700; }
.theme-kids .kd-feature p { margin: 2px 0 0; font-size: 13px; color: rgba(255,255,255,.75); line-height: 1.35; }

/* Tabs */
.theme-kids .kd-tabs { display: flex; gap: 8px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; border: 0; }
.theme-kids .kd-tabs .nav-link {
  border: 1px solid var(--kd-border) !important; background: #fff; color: var(--kd-text);
  border-radius: 999px !important; padding: 8px 20px; font-weight: 600; font-size: 15px;
}
.theme-kids .kd-tabs .nav-link.active, .theme-kids .kd-tabs .nav-link:hover {
  background: var(--kd-red); color: #fff; border-color: var(--kd-red) !important;
}
.theme-kids .kd-coeur-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 20px; }
@media (max-width: 1199.98px) { .theme-kids .kd-coeur-grid { grid-template-columns: 1fr; } .theme-kids .kd-coeur-side { display: none; } }
.theme-kids .kd-coeur-side { padding: 18px; }
.theme-kids .kd-coeur-side h4 { font-size: 18px; font-weight: 700; margin: 0 0 14px; }

/* Mini product row (sidebar lists) */
.theme-kids .kd-mini { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--kd-border); }
.theme-kids .kd-mini:last-child { border-bottom: 0; }
.theme-kids .kd-mini-img { width: 72px; height: 72px; border-radius: 12px; overflow: hidden; background: var(--kd-bg); flex-shrink: 0; }
.theme-kids .kd-mini-img img { width: 100%; height: 100%; object-fit: cover; }
.theme-kids .kd-mini h6 { font-size: 14px; font-weight: 600; margin: 0 0 4px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.theme-kids .kd-mini h6 a { color: var(--kd-text); }
.theme-kids .kd-mini h6 a:hover { color: var(--kd-red); }

/* Product grids */
.theme-kids .kd-grid { display: grid; gap: 18px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.theme-kids .kd-grid.kd-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1399.98px) { .theme-kids .kd-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1199.98px) { .theme-kids .kd-grid, .theme-kids .kd-grid.kd-grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767.98px) { .theme-kids .kd-grid, .theme-kids .kd-grid.kd-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }

.theme-kids .kd-carousel { margin: 0 -9px; }
.theme-kids .kd-carousel .kd-carousel-item { padding: 6px 9px 14px; }
.theme-kids .kd-carousel-wrap { position: relative; }
.theme-kids .kd-carousel:not(.slick-initialized) { display: flex; overflow: hidden; }
.theme-kids .kd-carousel:not(.slick-initialized) .kd-carousel-item { flex: 0 0 20%; }
.theme-kids .kd-carousel .slick-track { display: flex !important; margin-left: 0; margin-right: 0; }
.theme-kids .kd-slider-arrow.slick-hidden { display: none !important; }

/* Category row: promo tile + product carousel */
.theme-kids .kd-catrow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 4fr); gap: 18px; align-items: stretch; }
.theme-kids .kd-catrow .kd-carousel-wrap { min-width: 0; }
.theme-kids .kd-catpromo {
  position: relative; display: block; border-radius: var(--kd-radius); overflow: hidden;
  margin: 6px 0 14px; min-height: 280px; background: var(--kd-navy); color: #fff;
}
.theme-kids .kd-catpromo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.theme-kids .kd-catpromo:hover img { transform: scale(1.06); }
.theme-kids .kd-catpromo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(29,17,69,0) 35%, rgba(29,17,69,.85) 100%); }
.theme-kids .kd-catpromo-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 18px; display: block; }
.theme-kids .kd-catpromo-body small { display: block; font-size: 13px; opacity: .85; }
.theme-kids .kd-catpromo-body strong { display: block; font-size: 20px; font-weight: 800; line-height: 1.2; margin: 2px 0 12px; color: #fff; }
.theme-kids .kd-btn-sm { padding: 7px 14px; font-size: 13px; }
@media (max-width: 991.98px) {
  .theme-kids .kd-catrow { grid-template-columns: 1fr; }
  .theme-kids .kd-catpromo { min-height: 140px; margin-bottom: 0; }
}
.theme-kids .kd-carousel .slick-slide { height: inherit !important; }
.theme-kids .kd-carousel .slick-slide > div { height: 100%; }
.theme-kids .kd-carousel .kd-carousel-item { height: 100%; }

/* Category tiles */
.theme-kids .kd-cattiles { display: grid; gap: 16px; grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 1199.98px) { .theme-kids .kd-cattiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 767.98px) { .theme-kids .kd-cattiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } }
.theme-kids .kd-cattile {
  background: #fff; border-radius: var(--kd-radius); padding: 14px; text-align: center; color: var(--kd-text);
  box-shadow: var(--kd-shadow); transition: transform .25s, box-shadow .25s; display: block;
}
.theme-kids .kd-cattile:hover { transform: translateY(-4px); box-shadow: var(--kd-shadow-hover); color: var(--kd-red); }
.theme-kids .kd-cattile .kd-cattile-img { aspect-ratio: 1; border-radius: 12px; overflow: hidden; margin-bottom: 10px; }
.theme-kids .kd-cattile img { width: 100%; height: 100%; object-fit: cover; }
.theme-kids .kd-cattile h6 { font-size: 15px; font-weight: 700; margin: 0; }
.theme-kids .kd-cattile small { color: var(--kd-muted); font-size: 13px; }

/* Banners */
.theme-kids .kd-banners { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.theme-kids .kd-banners.kd-banners-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 767.98px) { .theme-kids .kd-banners, .theme-kids .kd-banners.kd-banners-3 { grid-template-columns: 1fr; } }
.theme-kids .kd-banner { display: block; border-radius: var(--kd-radius); overflow: hidden; position: relative; aspect-ratio: 16 / 7; background: #ffe7d6; }
.theme-kids .kd-banners-3 .kd-banner { aspect-ratio: 4 / 3; }
.theme-kids .kd-banner img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.theme-kids .kd-banner:hover img { transform: scale(1.04); }
.theme-kids .kd-banner-text {
  position: absolute; inset: 0; padding: 24px 28px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  background: linear-gradient(90deg, rgba(29,17,69,.55) 0%, rgba(29,17,69,0) 65%); color: #fff;
}
.theme-kids .kd-banner-text small { font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: 12px; color: var(--kd-yellow); }
.theme-kids .kd-banner-text h4 { color: #fff; font-size: 24px; font-weight: 800; margin: 4px 0 12px; max-width: 70%; }

/* Newsletter CTA (home) */
.theme-kids .kd-newsletter {
  background: linear-gradient(120deg, var(--kd-navy) 0%, #3b2580 100%); border-radius: var(--kd-radius);
  color: #fff; padding: 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.theme-kids .kd-newsletter::before {
  content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: rgba(255,197,51,.12); left: -80px; bottom: -120px;
}
.theme-kids .kd-newsletter h3 { color: #fff; font-weight: 800; font-size: 28px; margin: 0; }
.theme-kids .kd-newsletter p { margin: 6px 0 0; color: rgba(255,255,255,.8); }
.theme-kids .kd-newsletter form, .theme-kids .kd-news-form {
  display: flex; background: #fff; border-radius: 999px; padding: 5px; min-width: min(460px, 100%); position: relative; z-index: 1;
}
.theme-kids .kd-news-form input { flex: 1; border: 0; outline: 0; padding: 8px 18px; font-size: 15px; border-radius: 999px; min-width: 0; background: transparent; }

/* ==========================================================================
   Product card
   ========================================================================== */
.theme-kids .kd-pcard {
  background: #fff; border-radius: var(--kd-radius); box-shadow: var(--kd-shadow);
  padding: 12px 12px 16px; position: relative; display: flex; flex-direction: column; height: 100%;
  transition: box-shadow .25s, transform .25s;
}
.theme-kids .kd-pcard:hover { box-shadow: var(--kd-shadow-hover); transform: translateY(-3px); }
.theme-kids .kd-pcard-img { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 1; background: var(--kd-bg); display: block; }
.theme-kids .kd-pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, opacity .4s; }
.theme-kids .kd-pcard-img img.kd-hover-img { position: absolute; inset: 0; opacity: 0; }
.theme-kids .kd-pcard:hover .kd-pcard-img img.kd-hover-img { opacity: 1; }
.theme-kids .kd-pcard:hover .kd-pcard-img img { transform: scale(1.05); }
.theme-kids .kd-pcard-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 5px; z-index: 2; align-items: flex-start; }
.theme-kids .kd-pcard-actions {
  position: absolute; top: 10px; right: 10px; z-index: 2; display: flex; flex-direction: column; gap: 6px;
  opacity: 0; transform: translateX(10px); transition: all .25s;
}
.theme-kids .kd-pcard:hover .kd-pcard-actions { opacity: 1; transform: none; }
@media (hover: none) { .theme-kids .kd-pcard-actions { opacity: 1; transform: none; } }
.theme-kids .kd-pcard-actions a, .theme-kids .kd-pcard-actions button {
  width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--kd-text); border: 0;
  display: flex; align-items: center; justify-content: center; font-size: 14px; box-shadow: 0 2px 8px rgba(0,0,0,.1);
}
.theme-kids .kd-pcard-actions a:hover, .theme-kids .kd-pcard-actions a.active, .theme-kids .kd-pcard-actions button:hover { background: var(--kd-red); color: #fff; }
.theme-kids .kd-pcard-body { text-align: center; padding-top: 12px; display: flex; flex-direction: column; flex: 1; }
.theme-kids .kd-pcard-cat { font-size: 12px; color: var(--kd-muted); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 2px; }
.theme-kids .kd-pcard-cat a { color: var(--kd-muted); }
.theme-kids .kd-pcard-title {
  font-size: 15px; font-weight: 600; line-height: 1.35; margin: 0 0 6px; min-height: 2.7em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.theme-kids .kd-pcard-title a { color: var(--kd-text); }
.theme-kids .kd-pcard-title a:hover { color: var(--kd-red); }
.theme-kids .kd-stars { display: inline-flex; align-items: center; gap: 2px; color: #ffb400; font-size: 12px; justify-content: center; }
.theme-kids .kd-stars .far { color: #d8dbe2; }
.theme-kids .kd-stars small { color: var(--kd-muted); margin-left: 4px; font-size: 12px; }
.theme-kids .kd-price { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; margin: 8px 0 12px; }
.theme-kids .kd-price-new { color: var(--kd-red); font-weight: 800; font-size: 18px; }
.theme-kids .kd-price-old { color: var(--kd-muted); text-decoration: line-through; font-size: 14px; }
.theme-kids .kd-pcard .kd-btn { margin-top: auto; width: 100%; padding: 10px 14px; font-size: 14px; }
.theme-kids .kd-pcard-countdown { margin: 0 0 10px; }
.theme-kids .kd-pcard-countdown .product-countdown {
  display: flex; justify-content: center; gap: 4px; position: static !important; transform: none !important;
}
.theme-kids .kd-pcard-countdown .count {
  background: var(--kd-navy); color: #fff; border-radius: 8px; min-width: 42px; padding: 4px 2px; text-align: center; line-height: 1.1;
}
.theme-kids .kd-pcard-countdown .count span { font-size: 14px; font-weight: 700; display: block; color: #fff; }
.theme-kids .kd-pcard-countdown .count .count-label, .theme-kids .kd-pcard-countdown .count small { font-size: 10px; opacity: .8; color: #fff; }
.theme-kids .kd-oos { position: absolute; inset: 0; background: rgba(255,255,255,.6); display: flex; align-items: center; justify-content: center; z-index: 1; }

/* List view card */
.theme-kids .kd-pcard-list { flex-direction: row; gap: 18px; text-align: left; }
.theme-kids .kd-pcard-list .kd-pcard-img { width: 230px; flex-shrink: 0; }
.theme-kids .kd-pcard-list .kd-pcard-body { text-align: left; padding-top: 4px; }
.theme-kids .kd-pcard-list .kd-price, .theme-kids .kd-pcard-list .kd-stars { justify-content: flex-start; }
.theme-kids .kd-pcard-list .kd-btn { width: auto; align-self: flex-start; }
@media (max-width: 575.98px) { .theme-kids .kd-pcard-list { flex-direction: column; } .theme-kids .kd-pcard-list .kd-pcard-img { width: 100%; } }

/* ==========================================================================
   Breadcrumb & page header
   ========================================================================== */
.theme-kids .page-title-area {
  background: #fff !important; background-image: none !important; padding: 26px 0 !important; margin-bottom: 0;
  border-bottom: 1px solid var(--kd-border);
}
.theme-kids .page-title-area.header-next { margin-top: 0 !important; }
.theme-kids .page-title-area .bg-img { display: none; }
.theme-kids .page-title-area .container { max-width: 1480px; padding-left: 16px; padding-right: 16px; }
.theme-kids .page-title-area::before, .theme-kids .page-title-area::after { display: none !important; }
.theme-kids .page-title-area .content { text-align: left !important; }
.theme-kids .page-title-area h1, .theme-kids .page-title-area h2 { color: var(--kd-text) !important; font-size: 30px !important; font-weight: 800 !important; margin-bottom: 6px; }
.theme-kids .page-title-area .breadcrumb { justify-content: flex-start !important; margin: 0; background: transparent; padding: 0; }
.theme-kids .page-title-area .breadcrumb-item, .theme-kids .page-title-area .breadcrumb-item a { color: var(--kd-muted) !important; font-size: 14px; }
.theme-kids .page-title-area .breadcrumb-item.active { color: var(--kd-red) !important; }
.theme-kids .page-title-area img, .theme-kids .page-title-area .shape { display: none !important; }

/* ==========================================================================
   Shop page
   ========================================================================== */
.theme-kids .shop-area { padding-top: 26px !important; padding-bottom: 40px !important; }
.theme-kids .shop-area .widget-area,
.theme-kids .shop-area .sidebar-widget-area {
  background: #fff; border-radius: var(--kd-radius); box-shadow: var(--kd-shadow); padding: 20px; border: 0;
}
.theme-kids .shop-area .widget { border: 0 !important; padding: 0 0 18px !important; margin-bottom: 18px !important; border-bottom: 1px solid var(--kd-border) !important; background: transparent !important; }
.theme-kids .shop-area .widget:last-child { border-bottom: 0 !important; margin-bottom: 0 !important; }
.theme-kids .shop-area .widget .title, .theme-kids .shop-area .widget h4, .theme-kids .shop-area .widget h3 { font-size: 17px !important; font-weight: 700 !important; }
.theme-kids .shop-area .widget a { color: var(--kd-text); }
.theme-kids .shop-area .widget a:hover, .theme-kids .shop-area .widget .active > a, .theme-kids .shop-area .widget a.active { color: var(--kd-red) !important; }
.theme-kids .shop-area .noUi-connect, .theme-kids .shop-area .ui-slider-range { background: var(--kd-red) !important; }
.theme-kids .shop-area .noUi-handle, .theme-kids .shop-area .ui-slider-handle { border-color: var(--kd-red) !important; }
.theme-kids .shop-area .form-check-input:checked, .theme-kids .shop-area input[type=radio]:checked,
.theme-kids .shop-area input[type=checkbox]:checked { background-color: var(--kd-red); border-color: var(--kd-red); accent-color: var(--kd-red); }
.theme-kids .shop-area .product-sort-area {
  background: #fff; border-radius: var(--kd-radius); box-shadow: var(--kd-shadow); padding: 12px 18px !important; margin-bottom: 20px !important; border: 0 !important;
}
.theme-kids .shop-area .product-sort-area select, .theme-kids .shop-area .product-sort-area input,
.theme-kids .shop-area .product-sort-area .nice-select { border-radius: 999px !important; border: 1px solid var(--kd-border) !important; }
.theme-kids .shop-area .product-sort-area .nav-link, .theme-kids .shop-area .product-sort-area .btn-icon {
  width: 38px; height: 38px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: var(--kd-bg); color: var(--kd-text);
}
.theme-kids .shop-area .product-sort-area .nav-link.active, .theme-kids .shop-area .product-sort-area .btn-icon.active { background: var(--kd-red); color: #fff; }
.theme-kids .kd-results { color: var(--kd-muted); font-size: 15px; }
.theme-kids .kd-results strong { color: var(--kd-text); }
.theme-kids .pagination { gap: 6px; justify-content: center; }
.theme-kids .pagination .page-link {
  border-radius: 50% !important; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border: 0; background: #fff; color: var(--kd-text); box-shadow: var(--kd-shadow); font-weight: 600;
}
.theme-kids .pagination .active .page-link, .theme-kids .pagination .page-link:hover { background: var(--kd-red); color: #fff; }

/* ==========================================================================
   Product details
   ========================================================================== */
.theme-kids .kd-pd { padding: 26px 0 30px; }
.theme-kids .kd-pd-main { padding: 24px; }
.theme-kids .kd-pd-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 320px; gap: 28px; }
@media (max-width: 1399.98px) { .theme-kids .kd-pd-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .theme-kids .kd-pd-aside { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; } }
@media (max-width: 991.98px) { .theme-kids .kd-pd-grid { grid-template-columns: 1fr; } .theme-kids .kd-pd-aside { grid-template-columns: 1fr; } }
.theme-kids .kd-gallery-main { border-radius: var(--kd-radius); overflow: hidden; background: var(--kd-bg); aspect-ratio: 1; position: relative; }
.theme-kids .kd-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.theme-kids .kd-gallery-main .kd-pcard-badges { top: 14px; left: 14px; }
.theme-kids .kd-gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.theme-kids .kd-gallery-thumbs button { width: 74px; height: 74px; border-radius: 12px; overflow: hidden; border: 2px solid transparent; padding: 0; background: var(--kd-bg); }
.theme-kids .kd-gallery-thumbs button.active { border-color: var(--kd-red); }
.theme-kids .kd-gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.theme-kids .kd-pd-info h1 { font-size: 28px; font-weight: 800; line-height: 1.25; margin: 10px 0; }
.theme-kids .kd-pd-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.theme-kids .kd-pd-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 14px 0; }
.theme-kids .kd-pd-price .kd-price-new { font-size: 30px; }
.theme-kids .kd-pd-price .kd-price-old { font-size: 18px; }
.theme-kids .kd-pd-summary { color: var(--kd-muted); font-size: 15px; line-height: 1.6; }
.theme-kids .kd-pd-meta { list-style: none; padding: 0; margin: 16px 0 0; font-size: 14px; color: var(--kd-muted); }
.theme-kids .kd-pd-meta li { padding: 3px 0; }
.theme-kids .kd-pd-meta strong { color: var(--kd-text); font-weight: 600; }
.theme-kids .kd-pd-meta a { color: var(--kd-red); }
.theme-kids .kd-countdown-box {
  background: var(--kd-navy); color: #fff; border-radius: 14px; padding: 14px 18px; margin: 14px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}
.theme-kids .kd-countdown-box > span { font-weight: 600; display: flex; align-items: center; gap: 8px; }
.theme-kids .kd-countdown-box .kd-pcard-countdown { margin: 0; }
.theme-kids .kd-countdown-box .count { background: rgba(255,255,255,.12); }
.theme-kids .kd-qty {
  display: inline-flex; align-items: center; border: 1px solid var(--kd-border); border-radius: 999px; overflow: hidden; background: #fff; height: 48px;
}
.theme-kids .kd-qty button { width: 44px; height: 100%; border: 0; background: transparent; font-size: 16px; color: var(--kd-text); }
.theme-kids .kd-qty button:hover { color: var(--kd-red); }
.theme-kids .kd-qty input { width: 48px; text-align: center; border: 0; outline: 0; font-weight: 700; font-size: 16px; background: transparent; -moz-appearance: textfield; }
.theme-kids .kd-qty input::-webkit-outer-spin-button, .theme-kids .kd-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.theme-kids .kd-pd-buy { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 18px 0 10px; }
.theme-kids .kd-pd-buy .kd-btn { flex: 1; min-width: 170px; height: 48px; }
.theme-kids .kd-pd-links { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 8px; }
.theme-kids .kd-pd-links a { color: var(--kd-muted); font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.theme-kids .kd-pd-links a:hover, .theme-kids .kd-pd-links a.active { color: var(--kd-red); }
.theme-kids .kd-pd-variants { margin: 14px 0; }
.theme-kids .kd-pd-variants h6 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.theme-kids .kd-pd-variants .kd-variant-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 12px; }
.theme-kids .kd-pd-variants label {
  border: 1px solid var(--kd-border); border-radius: 999px; padding: 6px 14px; font-size: 14px; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; margin: 0;
}
.theme-kids .kd-pd-variants input:checked + label, .theme-kids .kd-pd-variants label:has(input:checked) { border-color: var(--kd-red); color: var(--kd-red); background: #fde8e9; }
.theme-kids .kd-pd-variants input[type=radio], .theme-kids .kd-pd-variants input[type=checkbox] { accent-color: var(--kd-red); }

.theme-kids .kd-pd-aside > div { margin-bottom: 14px; }
.theme-kids .kd-infocard { border: 1px solid var(--kd-border); border-radius: 14px; padding: 16px; display: flex; gap: 14px; background: #fff; }
.theme-kids .kd-infocard i { font-size: 24px; color: var(--kd-red); width: 32px; text-align: center; flex-shrink: 0; margin-top: 2px; }
.theme-kids .kd-infocard h6 { font-size: 15px; font-weight: 700; margin: 0 0 3px; }
.theme-kids .kd-infocard p { font-size: 13px; color: var(--kd-muted); margin: 0; line-height: 1.45; }
.theme-kids .kd-infocard.kd-infocard-green { background: #e9f8ec; border-color: #c9eed1; }
.theme-kids .kd-infocard.kd-infocard-green i { color: var(--kd-green); }

.theme-kids .kd-pd-tabs-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 20px; }
@media (max-width: 991.98px) { .theme-kids .kd-pd-tabs-grid { grid-template-columns: 1fr; } }
.theme-kids .kd-pd-desc, .theme-kids .kd-pd-reviews { padding: 24px; }
.theme-kids .kd-pd-desc .kd-desc-content { color: #4a4e5a; line-height: 1.7; }
.theme-kids .kd-pd-desc .kd-desc-content img { max-width: 100%; height: auto; border-radius: 12px; }
.theme-kids .kd-review { border-bottom: 1px dashed var(--kd-border); padding: 12px 0; display: flex; gap: 12px; }
.theme-kids .kd-review:last-child { border-bottom: 0; }
.theme-kids .kd-review-avatar { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--kd-bg); }
.theme-kids .kd-review-avatar img { width: 100%; height: 100%; object-fit: cover; }
.theme-kids .kd-review h6 { font-size: 15px; margin: 0; font-weight: 700; }
.theme-kids .kd-review p { margin: 4px 0 0; color: #4a4e5a; font-size: 14px; }
.theme-kids .kd-rating-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.theme-kids .kd-rating-input input { display: none; }
.theme-kids .kd-rating-input label { font-size: 22px; color: #d8dbe2; cursor: pointer; }
.theme-kids .kd-rating-input input:checked ~ label, .theme-kids .kd-rating-input label:hover, .theme-kids .kd-rating-input label:hover ~ label { color: #ffb400; }
.theme-kids .kd-form-control { border: 1px solid var(--kd-border); border-radius: 12px; padding: 10px 14px; width: 100%; outline: 0; font-size: 15px; }
.theme-kids .kd-form-control:focus { border-color: var(--kd-red); }

/* Sticky add-to-cart bar */
.theme-kids .kd-sticky-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 980; background: #fff;
  box-shadow: 0 -6px 20px rgba(29,17,69,.1); transform: translateY(110%); transition: transform .3s;
}
.theme-kids .kd-sticky-bar.show { transform: none; }
.theme-kids .kd-sticky-bar .kd-container { display: flex; align-items: center; gap: 16px; min-height: 72px; }
.theme-kids .kd-sticky-bar img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; }
.theme-kids .kd-sticky-bar h6 { margin: 0; font-size: 15px; font-weight: 700; max-width: 420px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.theme-kids .kd-sticky-bar .kd-btn { height: 46px; }
@media (min-width: 1200px) { .theme-kids .kd-sticky-bar { left: var(--kd-rail); } }
@media (max-width: 767.98px) {
  .theme-kids .kd-sticky-bar { bottom: 60px; }
  .theme-kids .kd-sticky-bar h6, .theme-kids .kd-sticky-bar .kd-sticky-info { display: none; }
  .theme-kids .kd-sticky-bar .kd-btn { flex: 1; padding: 10px; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.theme-kids .kd-footer { background: #fff; margin-top: 30px; border-top: 1px solid var(--kd-border); }
.theme-kids .kd-footer-top { padding: 46px 0 30px; }
.theme-kids .kd-footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1.6fr; gap: 30px; }
@media (max-width: 1199.98px) { .theme-kids .kd-footer-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767.98px) { .theme-kids .kd-footer-grid { grid-template-columns: 1fr 1fr; } .theme-kids .kd-footer-brand, .theme-kids .kd-footer-news { grid-column: 1 / -1; } }
.theme-kids .kd-footer-brand img { max-height: 64px; margin-bottom: 14px; }
.theme-kids .kd-footer-brand p { color: var(--kd-muted); font-size: 14px; line-height: 1.6; }
.theme-kids .kd-footer h5 { font-size: 17px; font-weight: 700; margin: 0 0 16px; color: var(--kd-text); }
.theme-kids .kd-footer ul { list-style: none; padding: 0; margin: 0; }
.theme-kids .kd-footer ul li { margin-bottom: 9px; display: block; }
.theme-kids .kd-footer ul a { color: var(--kd-muted); font-size: 14px; }
.theme-kids .kd-footer ul a:hover { color: var(--kd-red); padding-left: 3px; }
.theme-kids .kd-socials { display: flex; gap: 8px; flex-wrap: wrap; }
.theme-kids .kd-socials a {
  width: 38px; height: 38px; border-radius: 50%; background: var(--kd-bg); color: var(--kd-text);
  display: flex; align-items: center; justify-content: center; font-size: 15px;
}
.theme-kids .kd-socials a:hover { background: var(--kd-red); color: #fff; }
.theme-kids .kd-footer-news .kd-card { background: var(--kd-bg); box-shadow: none; padding: 22px; }
.theme-kids .kd-footer-news p { color: var(--kd-muted); font-size: 14px; }
.theme-kids .kd-footer-news .kd-news-form { min-width: 0; border: 1px solid var(--kd-border); }
.theme-kids .kd-cod {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; background: #e9f8ec; color: var(--kd-green-dark);
  border-radius: 12px; padding: 10px 14px; font-weight: 600; font-size: 14px;
}
.theme-kids .kd-cod i { font-size: 20px; }
.theme-kids .kd-footer ul.kd-footer-contact li { display: flex; gap: 10px; color: var(--kd-muted); font-size: 14px; }
.theme-kids .kd-footer-contact i { color: var(--kd-red); margin-top: 3px; }
.theme-kids .kd-footer-bottom { background: var(--kd-navy); color: rgba(255,255,255,.8); font-size: 14px; }
.theme-kids .kd-footer-bottom .kd-container { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.theme-kids .kd-footer-bottom a { color: #fff; }
.theme-kids .kd-pay { display: flex; gap: 10px; font-size: 26px; color: #fff; opacity: .85; }

@media (max-width: 1199.98px) { .theme-kids .kd-footer { padding-bottom: 60px; } }

/* Misc fixes for legacy components inside the kids skin */
.theme-kids .go-top {
  background: var(--kd-red) !important; border-radius: 50% !important;
  right: 18px !important; bottom: 24px !important; width: 46px; height: 46px;
}
.theme-kids .floating-wpp {
  left: auto !important;
  right: 18px !important;
  bottom: 84px !important;
  z-index: 1010 !important;
}
.theme-kids .floating-wpp .floating-wpp-popup {
  right: 0 !important;
  left: auto !important;
}
.theme-kids .main-navbar, .theme-kids .header-area { font-family: inherit; }
.theme-kids .modal-content { border-radius: var(--kd-radius); border: 0; }
.theme-kids .toast-success { background-color: var(--kd-green) !important; }
.theme-kids .btn-primary, .theme-kids .btn.btn-primary { background: var(--kd-red) !important; border-color: var(--kd-red) !important; border-radius: 999px; }
.theme-kids .color-primary { color: var(--kd-red) !important; }

/* tiktok-icon-polyfill */
.fab.fa-tiktok {
  position: relative;
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
}
.fab.fa-tiktok:before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='black' d='M448 209.9a210.1 210.1 0 0 1-122.8-39.3v178.7A162.6 162.6 0 1 1 185 188.3v89.9a74.6 74.6 0 1 0 52.2 71.2V0h88a121.2 121.2 0 0 0 1.9 22.2 122.2 122.2 0 0 0 54.9 83.5A121.4 121.4 0 0 0 448 209.9z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='black' d='M448 209.9a210.1 210.1 0 0 1-122.8-39.3v178.7A162.6 162.6 0 1 1 185 188.3v89.9a74.6 74.6 0 1 0 52.2 71.2V0h88a121.2 121.2 0 0 0 1.9 22.2 122.2 122.2 0 0 0 54.9 83.5A121.4 121.4 0 0 0 448 209.9z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.kd-socials a .fab.fa-tiktok {
  color: inherit;
}
