/* ============================================================
   KKC Kart Components — eBay Listing Template
   ============================================================ */

.kkc-wrap {
  --kkc-blue: #273c99;
  --text: #1a1a1a;
  --muted: #6b7280;
  --line: #e7e9ee;
  --soft: #f7f8fb;
  --soft2: #fbfbfd;
  font-family: Arial, Helvetica, sans-serif;
  max-width: 960px;
  margin: 0 auto;
  color: var(--text);
  line-height: 1.5;
}

.kkc-wrap,
.kkc-wrap * {
  box-sizing: border-box !important;
}

.kkc-wrap img {
  max-width: 100%;
  display: block;
  height: auto;
}

.kkc-wrap a {
  color: var(--kkc-blue);
  text-decoration: none;
}

/* ── Accent bar ─────────────────────────────────────────── */
.kkc-accent-bar {
  height: 4px;
  background: var(--kkc-blue);
  border-radius: 4px 4px 0 0;
}

/* ── Header ─────────────────────────────────────────────── */
.kkc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 10px 18px;
  border-bottom: 1px solid var(--line);
}

.kkc-logo img {
  height: 64px;
  width: auto;
}

.kkc-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.kkc-links a {
  font-size: 13px;
  color: #111;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  transition: border-color 0.15s;
}

.kkc-links a:hover {
  border-color: var(--kkc-blue);
}

/* ── Hero ───────────────────────────────────────────────── */
.kkc-hero {
  margin: 18px 10px 20px;
  background: linear-gradient(180deg, #ffffff 0%, #fafbff 100%);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}

.kkc-hero-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 0;
  align-items: stretch;
}

.kkc-hero-imagewrap {
  background: var(--soft);
  padding: 20px;
  border-right: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}

.kkc-hero-image {
  width: 100%;
  height: 220px;
  object-fit: contain;
}

.kkc-hero-content {
  padding: 24px 26px;
}

.kkc-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--kkc-blue);
  font-weight: 700;
  margin-bottom: 10px;
}

.kkc-h1 {
  margin: 0 0 12px;
  font-size: 26px;
  line-height: 1.2;
  color: #111;
}

.kkc-meta {
  margin-bottom: 16px;
}

.kkc-sku {
  display: inline-block;
  font-size: 12px;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
}

.kkc-keypoints {
  display: grid;
  gap: 9px;
  margin-bottom: 18px;
}

.kkc-keypoint {
  font-size: 14px;
  color: #222;
  padding-left: 20px;
  position: relative;
}

.kkc-keypoint::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--kkc-blue);
}

.kkc-hero-note {
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

/* ── General sections ───────────────────────────────────── */
.kkc-section {
  margin: 0 10px 20px;
  padding: 0 0 20px;
  border-bottom: 1px solid var(--line);
}

.kkc-section-soft {
  background: var(--soft2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 22px;
}

.kkc-h2 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.2;
  color: #111;
}

.kkc-h3 {
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 1.25;
  color: #111;
}

.kkc-desc-body {
  font-size: 15px;
  color: #222;
  line-height: 1.6;
}

.kkc-muted {
  color: var(--muted);
  font-size: 13px;
  margin: 6px 0 0;
}

/* ── Feature row ────────────────────────────────────────── */
.kkc-feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  margin: 0 10px 20px;
}

.kkc-feature {
  background: var(--soft2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 16px;
}

.kkc-feature-icon {
  font-size: 22px;
  margin-bottom: 10px;
  line-height: 1;
}

.kkc-feature p {
  margin: 0;
  font-size: 13px;
  color: #4b5563;
  line-height: 1.5;
}

/* ── Split content ──────────────────────────────────────── */
.kkc-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 0 10px 20px;
}

.kkc-split-block p {
  margin: 0 0 10px;
  font-size: 14px;
  color: #374151;
}

/* ── Click & Collect ────────────────────────────────────── */
.kkc-collect-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.kkc-collect-grid > div:first-child p {
  margin: 0 0 8px;
  font-size: 14px;
  color: #374151;
}

.kkc-collect-badge {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 22px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

.kkc-collect-icon {
  font-size: 32px;
  line-height: 1;
}

.kkc-collect-badge strong {
  color: var(--kkc-blue);
}

/* ── Related items ──────────────────────────────────────── */
.kkc-related-wrap {
  overflow: hidden;
}

.kkc-related-wrap .product#Samecategoryitems6 {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 14px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  padding: 2px 2px 10px !important;
  -webkit-overflow-scrolling: touch;
}

.kkc-related-wrap .product#Samecategoryitems6 .prod {
  flex: 0 0 185px !important;
  max-width: 185px !important;
  background: #fff !important;
  border: 1px solid var(--line) !important;
  border-radius: 16px !important;
  padding: 10px !important;
  overflow: hidden !important;
}

.kkc-related-wrap .product#Samecategoryitems6 .image {
  margin: 0 0 8px !important;
}

.kkc-related-wrap .product#Samecategoryitems6 .image img {
  width: 100% !important;
  height: 135px !important;
  object-fit: contain !important;
  border-radius: 10px !important;
  background: var(--soft) !important;
}

.kkc-related-wrap .product#Samecategoryitems6 .title {
  font-size: 13px !important;
  line-height: 1.35 !important;
  height: 36px !important;
  overflow: hidden !important;
  margin-bottom: 6px !important;
}

.kkc-related-wrap .product#Samecategoryitems6 .title a {
  color: #111 !important;
  text-decoration: none !important;
}

.kkc-related-wrap .product#Samecategoryitems6 .price p {
  margin: 0 0 8px !important;
  font-weight: 700 !important;
  color: #111 !important;
  font-size: 14px !important;
}

.kkc-related-wrap .product#Samecategoryitems6 .btn a {
  display: block !important;
  text-align: center !important;
  border: 1px solid var(--line) !important;
  background: var(--soft2) !important;
  color: #111 !important;
  border-radius: 10px !important;
  padding: 9px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

/* ── Footer ─────────────────────────────────────────────── */
.kkc-footer {
  margin: 24px 10px 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.kkc-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.kkc-footer-inner p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.kkc-footer-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.kkc-footer-links a {
  font-size: 13px;
  color: #111;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
}

/* ── Mobile description only ────────────────────────────── */
.kkc-desc-only {
  display: none;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .kkc-template {
    display: none !important;
  }
  .kkc-desc-only {
    display: block !important;
    padding: 12px 10px;
  }
  .kkc-desc-only .kkc-desc-body {
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px;
    background: #fff;
  }
}

@media (max-width: 900px) {
  .kkc-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .kkc-hero-grid {
    grid-template-columns: 210px 1fr;
  }
  .kkc-feature-row {
    grid-template-columns: 1fr;
  }
  .kkc-split {
    grid-template-columns: 1fr;
  }
  .kkc-footer-inner {
    flex-direction: column;
  }
  .kkc-collect-grid {
    flex-direction: column;
    align-items: flex-start;
  }
  .kkc-collect-badge {
    flex-direction: row;
    width: 100%;
    justify-content: flex-start;
    padding: 14px 16px;
  }
}

@media (max-width: 680px) {
  .kkc-hero-grid {
    grid-template-columns: 1fr;
  }
  .kkc-hero-imagewrap {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
}

