/* ================================================================
   JouwKeukenOnline.nl — Custom Theme CSS
   Clean rewrite — no duplicate rules
   ================================================================ */

/* ----------------------------------------------------------------
   1. GLOBAL IDENTITY
   ---------------------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;700&family=Poppins:wght@400;500;600;700;800&display=swap');

html, body {
  overflow-x: hidden !important;
}

body {
  background:
    radial-gradient(circle at 8% 12%, rgba(220, 111, 36, 0.07), transparent 280px),
    radial-gradient(circle at 92% 20%, rgba(25, 59, 47, 0.07), transparent 340px),
    #fbf7f0;
  color: #1f1a16;
  font-family: Poppins, Arial, sans-serif;
}

body::before {
  content: "";
  background-image: url("../images/jko-cat-showroom.png"), url("../images/jko-cat-apparatuur.png");
  background-position: left 2vw top 180px, right 2vw top 420px;
  background-repeat: no-repeat;
  background-size: 128px auto, 110px auto;
  inset: 0;
  opacity: 0.04;
  pointer-events: none;
  position: fixed;
  z-index: 0;
}

/* ----------------------------------------------------------------
   2. STICKY HEADER
   ---------------------------------------------------------------- */

body > header {
  background: #fffaf3;
  border-bottom: 1px solid rgba(234, 216, 192, 0.6);
  position: relative;
  z-index: 10200 !important;
}

body > header .inside {
  max-width: 1150px !important;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hide the top bar with blog/company links on all pages */
body > header .relative1 {
  display: none;
}

body > header .relative2 {
  align-items: center;
  display: flex;
  min-height: 70px;
}

body > header .left,
body > header .right {
  float: none;
}

body > header .left {
  width: auto;
  flex: 0 0 auto;
}

body > header .right {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  gap: 14px;
  margin-left: auto;
  width: auto;
}

/* Logo */
header .logo img {
  display: block;
  max-height: 72px;
  width: auto;
}

header .logo a {
  display: inline-flex;
  align-items: center;
}

/* Header category megamenu */
.jko-secondary-header {
  background: #fffaf3;
  border-bottom: 1px solid rgba(234, 216, 192, 0.72);
  clear: both;
  position: relative;
  width: 100%;
  z-index: 10100 !important;
}

.jko-secondary-header-inner {
  margin: 0 auto;
  max-width: 1150px;
  padding: 12px 20px;
}

.jko-megamenu {
  align-items: center;
  display: grid;
  gap: 16px;
  grid-template-columns: 205px minmax(0, 1fr);
  position: relative;
  z-index: 10090;
}

.jko-megamenu::after {
  content: "";
  height: 16px;
  left: 0;
  position: absolute;
  right: 0;
  top: 100%;
}

.jko-megamenu-trigger {
  align-items: center;
  background: linear-gradient(135deg, #b87325, #9b631d);
  border: 0;
  border-radius: 8px;
  box-shadow: 0 14px 28px rgba(155, 99, 29, 0.22);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  gap: 12px;
  height: 48px;
  justify-content: space-between;
  letter-spacing: 0;
  padding: 0 18px;
  text-transform: uppercase;
  width: 100%;
}

.jko-megamenu-trigger i {
  color: inherit;
  font-size: 14px;
}

.jko-megamenu-trigger i:last-child {
  font-size: 11px;
  transition: transform 0.18s ease;
}

.jko-megamenu.is-open .jko-megamenu-trigger i:last-child {
  transform: rotate(180deg);
}

.jko-megamenu-search {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(226, 211, 194, 0.95);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(74, 47, 21, 0.08);
  display: grid;
  gap: 12px;
  grid-template-columns: 24px minmax(0, 1fr) 118px;
  height: 48px;
  padding: 6px 8px 6px 16px;
}

.jko-megamenu-search > i {
  color: #193b2f;
  font-size: 18px;
}

.jko-megamenu-search input {
  background: transparent;
  border: 0;
  color: #193b2f;
  font-size: 13px;
  font-weight: 600;
  height: 100%;
  min-width: 0;
  outline: none;
  padding: 0;
}

.jko-dynamic-search {
  min-width: 0;
  position: relative;
  width: 100%;
}

.jko-dynamic-search > input {
  width: 100%;
}

.jko-dynamic-results {
  background: #fff;
  border: 1px solid #ead8c0;
  border-radius: 14px;
  box-shadow: 0 20px 48px rgba(74, 47, 21, 0.16);
  display: none;
  left: 0;
  max-height: 620px;
  overflow: auto;
  padding: 14px;
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 10070;
}

.jko-megamenu-search .jko-dynamic-results {
  left: -40px;
  right: -130px;
}

.jko-megamenu-search input::placeholder {
  color: #82766d;
  font-weight: 500;
}

.jko-megamenu-search button {
  background: linear-gradient(135deg, #c47a29, #a7641c);
  border: 0;
  border-radius: 7px;
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
  height: 36px;
  padding: 0 16px;
}

.jko-megamenu-panel {
  background: #fff;
  border: 1px solid rgba(226, 211, 194, 0.86);
  border-radius: 8px;
  box-shadow: 0 24px 58px rgba(74, 47, 21, 0.14);
  left: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: calc(100% + 14px);
  transform: translateY(-8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 10120;
}

.jko-megamenu.is-open .jko-megamenu-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.jko-megamenu-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.jko-megamenu-col {
  display: flex;
  flex-direction: column;
  min-height: 430px;
  padding: 28px 22px 24px;
  position: relative;
}

.jko-megamenu-col + .jko-megamenu-col {
  border-left: 1px solid rgba(226, 211, 194, 0.72);
}

.jko-megamenu-head {
  color: #193b2f;
  display: grid;
  gap: 14px;
  grid-template-columns: 56px minmax(0, 1fr);
  margin-bottom: 24px;
  text-decoration: none;
}

.jko-megamenu-head:hover {
  color: #dc6f24;
  text-decoration: none;
}

.jko-megamenu-icon {
  align-items: center;
  background: #fff4e6;
  border: 1px solid rgba(226, 211, 194, 0.72);
  border-radius: 50%;
  color: #193b2f;
  display: inline-flex;
  font-size: 22px;
  height: 56px;
  justify-content: center;
  width: 56px;
}

.jko-megamenu-head small {
  color: #b87325;
  display: block;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 7px;
  text-transform: uppercase;
}

.jko-megamenu-head strong {
  color: #17120f;
  display: block;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 9px;
  text-transform: uppercase;
}

.jko-megamenu-head em {
  color: #6d625a;
  display: block;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.55;
}

.jko-megamenu-links {
  display: grid;
  gap: 13px;
}

.jko-megamenu-links a {
  align-items: center;
  color: #201b17;
  display: grid;
  font-size: 13px;
  font-weight: 650;
  gap: 12px;
  grid-template-columns: 32px minmax(0, 1fr) 12px;
  min-height: 42px;
  text-decoration: none;
}

.jko-megamenu-links a:hover {
  color: #dc6f24;
  text-decoration: none;
}

.jko-megamenu-links i:first-child {
  align-items: center;
  border: 1px solid rgba(25, 59, 47, 0.18);
  border-radius: 7px;
  color: #193b2f;
  display: inline-flex;
  font-size: 14px;
  height: 32px;
  justify-content: center;
  width: 32px;
}

.jko-megamenu-links i:last-child {
  color: #b87325;
  font-size: 10px;
}

.jko-megamenu-cta {
  align-items: center;
  color: #b87325;
  display: flex;
  font-size: 13px;
  font-weight: 850;
  gap: 10px;
  justify-content: space-between;
  line-height: 1.35;
  margin-top: auto;
  padding-top: 28px;
  text-decoration: none;
}

.jko-megamenu-cta:hover {
  color: #dc6f24;
  text-decoration: none;
}

.jko-megamenu-benefits {
  background: #fffaf3;
  border-top: 1px solid rgba(226, 211, 194, 0.76);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 20px 22px;
}

.jko-megamenu-benefit {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: 46px minmax(0, 1fr);
  padding: 0 18px;
}

.jko-megamenu-benefit + .jko-megamenu-benefit {
  border-left: 1px solid rgba(226, 211, 194, 0.82);
}

.jko-megamenu-benefit > i {
  align-items: center;
  background: #fff4e6;
  border: 1px solid rgba(226, 211, 194, 0.72);
  border-radius: 50%;
  color: #193b2f;
  display: inline-flex;
  font-size: 17px;
  height: 46px;
  justify-content: center;
  width: 46px;
}

.jko-megamenu-benefit strong {
  color: #17120f;
  display: block;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
}

.jko-megamenu-benefit small {
  color: #6d625a;
  display: block;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
  margin-top: 4px;
}

/* Hide logout text link — we use it inside the dropdown */
body > header .logout {
  display: none !important;
}

/* Show logout inside user dropdown */
header .link-box .logout {
  display: block !important;
}

/* Account icon */
.jko-head-icon {
  align-items: center;
  color: #201b17;
  display: inline-flex;
  font-size: 22px;
  height: 38px;
  justify-content: center;
  width: 38px;
  border-radius: 50%;
  transition: background 0.2s ease;
}

.jko-head-icon:hover {
  background: rgba(220, 111, 36, 0.1);
  color: #dc6f24;
}

/* Publish button */
body > header .publish.btn {
  background: linear-gradient(135deg, #e68132, #c95e18) !important;
  border: 0 !important;
  border-radius: 8px !important;
  box-shadow: 0 10px 24px rgba(220, 111, 36, 0.22) !important;
  color: #fff !important;
  min-height: 42px;
  padding: 0 16px !important;
}

body > header .publish.btn span,
body > header .publish.btn .mbCl2 {
  color: #fff !important;
}

body > header .publish.btn svg {
  display: none;
}

/* --- Clean header action buttons --- */
body > header .right .favorite.svi-show-saved,
body > header .right .jko-blog-btn {
  align-items: center;
  background: rgba(25, 59, 47, 0.06);
  border: 1px solid rgba(220, 111, 36, 0.2);
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(74, 47, 21, 0.06);
  color: #193b2f;
  display: inline-flex;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  height: 42px;
  justify-content: center;
  padding: 0 14px;
  position: relative;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}

body > header .right .favorite.svi-show-saved:hover,
body > header .right .jko-blog-btn:hover {
  background: rgba(25, 59, 47, 0.1);
  color: #dc6f24;
}

body > header .right .jko-blog-btn i {
  color: #dc6f24;
  margin-right: 6px;
}

body > header .right .jko-messages-btn {
  align-items: center !important;
  background: #193b2f !important;
  border: 1px solid rgba(25, 59, 47, 0.16) !important;
  border-radius: 8px !important;
  box-shadow: 0 10px 24px rgba(25, 59, 47, 0.18) !important;
  color: #fff !important;
  display: inline-flex !important;
  flex-shrink: 0 !important;
  gap: 8px !important;
  height: 42px !important;
  justify-content: center !important;
  line-height: 1 !important;
  min-width: 42px !important;
  padding: 0 14px !important;
  position: relative !important;
  text-decoration: none !important;
  transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease !important;
  white-space: nowrap !important;
}

body > header .right .jko-messages-btn:hover {
  background: #244b3e !important;
  box-shadow: 0 12px 28px rgba(25, 59, 47, 0.24) !important;
  color: #fff !important;
  transform: translateY(-1px);
}

body > header .right .jko-messages-btn i {
  color: #fff !important;
  flex: 0 0 auto !important;
  font-size: 16px !important;
  line-height: 1 !important;
  margin: 0 !important;
}

body > header .right .jko-messages-btn .jko-btn-text {
  color: inherit !important;
  display: inline-block !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}

body > header .right .jko-messages-btn .jko-messages-badge {
  align-items: center !important;
  background: #dc6f24 !important;
  border: 2px solid #fffaf4 !important;
  border-radius: 999px !important;
  box-shadow: 0 5px 12px rgba(220, 111, 36, 0.34) !important;
  color: #fff !important;
  display: inline-flex !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  height: 18px !important;
  justify-content: center !important;
  line-height: 1 !important;
  min-width: 18px !important;
  padding: 0 5px !important;
  position: absolute !important;
  right: -6px !important;
  top: -6px !important;
}

/* User account dropdown */
header .user-menu {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(234, 216, 192, 0.7) !important;
  border-radius: 14px !important;
  box-shadow: 0 20px 48px rgba(74, 47, 21, 0.14) !important;
  padding: 0 !important;
  overflow: hidden;
  top: calc(100% + 10px) !important;
  z-index: 99999 !important;
}

header .user-menu:after {
  display: none !important;
}

header .user-menu .ins {
  background: transparent !important;
  padding: 16px 18px;
}

header .user-menu .ins a {
  color: #423a33 !important;
  font-size: 14px;
  transition: color 0.15s ease;
}

header .user-menu .ins a:hover {
  color: #dc6f24 !important;
}

/* ----------------------------------------------------------------
   3. SECONDARY NAV (Mega Menu bar)
   ---------------------------------------------------------------- */

.jko-secondary-nav {
  background: #ffffff;
  border-bottom: 1px solid rgba(234, 216, 192, 0.55);
  box-shadow: 0 4px 16px rgba(74, 47, 21, 0.05);
  position: relative;
  z-index: 10070;
  overflow: visible;
}

.jko-secondary-nav > .inside {
  max-width: 1150px !important;
  margin: 0 auto;
  padding: 0 20px;
  overflow: visible;
}

/* ----------------------------------------------------------------
   4. MAIN NAV & MEGA MENU
   ---------------------------------------------------------------- */

.jko-main-nav {
  align-items: center;
  display: flex;
  gap: 6px;
  height: 56px;
  justify-content: center;
  overflow: visible;
}

.jko-nav-item {
  position: relative;
  height: 56px;
  display: flex;
  align-items: center;
  overflow: visible;
  z-index: 10075;
}

.jko-nav-link {
  align-items: center;
  color: #201b17;
  display: flex;
  font-size: 14px;
  font-weight: 500;
  gap: 4px;
  padding: 6px 12px;
  border-radius: 8px;
  position: relative;
  transition: color 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.jko-nav-link:hover,
.jko-nav-item:hover > .jko-nav-link {
  color: #dc6f24;
  background: rgba(220, 111, 36, 0.07);
}

.jko-nav-arrow {
  flex: 0 0 auto;
  transition: transform 0.2s ease;
}

.jko-nav-item:hover .jko-nav-arrow {
  transform: rotate(180deg);
}

/* ── Mega Menu dropdown ── */

.jko-legacy-megamenu {
  background: rgba(255, 252, 248, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(234, 216, 192, 0.7);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(74, 47, 21, 0.13);
  left: 50%;
  opacity: 0;
  padding: 20px;
  pointer-events: none;
  position: absolute;
  top: calc(100% + 4px);
  transform: translateX(-50%) translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  visibility: hidden;
  width: 520px;
  z-index: 10110;
}

/* Bridge to keep hover alive when moving from link to dropdown */
.jko-legacy-megamenu::before {
  content: "";
  height: 12px;
  left: 0;
  position: absolute;
  right: 0;
  top: -12px;
}

.jko-nav-item:hover .jko-legacy-megamenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  visibility: visible;
}

.jko-legacy-megamenu-inner {
  align-items: start;
  display: grid;
  gap: 16px;
  grid-template-columns: 1.2fr 1fr;
}

.jko-legacy-megamenu-links {
  display: grid;
  gap: 4px;
}

.jko-legacy-megamenu-links a {
  align-items: center;
  border-radius: 10px;
  color: #3a3028;
  display: flex;
  font-size: 13.5px;
  font-weight: 500;
  gap: 10px;
  padding: 9px 10px;
  transition: background 0.15s ease, color 0.15s ease;
}

.jko-legacy-megamenu-links a:hover {
  background: #fff4ea;
  color: #dc6f24;
}

.jko-mm-icon {
  align-items: center;
  background: #fbeadc;
  border: 1px solid #f0cdaa;
  border-radius: 9px;
  color: #d96c1f;
  display: inline-flex;
  flex: 0 0 34px;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.jko-mm-icon svg {
  height: 18px;
  width: 18px;
}

.jko-legacy-megamenu-promo {
  align-items: center;
  background: rgba(253, 248, 242, 0.8);
  border: 1px solid rgba(234, 216, 192, 0.5);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 180px;
  justify-content: center;
  padding: 12px;
  position: relative;
}

.jko-legacy-megamenu-promo img {
  height: 120px;
  max-width: 100%;
  object-fit: contain;
}

.jko-mm-promo-label {
  background: #193b2f;
  border-radius: 999px;
  bottom: 12px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  left: 50%;
  padding: 6px 12px;
  position: absolute;
  transform: translateX(-50%);
  white-space: nowrap;
}

/* ----------------------------------------------------------------
   5. MOBILE APP NAV
   ---------------------------------------------------------------- */

.jko-mobile-appnav {
  display: none;
}

/* ----------------------------------------------------------------
   6. CONTENT WRAPPER
   ---------------------------------------------------------------- */

body > header,
body > .jko-secondary-nav,
body > section.content,
body > footer,
.jko-shell {
  position: relative;
}

/* Override to ensure header/secondary-nav are on top */
body > header { z-index: 10200 !important; }
body > .jko-secondary-nav { z-index: 10070; }

/* ----------------------------------------------------------------
   7. HOME PAGE — HERO & SEARCH
   ---------------------------------------------------------------- */

.jko-home header {
  border-radius: 0 0 14px 14px;
}

.jko-home header .relative1,
.jko-home #bread,
.jko-home .flash-box:empty {
  display: none;
}

.jko-home header .left {
  float: none;
  width: auto;
}

.jko-home header .right {
  float: none;
  width: auto;
}

.jko-home header .logo img {
  display: block !important;
}

.jko-shell {
  margin: 10px auto 0;
  max-width: 1150px !important;
  padding: 0 20px 32px;
}

.jko-hero {
  aspect-ratio: 1500 / 350;
  background-position: center;
  background-size: cover;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 60px;
  overflow: visible;
  padding: 60px;
  position: relative;
}

.jko-hero::before {
  background: linear-gradient(to right,
    rgba(255, 250, 243, 0.96) 0%,
    rgba(255, 250, 243, 0.72) 42%,
    rgba(255, 250, 243, 0) 100%);
  border-radius: 14px 0 0 14px;
  bottom: 0;
  content: "";
  left: 0;
  position: absolute;
  top: 0;
  width: 60%;
  z-index: 1;
}

.jko-hero-copy {
  max-width: 500px;
  position: relative;
  z-index: 2;
}

.jko-hero-copy h1 {
  color: #1e1915;
  font-family: Lora, Georgia, serif;
  font-size: 54px;
  line-height: 1.1;
  margin: 0 0 16px;
}

.jko-hero-copy p {
  color: #423a33;
  font-size: 18px;
  line-height: 1.5;
  margin: 0;
}

/* Search bar & Action bar below slider */
.jko-search-action-bar {
  display: none !important;
}

.jko-search-action-inner {
  width: min(1140px, 95%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.jko-mobile-home-search {
  display: none;
}

.jko-search {
  align-items: flex-end;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid #ead8c0;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(74, 47, 21, 0.08);
  display: flex;
  gap: 16px;
  padding: 22px;
  width: 100%;
}

@media (max-width: 767px) {
}

.jko-publish-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #dc6f24;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(220, 111, 36, 0.3);
  transition: all 0.3s ease;
}

.jko-publish-btn:hover {
  background: #193b2f;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(25, 59, 47, 0.4);
}

.jko-search label {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
}

.jko-search label:first-of-type {
  flex: 1.5;
}

.jko-search label span {
  color: #5a4b3f;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.jko-input-wrapper {
  align-items: center;
  background: #fff;
  border: 1px solid #e2d2c2;
  border-radius: 10px;
  display: flex;
  height: 50px;
  padding: 0 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.jko-search #location-picker {
  align-items: center;
  display: flex;
  float: none;
  height: 50px;
  margin: 0;
  position: relative;
  width: 100%;
}

.jko-input-wrapper:focus-within {
  border-color: #dc6f24;
  box-shadow: 0 0 0 3px rgba(220, 111, 36, 0.1);
}

.jko-input-wrapper input,
.jko-input-wrapper select {
  background: transparent;
  border: 0;
  color: #241f1b;
  flex: 1;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  outline: 0;
  padding: 0;
  width: 100%;
}

.jko-input-wrapper input::placeholder {
  color: #a8947e;
  font-weight: 400;
}

.jko-input-wrapper i {
  color: #b8a48e;
  font-size: 14px;
  margin-left: 10px;
}

.jko-search button {
  background: linear-gradient(135deg, #e98433, #c8621b);
  border: 0;
  border-radius: 10px;
  box-shadow: 0 12px 24px rgba(216, 108, 32, 0.24);
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  height: 50px;
  padding: 0 32px;
  transition: background 0.2s ease, transform 0.1s ease;
  white-space: nowrap;
}

.jko-search button:hover {
  background: linear-gradient(135deg, #f09543, #bc5816);
  transform: translateY(-1px);
}

.jko-search button:active {
  transform: scale(0.98);
}

#home-search .query-picker {
  position: relative;
  width: 100%;
}

#home-search .query-picker .shower-wrap {
  left: 0;
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 120;
}

#home-search .query-picker .shower {
  background: #fff;
  border: 1px solid #ead8c0;
  border-radius: 14px;
  box-shadow: 0 20px 48px rgba(74, 47, 21, 0.16);
  max-height: 620px;
  overflow: auto;
  padding: 14px;
}

.query-picker .jko-query-head,
.jko-dynamic-results .jko-query-head {
  align-items: baseline;
  color: #193b2f;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 12px;
}

.query-picker .jko-query-head span,
.jko-dynamic-results .jko-query-head span {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.query-picker .jko-query-head strong,
.jko-dynamic-results .jko-query-head strong {
  font-size: 12px;
  font-weight: 700;
  color: #8d7b68;
}

.query-picker .jko-query-scroll,
.jko-dynamic-results .jko-query-scroll {
  overflow: auto;
  max-height: 540px;
  padding-right: 2px;
}

.query-picker .jko-query-grid,
.jko-dynamic-results .jko-query-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.query-picker .jko-query-card,
.jko-dynamic-results .jko-query-card {
  background: #fff;
  border: 1px solid #ead8c0;
  border-radius: 12px;
  color: #201b17;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.query-picker .jko-query-card:hover,
.jko-dynamic-results .jko-query-card:hover {
  border-color: rgba(220, 111, 36, 0.38);
  box-shadow: 0 12px 24px rgba(74, 47, 21, 0.12);
  transform: translateY(-1px);
}

.query-picker .jko-query-image,
.jko-dynamic-results .jko-query-image {
  aspect-ratio: 1.15;
  background: #f6f2ec;
  display: block;
  overflow: hidden;
}

.query-picker .jko-query-image img,
.jko-dynamic-results .jko-query-image img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.query-picker .jko-query-body,
.jko-dynamic-results .jko-query-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 10px 10px 12px;
}

.query-picker .jko-query-title,
.jko-dynamic-results .jko-query-title {
  color: #193b2f;
  display: -webkit-box;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  min-height: 35px;
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: break-word;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  white-space: normal;
}

.query-picker .jko-query-location,
.jko-dynamic-results .jko-query-location {
  color: #6d625a;
  display: -webkit-box;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  white-space: normal;
}

.query-picker .jko-query-location .sep,
.jko-dynamic-results .jko-query-location .sep {
  color: #c9b9a8;
  font-size: 10px;
}

.query-picker .jko-query-price,
.jko-dynamic-results .jko-query-price {
  color: #dc6f24;
  font-size: 14px;
  font-weight: 800;
}

.query-picker .jko-query-empty,
.jko-dynamic-results .jko-query-empty {
  color: #6d625a;
  font-size: 13px;
  padding: 8px 2px 4px;
}

.query-picker .jko-query-empty strong,
.jko-dynamic-results .jko-query-empty strong {
  color: #193b2f;
}

.query-picker .jko-query-foot,
.jko-dynamic-results .jko-query-foot {
  background: linear-gradient(180deg, rgba(255,255,255,0.94), #fff 28%);
  border-top: 1px solid #f0e3d4;
  margin-top: 12px;
  padding-top: 12px;
  position: sticky;
  bottom: 0;
  text-align: right;
  z-index: 2;
}

.query-picker .jko-query-foot a,
.jko-dynamic-results .jko-query-foot a {
  color: #b87325;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.query-picker .jko-query-foot a:hover,
.jko-dynamic-results .jko-query-foot a:hover {
  color: #dc6f24;
}


/* ----------------------------------------------------------------
   8. HOME — CATEGORY GRID
   ---------------------------------------------------------------- */

/* ── CATEGORY GRID — PREMIUM REDESIGN ───────────────────────── */

.jko-category-section {
  margin: 32px auto 48px;
  max-width: 1150px !important;
  padding: 0 20px;
}

.jko-category-section-head {
  align-items: flex-end;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin: 0 0 16px;
}

.jko-category-section-head h2 {
  color: #193b2f;
  font-family: Lora, Georgia, serif;
  font-size: 30px;
  line-height: 1.1;
  margin: 0;
}

.jko-category-section-head a {
  color: #dc6f24;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.jko-category-section-head a span {
  display: inline-block;
  margin-left: 4px;
}

.jko-category-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  max-width: none !important;
  padding: 0;
}

.jko-category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(234,216,192,0.5);
  box-shadow: 0 2px 16px rgba(74,47,21,0.07);
  transition: transform 0.28s cubic-bezier(.22,.68,0,1.2), box-shadow 0.28s ease;
}

.jko-category-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 16px 40px rgba(74,47,21,0.14);
}

/* Image wrapper — fixed height, illustration fills it */
.jko-category-card-img-wrap {
  width: 100%;
  height: 180px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #fdf4e8 0%, #f0e6d4 100%);
  flex-shrink: 0;
}

.jko-category-card-img-wrap img {
  width: 128%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.4s cubic-bezier(.22,.68,0,1.2);
}

.jko-category-card:hover .jko-category-card-img-wrap img {
  transform: scale(1.07);
}

/* Illustration badge overlay — category accent color */
.jko-category-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 30px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #193b2f;
}

/* Body below image */
.jko-category-card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.jko-category-card-title {
  display: block;
  font-family: Lora, Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  color: #193b2f;
  line-height: 1.25;
  margin: 0 0 6px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.jko-category-card-desc {
  font-size: 12.5px;
  color: #7c6b5d;
  line-height: 1.5;
  margin: 0 0 14px 0;
  flex: 1;
}

.jko-category-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(234,216,192,0.6);
  padding-top: 12px;
  margin-top: auto;
}

.jko-category-card-count {
  color: #dc6f24;
  font-size: 13px;
  font-weight: 700;
}

.jko-category-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #193b2f;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: 30px;
  transition: background 0.2s, transform 0.2s;
}

.jko-category-card:hover .jko-category-card-cta {
  background: #dc6f24;
  transform: translateX(2px);
}

.jko-category-card-cta svg {
  transition: transform 0.2s;
}

.jko-category-card:hover .jko-category-card-cta svg {
  transform: translateX(3px);
}

.jko-brand-rail {
  max-width: 1150px !important;
  margin: -20px auto 42px;
  padding: 0 20px;
}

.jko-brand-rail-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.jko-brand-rail-head span {
  display: block;
  color: #dc6f24;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  margin-bottom: 3px;
}

.jko-brand-rail-head h2 {
  margin: 0;
  color: #193b2f;
  font-family: Lora, Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.15;
}

.jko-brand-rail-head a {
  color: #dc6f24;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.jko-brand-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  padding: 4px 2px 14px;
  scrollbar-width: thin;
}

.jko-brand-card {
  flex: 0 0 156px;
  min-height: 104px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  scroll-snap-align: start;
  text-decoration: none;
  background: linear-gradient(180deg, #fff 0%, #fffaf5 100%);
  border: 1px solid rgba(234,216,192,0.9);
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(74,47,21,0.06);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.jko-brand-card:hover {
  transform: translateY(-3px);
  border-color: rgba(220,111,36,0.45);
  box-shadow: 0 14px 30px rgba(74,47,21,0.11);
}

.jko-brand-logo {
  max-width: 126px;
  color: #193b2f;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.jko-brand-logo-media {
  width: 132px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.jko-brand-logo-media img {
  display: block;
  max-width: 128px;
  max-height: 38px;
  min-width: 34px;
  min-height: 34px;
  width: auto;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.jko-brand-name {
  max-width: 128px;
  color: #193b2f;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.jko-brand-logo-fallback {
  display: none;
  max-width: 126px;
  color: #193b2f;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.jko-brand-logo-media.has-fallback .jko-brand-logo-fallback {
  display: block;
}

.jko-brand-logo-media.has-fallback + .jko-brand-name {
  display: block;
}

.jko-brand-count {
  color: #8a7767;
  font-size: 11px;
  font-weight: 700;
}

/* ── MEGA MENU ───────────────────────────────────────────────── */

.jko-mega-trigger {
  position: relative;
  cursor: pointer;
}

.jko-mega-trigger > a,
.jko-mega-trigger > span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
  font-size: 14px;
  color: #193b2f;
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.jko-mega-trigger:hover > a,
.jko-mega-trigger:hover > span {
  color: #dc6f24;
  border-color: #dc6f24;
}

.jko-mega-trigger .jko-mega-chevron {
  transition: transform 0.25s;
}

.jko-mega-trigger:hover .jko-mega-chevron {
  transform: rotate(180deg);
}

/* Mega panel */
.jko-mega-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: min(960px, 96vw);
  background: rgba(255,252,247,0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(234,216,192,0.7);
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(74,47,21,0.18);
  padding: 32px 36px 36px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s cubic-bezier(.22,.68,0,1.2);
  z-index: 9999;
}

.jko-mega-trigger:hover .jko-mega-panel,
.jko-mega-panel:hover {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.jko-mega-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Single mega column */
.jko-mega-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Mega col header */
.jko-mega-col-head {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(234,216,192,0.4);
  transition: border-color 0.2s;
}

.jko-mega-col-head:hover {
  border-color: #dc6f24;
}

.jko-mega-col-img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #fdf4e8, #f0e6d4);
  flex-shrink: 0;
}

.jko-mega-col-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jko-mega-col-title {
  font-family: Lora, Georgia, serif;
  font-size: 16px;
  font-weight: 700;
  color: #193b2f;
  line-height: 1.2;
}

.jko-mega-col-head:hover .jko-mega-col-title {
  color: #dc6f24;
}

/* Mega col subcategories list */
.jko-mega-sub-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.jko-mega-sub-list li a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 13.5px;
  color: #5c4e43;
  padding: 6px 8px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.jko-mega-sub-list li a:hover {
  background: rgba(220, 111, 36, 0.08);
  color: #dc6f24;
  transform: translateX(4px);
}

.jko-mega-sub-list li a i {
  width: 16px;
  text-align: center;
  font-size: 13px;
  opacity: 0.7;
}

.jko-mega-sub-list li a:hover i {
  opacity: 1;
}

/* Mega menu header row */
.jko-mega-header {
  padding-bottom: 24px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.jko-mega-header-title {
  font-family: Lora, Georgia, serif;
  font-size: 17px;
  font-weight: 700;
  color: #193b2f;
}

.jko-mega-header-link {
  font-size: 13px;
  font-weight: 600;
  color: #dc6f24;
  text-decoration: none;
}

.jko-mega-header-link:hover {
  text-decoration: underline;
}

/* Nav bar holding mega trigger */
.jko-nav-bar {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
  justify-content: center;
}

.jko-nav-bar a {
  font-size: 14px;
  font-weight: 600;
  color: #193b2f;
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.jko-nav-bar a:hover {
  color: #dc6f24;
  border-color: #dc6f24;
}

/* ----------------------------------------------------------------
   9. HOME — SECTIONS & LISTINGS
   ---------------------------------------------------------------- */

.jko-listings,
.jko-bottom-grid,
.jko-trust {
  margin: 0 auto;
  max-width: 1150px !important;
}

.jko-section-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 0 16px;
}

.jko-section-head h2 {
  color: #241f1b;
  font-family: Lora, Georgia, serif;
  font-size: 26px;
  line-height: 1.2;
  margin: 0;
}

.jko-section-head a {
  color: #dc6f24;
  font-size: 13px;
  font-weight: 600;
}

.jko-premium-band {
  align-items: center;
  background: linear-gradient(135deg, #193b2f, #0f211b);
  border-radius: 18px;
  color: #fff;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin: 34px auto;
  max-width: 1150px !important;
  overflow: hidden;
  padding: 28px 32px;
  position: relative;
}

.jko-premium-band::after {
  background: url("../images/jko-cat-showroom.png") no-repeat center / contain;
  content: "";
  height: 220px;
  opacity: 0.12;
  position: absolute;
  right: -20px;
  top: -34px;
  width: 220px;
}

.jko-premium-band strong {
  display: block;
  font-family: Lora, Georgia, serif;
  font-size: 28px;
  margin-bottom: 8px;
}

.jko-premium-band span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.jko-premium-band a {
  background: #fff7ec;
  border-radius: 999px;
  color: #193b2f;
  flex: 0 0 auto;
  font-weight: 800;
  padding: 12px 20px;
  position: relative;
  z-index: 1;
  transition: background 0.2s ease;
}

.jko-premium-band a:hover {
  background: #ffe8c8;
}

.jko-sold-category-intro {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(255, 250, 244, 0.98) 0%, rgba(255, 250, 244, 0.88) 38%, rgba(25, 59, 47, 0.08) 62%, rgba(25, 59, 47, 0.35) 100%),
    url('../images/jko-hero.png') center right / cover no-repeat;
  border: 1px solid rgba(234, 216, 192, 0.95);
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(74, 47, 21, 0.08);
  box-sizing: border-box;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) 330px;
  margin: 0 0 22px;
  min-height: 230px;
  overflow: hidden;
  padding: 32px;
}

.jko-sold-category-intro > div > span {
  color: #dc6f24;
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.jko-sold-category-intro h1 {
  color: #193b2f;
  font-size: 44px;
  font-weight: 900;
  line-height: 1.08;
  margin: 0 0 10px;
}

.jko-sold-category-intro p {
  color: #5d5147;
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
  max-width: 760px;
}

.jko-sold-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.jko-sold-hero-actions a {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  min-height: 40px;
  padding: 0 16px;
  text-decoration: none !important;
}

.jko-sold-hero-actions a:first-child {
  background: #dc6f24;
  color: #fff !important;
}

.jko-sold-hero-actions a:last-child {
  background: #fff;
  border: 1px solid rgba(234, 216, 192, 0.95);
  color: #193b2f !important;
}

.jko-sold-category-intro ul {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(234, 216, 192, 0.9);
  border-radius: 8px;
  display: grid;
  gap: 9px;
  list-style: none;
  margin: 0;
  padding: 12px;
}

.jko-sold-category-intro li {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(234, 216, 192, 0.82);
  border-radius: 8px;
  color: #193b2f;
  display: grid;
  font-size: 12px;
  font-weight: 800;
  gap: 10px;
  grid-template-columns: 34px minmax(0, 1fr);
  line-height: 1.35;
  padding: 10px;
}

.jko-sold-category-intro li i {
  align-items: center;
  background: #fff4ea;
  border-radius: 8px;
  color: #dc6f24;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
  grid-row: span 2;
}

.jko-sold-category-intro li strong {
  color: #193b2f;
  display: block;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.jko-sold-category-intro li span {
  color: #6f6258;
  display: block;
  grid-column: 2;
  width: 100%;
  font-size: 11px;
  font-weight: 800;
  margin-top: 2px;
  text-transform: none;
}

/* ----------------------------------------------------------------
   13. RESPONSIVE — TABLET 1180px
   ---------------------------------------------------------------- */

@media (max-width: 1180px) {
  body > header .right .jko-btn-text,
  body > header .right .jko-messages-btn .jko-btn-text,
  body > header .right .jko-blog-btn .jko-btn-text,
  body > header .right .favorite.svi-show-saved .jko-btn-text {
    display: none !important;
  }
  body > header .right .jko-blog-btn i,
  body > header .right .jko-messages-btn i {
    margin-right: 0 !important;
  }
  body > header .right .favorite.svi-show-saved,
  body > header .right .jko-blog-btn,
  body > header .right .jko-messages-btn {
    padding: 0 !important;
    width: 42px !important;
    min-width: 42px !important;
    justify-content: center !important;
    position: relative !important;
  }
  body > header .right .jko-messages-btn .jko-messages-badge,
  body > header .right .favorite.svi-show-saved .svi-count {
    position: absolute !important;
    top: -5px !important;
    right: -5px !important;
    margin: 0 !important;
  }

  .jko-main-nav { gap: 4px; }
  .jko-nav-link { font-size: 13px; }
  .jko-legacy-megamenu { width: 460px; }
  .jko-header-nav { display: none; }

  .jko-search {
    gap: 10px;
    padding: 16px;
    width: min(960px, 90%);
  }

  .jko-mobile-home-search {
    display: block;
    margin: 14px auto 6px;
    max-width: 1150px;
    padding: 0 14px;
  }

  .jko-mobile-home-search-form {
    margin: 0;
  }

  .jko-mobile-home-search-box {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(234, 216, 192, 0.96);
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(74, 47, 21, 0.08);
    display: grid;
    gap: 10px;
    grid-template-columns: 18px minmax(0, 1fr) 88px;
    min-height: 54px;
    padding: 6px 6px 6px 14px;
  }

  .jko-mobile-home-search-box > i {
    color: #193b2f;
    font-size: 18px;
  }

  .jko-mobile-home-search-box input {
    background: transparent;
    border: 0;
    color: #193b2f;
    font-size: 14px;
    font-weight: 600;
    min-width: 0;
    outline: 0;
    padding: 0;
    width: 100%;
  }

  .jko-mobile-home-search-box input::placeholder {
    color: #85786c;
    font-weight: 500;
  }

  .jko-mobile-home-search-box button {
    background: linear-gradient(135deg, #dc8a32, #c96f16);
    border: 0;
    border-radius: 12px;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    height: 42px;
    padding: 0 14px;
  }

  .jko-category-section {
    margin: 14px auto 26px;
    padding: 0 14px;
  }

  .jko-category-section-head {
    align-items: center;
    margin-bottom: 12px;
  }

  .jko-category-section-head h2 {
    font-size: 24px;
  }

  .jko-category-section-head a {
    font-size: 13px;
  }

  .jko-category-grid {
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jko-category-card {
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(74,47,21,0.08);
    overflow: hidden;
    text-align: left;
  }

  .jko-category-card:hover {
    transform: none;
  }

  .jko-category-card-img-wrap {
    background: #f3ecdf;
    border-radius: 0;
    height: 94px;
    margin: 0;
    width: 100%;
  }

  .jko-category-card-img-wrap img {
    object-fit: revert-rule; /* User explicitly requested this string */
  }

  .jko-category-card:hover .jko-category-card-img-wrap img {
    transform: none;
  }

  .jko-category-card-badge {
    border-radius: 8px;
    font-size: 9px;
    left: 8px;
    padding: 4px 7px;
    top: 8px;
  }

  .jko-category-card-body {
    align-items: flex-start;
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: flex-start;
    /* min-height: 80px; */
    padding: 10px 10px 12px;
  }

  .jko-category-card-title {
    font-size: 13px;
    line-height: 1.25;
    margin: 0 0 5px;
    word-break: break-word;
  }

  .jko-category-card-desc,
  .jko-category-card-cta {
    display: none;
  }

  .jko-category-card-meta {
    border-top: none;
    margin-top: auto;
    padding-top: 0;
  }

  .jko-category-card-count {
    color: #7c6b5d;
    font-size: 11px;
    font-weight: 700;
  }

  .jko-sold-category-intro {
    gap: 14px;
    grid-template-columns: 1fr;
    margin: 0 0 14px;
    padding: 16px;
  }

  .jko-sold-category-intro h1 {
    font-size: 24px;
  }

  .jko-sold-category-intro p {
    font-size: 14px;
    line-height: 1.55;
  }

  .jko-sold-category-intro ul {
    gap: 8px;
    padding: 10px;
  }

  /* Mega menu hidden on mobile */
  .jko-mega-panel, .jko-nav-bar {
    display: none;
  }

  footer .line2 { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 921px) {
  /* Global Container Overrides (1150px) */
  body > header .inside,
  .jko-secondary-nav > .inside,
  .jko-shell,
  footer .inside,
  .user-dashboard,
  .user-items,
  .jko-trust,
  .inside.search {
    max-width: 1150px !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
  }
}


/* Masquer éléments page d'accueil demandés par l'utilisateur */
#home-search,
#home-cat2 {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
}


/* Suppression background spans publish/subscribe */
header .right a.publish > span,
#home-pub a.publish > span {
    background: none !important;
}

/* Center User Menu Dropdown */
header .user-menu {
    right: -78px !important;
    top: calc(100% + 12px) !important;
}

header .user-menu:after {
    right: calc(50% - 7px) !important;
    transform: rotate(-45deg) !important;
}

/* Already Viewed Badge positioning */
.simple-prod .already-viewed {
    position: absolute !important;
    top: 5px !important;
    left: 5px !important;
    z-index: 10 !important;
    margin: 0 !important;
}
.simple-prod.is-premium .already-viewed {
    left: 70px !important;
}
.simple-prod.st-sold .already-viewed,
.simple-prod.st-reserved .already-viewed {
    left: 45px !important;
}

/* --- NEW LOOP SINGLE CARD DESIGN --- */
.jko-new-card {
    background: #fff !important;
    border: 1px solid #ead8c0 !important;
    border-radius: 12px !important;
    width: 100%;
    display: flex !important;
    flex-direction: column !important;
    overflow: visible !important;
    position: relative !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03) !important;
    text-decoration: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    margin-bottom: 20px !important;
    padding: 0 !important;
    min-height: auto !important;
    height: auto !important;
}
#body-search #search-items .products.grid:not(.premiums-block),
#body-search #search-items .products.standard:not(.premiums-block) {
    display: grid !important;
    gap: 2px !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: start;
}

.jko-home .products.grid:not(.premiums-block) .prod-wrap,
#body-item .products.grid:not(.premiums-block),
#body-item .products.standard:not(.premiums-block) {
    display: grid !important;
    gap: 2px !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    align-items: start;
}

.products.grid .jko-new-card {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 0 !important;
}

.jko-new-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

@media screen and (max-width: 1200px) { 
    #body-search #search-items .products.grid:not(.premiums-block), #body-search #search-items .products.standard:not(.premiums-block), .jko-home .products.grid:not(.premiums-block) .prod-wrap, #body-item .products.grid:not(.premiums-block), #body-item .products.standard:not(.premiums-block) { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media screen and (max-width: 920px) { 
    #body-search #search-items .products.grid:not(.premiums-block), #body-search #search-items .products.standard:not(.premiums-block), .jko-home .products.grid:not(.premiums-block) .prod-wrap, #body-item .products.grid:not(.premiums-block), #body-item .products.standard:not(.premiums-block) { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
.jko-nc-image {
    width: 100%;
    height: 220px;
    position: relative;
    overflow: hidden;
    background: #f8f8f8;
    border-radius: 12px 12px 0 0;
}
.jko-nc-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 5%;
    padding: 2px;
}
.jko-new-card:hover .jko-nc-image img {
    transform: scale(1.05);
}

.jko-new-card.st-sold .jko-nc-image img {
    filter: brightness(0.72) saturate(0.82) !important;
}

.jko-sold-ribbon {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    z-index: 8 !important;
    width: 145% !important;
    height: 38px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transform: translate(-50%, -50%) rotate(-18deg) !important;
    background: linear-gradient(135deg, #b9121b 0%, #e21d2b 54%, #a50f17 100%) !important;
    color: #fff !important;
    border-top: 1px solid rgba(255,255,255,0.48) !important;
    border-bottom: 1px solid rgba(80,0,0,0.35) !important;
    box-shadow: 0 10px 24px rgba(120,0,0,0.32) !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase !important;
    pointer-events: none !important;
}

.jko-sold-ribbon:before,
.jko-sold-ribbon:after {
    content: "" !important;
    position: absolute !important;
    top: 6px !important;
    bottom: 6px !important;
    width: 1px !important;
    background: rgba(255,255,255,0.45) !important;
}

.jko-sold-ribbon:before {
    left: 14% !important;
}

.jko-sold-ribbon:after {
    right: 14% !important;
}

.jko-nc-labels {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 8px;
    align-items: center;
    z-index: 5;
}
.jko-nc-labels .lab-prem {
    position: static !important;
    margin: 0 !important;
    background: #dc6f24;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}
.jko-nc-labels .already-viewed {
    position: static !important;
    margin: 0 !important;
    background: rgba(0, 0, 0, 0.4) !important;
    border-radius: 4px;
    padding: 4px 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.simple-prod .already-viewed {
    position: static !important;
    left: auto !important;
}

.jko-nc-brand {
    width: max-content;
    max-width: 100%;
    display: inline-flex !important;
    align-items: center;
    margin: -2px 0 10px 0 !important;
    padding: 5px 9px !important;
    background: #fff5ec !important;
    border: 1px solid rgba(220,111,36,0.22) !important;
    border-radius: 999px !important;
    color: #b95618 !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    letter-spacing: 0 !important;
}

.jko-nc-brand:hover {
    background: #dc6f24 !important;
    color: #fff !important;
}

.jko-nc-price {
    position: absolute !important;
    bottom: 8px !important;
    left: 8px !important;
    top: auto !important;
    right: auto !important;
    width: max-content !important;
    height: auto !important;
    min-height: 20px !important;
    max-height: 28px !important;
    display: block !important;
    background: rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    padding: 6px 10px !important;
    border-radius: 20px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
    z-index: 100 !important;
    margin: 0 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
}

#listing #seller .user-box .wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#listing #seller .user-box .btn {
    align-items: center !important;
    border: 1px solid #ead8c0 !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    display: inline-flex !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    gap: 8px !important;
    justify-content: center !important;
    min-height: 44px !important;
    padding: 0 14px !important;
    text-decoration: none !important;
    width: 100% !important;
}

#listing #seller .user-box .jko-seller-chat-btn {
    background: #193b2f !important;
    border-color: #193b2f !important;
    color: #fff !important;
}

#listing #seller .user-box .contact.btn {
    background: #dc6f24 !important;
    border-color: #dc6f24 !important;
    color: #fff !important;
}

#listing #seller .user-box .jko-seller-listings-btn {
    background: #fffaf5 !important;
    color: #193b2f !important;
}

#listing .main-data .img .mlink.jko-mobile-chat {
    background: #193b2f !important;
    color: #fff !important;
}

#listing .main-data .img .fi_save_favorite,
#listing .main-data .img .svi-save-btn,
#listing .main-data .img .svi-save {
    display: none !important;
}

#listing .make-offer-link {
    align-items: center;
    background: #fff5ec;
    border: 1px solid rgba(220,111,36,0.26);
    border-radius: 8px;
    color: #b95618 !important;
    display: inline-flex;
    font-size: 13px;
    font-weight: 900;
    gap: 8px;
    margin-top: 10px;
    padding: 10px 13px;
    text-decoration: none !important;
}

#listing .make-offer-link:before {
    content: "\f53a";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

#listing .make-offer-link:hover {
    background: #dc6f24;
    border-color: #dc6f24;
    color: #fff !important;
}

.jko-nc-price * {
    color: #fff !important;
    font-size: 13px !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    position: static !important;
    background: transparent !important;
    height: auto !important;
    max-height: none !important;
    display: inline !important;
}

.jko-nc-photos-count {
    position: absolute !important;
    bottom: 8px !important;
    right: 8px !important;
    top: auto !important;
    left: auto !important;
    width: max-content !important;
    height: auto !important;
    min-height: 20px !important;
    max-height: 28px !important;
    background: rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    padding: 6px 10px !important;
    border-radius: 20px !important;
    z-index: 100 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
    display: block !important;
    margin: 0 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
}

.jko-nc-photos-count i {
    color: #fff !important;
    font-size: 13px !important;
    margin-right: 4px !important;
    display: inline-block !important;
}

.jko-nc-meta-views {
    display: none;
}

.jko-nc-content {
    padding: 8px !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    background: #fff !important;
    position: relative !important;
    z-index: 2 !important;
}

.jko-nc-title {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #193b2f !important;
    margin: 0 0 8px 0 !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    text-overflow: ellipsis !important;
    display: block !important;
    padding: 0 !important;
    min-height: 0 !important;
    min-width: 0 !important;
    width: 100% !important;
}

.jko-nc-meta {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    color: #423a33 !important;
    font-size: 11px !important;
    margin-bottom: 8px !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 !important;
}
.jko-nc-meta i {
    color: #dc6f24 !important;
    margin-right: 2px !important;
}
.jko-nc-location {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 50% !important;
}
.jko-nc-date {
    white-space: nowrap !important;
}
.jko-nc-meta .sep {
    color: #dc6f24;
    font-size: 16px;
    line-height: 1;
    flex-shrink: 0;
}
.jko-nc-meta span:last-child {
    flex-shrink: 0;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.jko-nc-location {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    position: relative;
    cursor: pointer;
}

/* Custom CSS Tooltip for Location */
.jko-nc-location::after {
    content: attr(data-title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    background: #193b2f;
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 11px;
    white-space: normal;
    width: max-content;
    max-width: 180px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    font-family: Poppins, Arial, sans-serif;
    font-weight: 500;
    text-align: center;
    line-height: 1.3;
}
.jko-nc-location::before {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(0);
    border-width: 6px 6px 0;
    border-style: solid;
    border-color: #193b2f transparent transparent;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
    z-index: 999;
}
.jko-nc-location:hover::after,
.jko-nc-location:active::after,
.jko-nc-location:focus::after {
    opacity: 1;
    transform: translateX(-50%) translateY(-8px);
}
.jko-nc-location:hover::before,
.jko-nc-location:active::before,
.jko-nc-location:focus::before {
    opacity: 1;
    transform: translateX(-50%) translateY(-2px);
}

.jko-nc-divider {
    height: 1px;
    background: #ead8c0;
    margin: 0 0 5px 0;
    width: 100%;
}

.jko-nc-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    font-size: 12px;
}

.jko-nc-user {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 75%;
}
.jko-nc-avatar {
    position: relative;
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    background: #f0e6d8;
    display: flex;
    align-items: center;
    justify-content: center;
}
.jko-nc-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}
.jko-nc-pro {
    position: absolute;
    bottom: -4px;
    right: -8px;
    background: #dc6f24;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 1px 4px;
    border-radius: 4px;
    border: 1px solid #fff;
    line-height: 1;
}
.jko-nc-name {
    font-size: 12px;
    font-weight: 600;
    color: #241f1b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.jko-nc-views {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #193b2f;
    font-size: 12px;
    font-weight: 600;
}
.jko-nc-views i {
    color: #dc6f24;
    font-size: 14px;
}

/* PREMIUM EFFECT */
.jko-new-card.is-premium {
    border: 1px solid #FFDF00 !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03) !important;
}
.jko-new-card.is-premium:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.08) !important;
}

/* --- PREMIUMS BLOCK HORIZONTAL SLIDER --- */
#search-items .premiums-block {
    display: block !important;
}
#search-items .premiums-block .ins {
    display: block !important;
    white-space: nowrap !important;
    overflow-x: auto !important;
    width: 100% !important;
}
#search-items .premiums-block .jko-new-card {
    display: inline-flex !important;
    vertical-align: top;
    float: none !important;
    white-space: normal !important;
    width: 270px !important;
    margin-right: 15px !important;
    margin-bottom: 5px !important;
}
@media screen and (max-width: 900px) {
    #search-items .premiums-block .jko-new-card {
        width: 230px !important;
    }
}
@media screen and (max-width: 600px) {
    #search-items .premiums-block .jko-new-card {
        width: 190px !important;
        margin-right: 10px !important;
    }
}

@media (max-width: 767px) {
  .products.grid:not(.premiums-block) .jko-new-card,
  .products.standard:not(.premiums-block) .jko-new-card {
    padding-bottom: 0 !important;
  }

  .jko-new-card {
    margin-bottom: 0 !important;
  }

  .products.grid:not(.premiums-block) .jko-nc-image,
  .products.standard:not(.premiums-block) .jko-nc-image {
    height: 130px !important;
  }
}

/* --- PREMIUMS SLIDER & BADGES METADATA HIDE ON MOBILE --- */
@media (max-width: 767px) {
  /* Fix huge empty padding inherited from parent theme & completely hide empty header */
  body#body-home header {
    display: none !important;
  }
  
  body > header .inside,
  .jko-secondary-nav > .inside,
  .jko-shell,
  footer .inside,
  .user-dashboard,
  .user-items,
  .jko-trust,
  .inside,
  .inside.search {
    padding-left: 2px !important;
    padding-right: 2px !important;
  }

  #body-search #search-items .premiums-block {
    margin-left: -2px !important;
    margin-right: -2px !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
    width: calc(100% + 4px) !important;
    box-sizing: border-box !important;
  }

  .jko-nc-meta .sep,
  .jko-nc-meta .jko-nc-date {
    display: none !important;
  }

  /* User customizations for mobile view */
  header .logo {
    display: none !important;
  }
  .jko-hero {
    display: none !important;
  }
  .jko-premium-band {
    display: none !important;
  }
  .query-picker .jko-query-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  /* Ensure mobile location/category search drawers overlay the sticky header */
  .svi-loc-drawer, .svi-cat-drawer {
    z-index: 1001 !important;
  }



  #category-picker.picker-v2 .shower,
  #location-picker.picker-v2 .shower,
  div.xmodal {
    z-index: 999999 !important;
  }

  /* loop single styling on mobile */
  .jko-nc-title {
    font-size: 14px !important;
  }
  .jko-nc-divider {
    display: none !important;
  }
  .jko-nc-footer {
    display: none !important;
  }
  .jko-nc-meta {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    flex-wrap: nowrap !important;
    margin-bottom: 0 !important;
  }
  .jko-nc-location {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .jko-nc-meta-views {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    color: #193b2f !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    flex: 0 0 auto !important;
    white-space: nowrap !important;
  }
  .jko-nc-meta-views i {
    color: #dc6f24;
    font-size: 14px;
  }
}

/* ================================================================
   8. ATTRIBUTES PLUGIN UI/UX
   ================================================================ */

/* Item Page: Grid Layout for Attributes */
#atr-item {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
    gap: 15px !important;
    margin: 20px 0 !important;
    padding: 0 !important;
    list-style: none !important;
    border: none !important;
}

#atr-item .atr-line {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 12px 15px !important;
    background: #f8fafc !important;
    border-radius: 10px !important;
    border: 1px solid #f1f5f9 !important;
    transition: background 0.3s !important;
    margin: 0 !important;
}

#atr-item .atr-line:hover {
    background: #f1f5f9 !important;
}

/* Attributes Form (Post Item) */
#atr-form {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
    background: #fff !important;
    padding: 20px !important;
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
    margin-bottom: 20px !important;
}

@media (max-width: 600px) {
    #atr-form {
        grid-template-columns: 1fr !important;
    }
}

#atr-form .atr-field {
    display: flex !important;
    flex-direction: column !important;
    margin: 0 !important;
}

#atr-form .atr-field .control-label {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #334155 !important;
    margin-bottom: 8px !important;
    text-align: left !important;
    width: 100% !important;
}

#atr-form .atr-field .control-label i.atr-label-icon {
    color: #f97316 !important;
    margin-right: 6px !important;
}

#atr-form .atr-field .controls {
    width: 100% !important;
    margin: 0 !important;
}

#atr-form .atr-field select,
#atr-form .atr-field input[type="text"] {
    width: 100% !important;
    padding: 12px 15px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    color: #1e293b !important;
    background: #f8fafc !important;
    transition: all 0.2s !important;
    box-sizing: border-box !important;
}

#atr-form .atr-field select:focus,
#atr-form .atr-field input[type="text"]:focus {
    border-color: #f97316 !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1) !important;
    outline: none !important;
}

/* Icon Container */
#atr-item .atr-icon.fa, 
#atr-item .atr-icon.fas {
    background: #fff3e0 !important;
    color: #f97316 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    width: 36px !important;
    height: 36px !important;
    font-size: 16px !important;
    flex-shrink: 0 !important;
}

#atr-item .atr-name {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    width: 100% !important;
}

#atr-item .atr-name > span {
    font-size: 11px !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    color: #64748b !important;
    letter-spacing: 0.5px !important;
}

#atr-item .atr-value {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    text-align: left !important;
}

/* ================================================================
   9. NEW SPECIFICATIES WIDGET
   ================================================================ */
.jko-specificaties-wrap {
    background: #ffffff;
    border: 1px solid #f0e6d4;
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.jko-spec-header {
    margin-bottom: 24px;
    border-bottom: 1px solid #f0e6d4;
    padding-bottom: 16px;
}

.jko-spec-header h3 {
    font-size: 24px;
    font-weight: 800;
    color: #1f1a16;
    margin: 0 0 6px 0;
    font-family: Poppins, sans-serif;
}

.jko-spec-header p {
    font-size: 14px;
    color: #7c6b5d;
    margin: 0;
}

.jko-spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.jko-spec-card {
    display: flex;
    align-items: center;
    padding: 16px;
    border-radius: 10px;
    border: 1px solid #f0e6d4;
    background: #ffffff;
    transition: transform 0.2s, box-shadow 0.2s;
}

.jko-spec-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}

.jko-spec-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    flex-shrink: 0;
}

.jko-spec-icon svg {
    width: 30px;
    height: 30px;
}

.jko-spec-text {
    display: flex;
    flex-direction: column;
}

.jko-spec-label {
    font-size: 12px;
    color: #7c6b5d;
    margin-bottom: 4px;
}

.jko-spec-val {
    font-size: 18px;
    font-weight: 800;
    color: #1f1a16;
}

.jko-spec-badge {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    color: #267740;
    border: 1px solid #267740;
    border-radius: 20px;
    padding: 2px 8px;
    margin-top: 6px;
    font-weight: 600;
    background: #f0fdf4;
}

.jko-spec-badge svg {
    width: 12px;
    height: 12px;
    margin-right: 4px;
    fill: #267740;
}

@media (max-width: 600px) {
    .jko-spec-grid {
        grid-template-columns: 1fr;
    }
}

/* --- SIDEBAR CATEGORY STYLES IMPROVEMENT --- */
.sbox.cat a {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    clear: both !important;
    margin: 0 0 12px 0 !important;
    text-decoration: none !important;
    float: none !important;
    box-sizing: border-box !important;
}

.sbox.cat a .icon {
    flex-shrink: 0 !important;
    width: 32px !important;
    height: 32px !important;
    background: #fcf1eb !important; /* light orange identity */
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 12px 0 0 !important;
    padding: 0 !important;
}

.sbox.cat a .icon img {
    max-width: 18px !important;
    max-height: 18px !important;
    width: auto !important;
    height: auto !important;
}

.sbox.cat a span.name {
    flex-grow: 1 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    color: #dc6f24 !important; /* identity */
    font-weight: 500 !important;
    font-size: 13px !important;
    float: none !important;
    margin: 0 !important;
}

.sbox.cat a:hover span.name {
    color: #b5571a !important; /* darker orange on hover */
}

.sbox.cat a em {
    flex-shrink: 0 !important;
    margin-left: 8px !important;
    color: #999 !important;
    font-size: 11px !important;
    background: #f5f5f5 !important;
    padding: 2px 6px !important;
    border-radius: 12px !important;
    float: none !important;
    margin-top: 0 !important;
}

.filter .sbox.cat h3 {
    color: #111 !important;
    font-weight: 700 !important;
    border-bottom: 2px solid #fcf1eb !important;
    padding-bottom: 10px !important;
    margin-bottom: 16px !important;
}

#body-search .filter .search-location-box,
#body-search .filter .brand-box {
    border-bottom: 1px solid #ddd !important;
    margin-bottom: 15px !important;
    padding-bottom: 15px !important;
}

#body-search .filter .search-location-box h2,
#body-search .filter .brand-box h2 {
    margin-bottom: 6px !important;
}

#body-search .filter .search-location-box .simple-location,
#body-search .filter .brand-box .simple-brand {
    float: left !important;
    position: relative !important;
    width: 100% !important;
}

#body-search .filter .search-location-box .simple-location .text,
#body-search .filter .brand-box .simple-brand .text {
    align-items: center !important;
    background: #fff !important;
    border: 1px solid #e2d3c2 !important;
    border-radius: 8px !important;
    color: #193b2f !important;
    cursor: pointer !important;
    display: flex !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    height: 38px !important;
    justify-content: space-between !important;
    line-height: 18px !important;
    padding: 0 12px !important;
    width: 100% !important;
}

#body-search .filter .search-location-box .simple-location.opened .text,
#body-search .filter .search-location-box .simple-location .text:hover,
#body-search .filter .brand-box .simple-brand.opened .text,
#body-search .filter .brand-box .simple-brand .text:hover {
    border-color: #dc6f24 !important;
    box-shadow: 0 0 0 3px rgba(220,111,36,0.12) !important;
}

#body-search .filter .search-location-box .simple-location .text i,
#body-search .filter .brand-box .simple-brand .text i {
    color: #dc6f24 !important;
    font-size: 14px !important;
}

#body-search .filter .search-location-box .simple-location .list,
#body-search .filter .brand-box .simple-brand .list {
    background: #fff !important;
    border: 1px solid #e2d3c2 !important;
    border-radius: 8px !important;
    box-shadow: 0 12px 26px rgba(74,47,21,0.14) !important;
    left: 0 !important;
    max-height: 260px !important;
    overflow: auto !important;
    position: absolute !important;
    top: 42px !important;
    width: 100% !important;
    z-index: 10050 !important;
}

#body-search .filter .search-location-box .simple-location .option,
#body-search .filter .brand-box .simple-brand .option {
    color: #4d4036 !important;
    cursor: pointer !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 18px !important;
    padding: 9px 11px !important;
}

#body-search .filter .search-location-box .simple-location .option.info,
#body-search .filter .brand-box .simple-brand .option.info {
    color: #9b8b7d !important;
    cursor: default !important;
    font-size: 12px !important;
    font-weight: 700 !important;
}

#body-search .filter .search-location-box .simple-location .option:hover,
#body-search .filter .search-location-box .simple-location .option.selected,
#body-search .filter .brand-box .simple-brand .option:hover,
#body-search .filter .brand-box .simple-brand .option.selected {
    background: #fff0dc !important;
    color: #dc6f24 !important;
    font-weight: 400 !important;
}

#body-search .filter .search-location-box .simple-location .list .option.selected,
#body-search .filter .brand-box .simple-brand .list .option.selected,
#body-search .filter .search-location-box .simple-location .list .option:hover,
#body-search .filter .brand-box .simple-brand .list .option:hover {
    font-weight: 400 !important;
}

.sbox.cat a.parent {
    background: #fff5ee !important;
    padding: 10px 15px !important;
    margin: 0 -15px 12px -15px !important;
    width: calc(100% + 30px) !important;
    border-radius: 8px !important;
}

/* Style child post/edit status columns */
.post-edit .brand-wrap {
    display: block !important;
    width: 100% !important;
    margin: 16px 0 18px 0 !important;
    clear: both !important;
}

.post-edit .brand-wrap label {
    display: block !important;
    font-size: 11px !important;
    color: #777 !important;
    font-weight: 700 !important;
    margin-bottom: 6px !important;
}

.post-edit .brand-wrap select {
    width: 100% !important;
    height: 42px !important;
    border: 1px solid #e2d3c2 !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: #193b2f !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    padding: 0 14px !important;
    outline: none !important;
}

.post-edit .brand-wrap select:focus {
    border-color: #dc6f24 !important;
    box-shadow: 0 0 0 3px rgba(220,111,36,0.12) !important;
}

.post-edit .status-wrap.has-sold .transaction {
    width: 33.3% !important;
    padding-right: 10px !important;
    clear: none !important;
}
.post-edit .status-wrap.has-sold .condition {
    width: 33.3% !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
}
.post-edit .status-wrap.has-sold .status-sold {
    float: left !important;
    width: 33.3% !important;
    padding-left: 10px !important;
}
.post-edit .status-wrap.has-sold label {
    font-size: 11px !important;
    color: #999 !important;
    margin-bottom: 3px !important;
    display: block !important;
}
.post-edit .status-wrap.has-sold select {
    width: 100% !important;
    height: 38px !important;
    border: 1px solid #ddd !important;
    border-radius: 3px !important;
    background: #fff !important;
    padding: 8px !important;
    font-size: 13px !important;
    line-height: 18px !important;
    outline: none !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    cursor: pointer !important;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23444444%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E') !important;
    background-repeat: no-repeat !important;
    background-position: right 12px top 50% !important;
    background-size: 10px auto !important;
    padding-right: 30px !important;
}
.post-edit .status-wrap.has-sold select:hover {
    border-color: #ccc !important;
}

.post-edit .status-wrap.has-sold .jko-sold-status-help {
    color: #7b7066 !important;
    display: block !important;
    font-size: 11px !important;
    line-height: 1.35 !important;
    margin-top: 5px !important;
}

@media (max-width: 767px) {
    .jko-brand-rail {
        margin: -18px auto 28px !important;
        padding: 0 14px !important;
    }

    .jko-brand-rail-head {
        align-items: center !important;
        margin-bottom: 10px !important;
    }

    .jko-brand-rail-head h2 {
        font-size: 19px !important;
    }

    .jko-brand-rail-head a {
        font-size: 12px !important;
    }

    .jko-brand-scroll {
        gap: 9px !important;
        padding-bottom: 10px !important;
        scroll-snap-type: x mandatory !important;
    }

    .jko-brand-card {
        flex-basis: 124px !important;
        min-height: 94px !important;
        border-radius: 14px !important;
        gap: 7px !important;
    }

    .jko-brand-logo {
        max-width: 104px !important;
        font-size: 15px !important;
    }

    .jko-brand-logo-media {
        width: 108px !important;
        height: 32px !important;
    }

    .jko-brand-logo-media img {
        max-width: 104px !important;
        max-height: 30px !important;
        min-width: 28px !important;
        min-height: 28px !important;
    }

    .jko-brand-logo-fallback {
        max-width: 104px !important;
        font-size: 14px !important;
    }

    .jko-brand-name {
        max-width: 104px !important;
        font-size: 11px !important;
    }

    .jko-brand-count {
        font-size: 10px !important;
    }

    .post-edit .status-wrap.has-sold .transaction,
    .post-edit .status-wrap.has-sold .condition,
    .post-edit .status-wrap.has-sold .status-sold {
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-bottom: 15px !important;
    }
}

/* FIX ANKIBACHAT BUGS */

/* Verkochte keukens: inspiration portfolio, not a classic listing page */
.jko-sold-gallery-page {
    max-width: 1150px !important;
}

.jko-sold-gallery-page #filter,
.jko-sold-gallery-page #search-sort,
.jko-sold-gallery-page .titles-top,
.jko-sold-gallery-page .filter-remove,
.jko-sold-gallery-page .paginate {
    display: none !important;
}

.jko-sold-gallery-page #main {
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

.jko-sold-gallery-page #search-items {
    width: 100% !important;
}

.jko-sold-proofbar {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(234, 216, 192, 0.95);
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(74, 47, 21, 0.06);
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(230px, 0.8fr) minmax(0, 2fr);
    margin: -8px 0 18px;
    padding: 18px 22px;
}

.jko-sold-proofbar p {
    color: #4d4036;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.55;
    margin: 0;
}

.jko-sold-proofbar > div {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.jko-sold-proofbar span {
    align-items: center;
    display: grid;
    gap: 10px;
    grid-template-columns: 44px minmax(0, 1fr);
}

.jko-sold-proofbar i {
    align-items: center;
    background: #fff4ea;
    border-radius: 50%;
    color: #dc6f24;
    display: inline-flex;
    font-size: 21px;
    height: 44px;
    justify-content: center;
    width: 44px;
    grid-row: span 2;
}

.jko-sold-proofbar strong {
    color: #193b2f;
    display: block;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.2;
}

.jko-sold-proofbar em {
    color: #7b7066;
    display: block;
    grid-column: 2;
    width: 100%;
    font-size: 12px;
    font-style: normal;
    line-height: 1.35;
    margin-top: 2px;
}

.jko-sold-portfolio {
    color: #1f1d1a;
    margin: 0 0 34px;
}

.jko-sold-portfolio-head {
    align-items: end;
    display: flex;
    gap: 24px;
    justify-content: space-between;
    margin: 0 0 18px;
}

.jko-sold-kicker,
.jko-sold-drawer-kicker {
    color: #dc6f24;
    display: block;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.02em;
    margin-bottom: 7px;
    text-transform: uppercase;
}

.jko-sold-portfolio-head h2 {
    color: #193b2f;
    font-size: 28px;
    font-weight: 900;
    line-height: 1.1;
    margin: 0 0 7px;
}

.jko-sold-portfolio-head p {
    color: #6f6258;
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
    max-width: 680px;
}

.jko-sold-seller-cta {
    align-items: center;
    background: #dc6f24;
    border-radius: 8px;
    color: #fff !important;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 900;
    min-height: 42px;
    padding: 0 18px;
    text-decoration: none !important;
}

.jko-sold-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 12px;
}

.jko-sold-chips span,
.jko-sold-chips a {
    background: #fff;
    border: 1px solid rgba(234, 216, 192, 0.95);
    border-radius: 6px;
    color: #4d4036;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    padding: 10px 13px;
}

.jko-sold-chips .is-active {
    background: #dc6f24;
    border-color: #dc6f24;
    color: #fff;
}

.jko-sold-layout {
    align-items: start;
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(0, 1fr) 250px;
}

.jko-sold-masonry {
    display: grid;
    gap: 12px;
    grid-auto-flow: dense;
    grid-auto-rows: 168px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.jko-sold-card {
    appearance: none;
    background: #193b2f;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(74, 47, 21, 0.12);
    cursor: pointer;
    display: block;
    grid-row: span 1;
    min-height: 0;
    overflow: hidden;
    padding: 0;
    position: relative;
    text-align: left;
}

.jko-sold-card.is-tall {
    grid-column: span 2;
    grid-row: span 2;
}

.jko-sold-card-image,
.jko-sold-card-image img,
.jko-sold-card-gradient {
    inset: 0;
    position: absolute;
}

.jko-sold-card-image img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
    width: 100%;
}

.jko-sold-card:hover .jko-sold-card-image img {
    transform: scale(1.04);
}

.jko-sold-card-gradient {
    background: linear-gradient(180deg, rgba(25, 59, 47, 0.02) 20%, rgba(18, 18, 16, 0.82) 100%);
    z-index: 1;
}

.jko-sold-card-badge {
    background: #193b2f;
    border-radius: 999px;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    left: 12px;
    padding: 7px 10px;
    position: absolute;
    top: 12px;
    z-index: 2;
}

.jko-sold-card:first-child .jko-sold-card-badge {
    background: #dc6f24;
}

.jko-sold-card-body {
    bottom: 0;
    color: #fff;
    display: block;
    left: 0;
    padding: 18px;
    position: absolute;
    right: 0;
    text-align: left;
    z-index: 2;
}

.jko-sold-card-body strong {
    color: #fff;
    display: block;
    font-size: 19px;
    font-weight: 900;
    line-height: 1.16;
    margin-bottom: 6px;
}

.jko-sold-card:not(.is-tall) .jko-sold-card-body {
    padding: 13px;
}

.jko-sold-card:not(.is-tall) .jko-sold-card-body strong {
    font-size: 13px;
}

.jko-sold-card:not(.is-tall) .jko-sold-card-body em {
    font-size: 10px;
}

.jko-sold-card:not(.is-tall) .jko-sold-card-price {
    font-size: 11px;
    margin-bottom: 6px;
}

.jko-sold-card:not(.is-tall) .jko-sold-card-tags small {
    font-size: 9px;
    padding: 4px 6px;
}

.jko-sold-seller-panel {
    background: linear-gradient(180deg, #fffaf4 0%, #fff4ea 100%);
    border: 1px solid rgba(234, 216, 192, 0.95);
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(74, 47, 21, 0.08);
    padding: 18px;
    position: sticky;
    top: 92px;
}

.jko-sold-seller-ill {
    align-items: center;
    background: #fff;
    border-radius: 8px;
    display: flex;
    height: 132px;
    justify-content: center;
    margin-bottom: 14px;
    overflow: hidden;
}

.jko-sold-seller-ill img {
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.jko-sold-seller-panel h3 {
    color: #193b2f;
    font-size: 21px;
    font-weight: 900;
    line-height: 1.15;
    margin: 0 0 9px;
}

.jko-sold-seller-panel p {
    color: #6f6258;
    font-size: 13px;
    line-height: 1.55;
    margin: 0 0 14px;
}

.jko-sold-seller-panel a {
    align-items: center;
    background: #dc6f24;
    border-radius: 8px;
    color: #fff !important;
    display: inline-flex;
    font-size: 13px;
    font-weight: 900;
    justify-content: center;
    min-height: 42px;
    padding: 0 14px;
    text-decoration: none !important;
    width: 100%;
}

.jko-sold-card-body em {
    color: rgba(255,255,255,0.82);
    display: block;
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
    margin-bottom: 5px;
}

.jko-sold-card-price {
    color: #ffb26e;
    display: block;
    font-size: 14px;
    font-weight: 900;
    margin-bottom: 10px;
}

.jko-sold-card-tags {
    display: flex;
    flex-wrap: nowrap;
    gap: 4px;
    overflow: hidden;
}

.jko-sold-card-tags small {
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    border-radius: 3px;
    color: #fff;
    font-size: 10px;
    font-weight: 500;
    max-width: 100%;
    overflow: hidden;
    padding: 3px 6px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.jko-sold-stores {
    background: #fffaf4;
    border: 1px solid rgba(234, 216, 192, 0.95);
    border-radius: 8px;
    margin: 6px 0 0;
    padding: 18px;
}

.jko-sold-stores h3 {
    color: #193b2f;
    font-size: 18px;
    font-weight: 900;
    margin: 0 0 12px;
}

.jko-sold-stores > div {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.jko-sold-stores a {
    background: #fff;
    border: 1px solid rgba(234, 216, 192, 0.95);
    border-radius: 8px;
    padding: 12px;
    text-decoration: none !important;
}

.jko-sold-stores strong {
    color: #193b2f;
    display: block;
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 4px;
}

.jko-sold-stores span {
    color: #7b7066;
    display: block;
    font-size: 12px;
    line-height: 1.35;
}

.jko-sold-drawer-backdrop {
    background: rgba(31, 29, 26, 0.46);
    border: 0;
    bottom: 0;
    cursor: pointer;
    display: none;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 99997;
}

.jko-sold-drawer {
    background: #fffaf4;
    bottom: 0;
    box-shadow: -22px 0 46px rgba(31, 29, 26, 0.18);
    display: grid;
    grid-template-rows: minmax(260px, 43vh) minmax(0, 1fr);
    max-width: 560px;
    overflow-y: auto;
    position: fixed;
    right: 0;
    top: 0;
    transform: translateX(104%);
    transition: transform 0.25s ease;
    width: min(560px, 100vw);
    z-index: 99998;
}

.jko-sold-drawer-open .jko-sold-drawer {
    transform: translateX(0);
}

.jko-sold-drawer-open .jko-sold-drawer-backdrop {
    display: block;
}

.jko-sold-drawer-close {
    align-items: center;
    background: rgba(255,250,244,0.94);
    border: 1px solid rgba(234, 216, 192, 0.95);
    border-radius: 50%;
    color: #193b2f;
    display: inline-flex;
    height: 38px;
    justify-content: center;
    position: absolute;
    right: 14px;
    top: 14px;
    width: 38px;
    z-index: 3;
}

.jko-sold-drawer-media {
    background: #193b2f;
    min-height: 0;
    position: relative;
}

.jko-sold-drawer-media > img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.jko-sold-drawer-thumbs {
    bottom: 12px;
    display: flex;
    gap: 8px;
    left: 12px;
    max-width: calc(100% - 24px);
    overflow-x: auto;
    position: absolute;
}

.jko-sold-drawer-thumbs button {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.55);
    border-radius: 8px;
    flex: 0 0 auto;
    height: 54px;
    overflow: hidden;
    padding: 0;
    width: 72px;
}

.jko-sold-drawer-thumbs button.is-active {
    border-color: #dc6f24;
}

.jko-sold-drawer-thumbs img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.jko-sold-drawer-info {
    padding: 24px;
}

.jko-sold-drawer-info h2 {
    color: #193b2f;
    font-size: 28px;
    font-weight: 900;
    line-height: 1.12;
    margin: 0 0 10px;
}

.jko-sold-store-line {
    align-items: center;
    color: #6f6258;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.jko-sold-store-line strong {
    color: #1f1d1a;
    font-weight: 900;
}

.jko-sold-store-line span {
    background: #e4f3e8;
    border-radius: 999px;
    color: #16734a;
    font-size: 11px;
    font-weight: 900;
    padding: 5px 8px;
}

.jko-sold-store-line em {
    font-style: normal;
}

.jko-sold-drawer-price {
    color: #dc6f24;
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 12px;
}

.jko-sold-drawer-desc {
    color: #5d5147;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 18px;
}

.jko-sold-drawer-info dl {
    display: grid;
    gap: 10px;
    margin: 0;
}

.jko-sold-drawer-info dl > div {
    background: #fff;
    border: 1px solid rgba(234, 216, 192, 0.95);
    border-radius: 8px;
    display: grid;
    gap: 4px;
    padding: 12px;
}

.jko-sold-drawer-info dt {
    color: #9b8b7b;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.jko-sold-drawer-info dd {
    color: #1f1d1a;
    font-size: 14px;
    font-weight: 800;
    margin: 0;
}

.jko-sold-drawer-actions {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr 1fr;
    margin-top: 18px;
}

.jko-sold-drawer-actions a {
    align-items: center;
    border-radius: 8px;
    display: inline-flex;
    font-size: 13px;
    font-weight: 900;
    justify-content: center;
    min-height: 44px;
    padding: 0 14px;
    text-decoration: none !important;
}

.jko-sold-drawer-actions .is-primary {
    background: #dc6f24;
    color: #fff !important;
}

.jko-sold-drawer-actions .is-secondary {
    background: #fff;
    border: 1px solid rgba(234, 216, 192, 0.95);
    color: #193b2f !important;
}

@media (max-width: 767px) {
    .jko-sold-gallery-page {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .jko-sold-proofbar {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 15px;
    }

    .jko-sold-proofbar > div {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .jko-sold-portfolio-head {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
    }

    .jko-sold-layout {
        grid-template-columns: 1fr;
    }

    .jko-sold-masonry {
        grid-auto-rows: 160px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .jko-sold-card.is-tall {
        grid-column: span 2;
        grid-row: span 2;
    }

    .jko-sold-seller-panel {
        position: static;
    }

    .jko-sold-stores > div {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .jko-sold-portfolio-head h2 {
        font-size: 24px;
    }

    .jko-sold-proofbar {
        margin-top: 0;
    }

    .jko-sold-proofbar p {
        font-size: 12px;
    }

    .jko-sold-chips {
        flex-wrap: nowrap;
        margin-left: -12px;
        margin-right: -12px;
        overflow-x: auto;
        padding: 0 12px 4px;
    }

    .jko-sold-chips span,
    .jko-sold-chips a {
        flex: 0 0 auto;
    }

    .jko-sold-masonry {
        grid-auto-rows: 210px;
        grid-template-columns: 1fr;
    }

    .jko-sold-card.is-tall {
        grid-column: span 1;
        grid-row: span 1;
    }

    .jko-sold-stores > div,
    .jko-sold-drawer-actions {
        grid-template-columns: 1fr;
    }

    .jko-sold-drawer {
        border-radius: 16px 16px 0 0;
        grid-template-rows: 38vh minmax(0, 1fr);
        left: 0;
        max-width: none;
        top: auto;
        transform: translateY(104%);
        width: 100vw;
    }

    .jko-sold-drawer-open .jko-sold-drawer {
        transform: translateY(0);
    }

    .jko-sold-drawer-info {
        padding: 18px 16px max(18px, env(safe-area-inset-bottom, 0px));
    }

    .jko-sold-drawer-info h2 {
        font-size: 23px;
    }
}
/* ----------------------------------------------------
   LIST VIEW DESIGN (Détail)
   ---------------------------------------------------- */
#search-items .products.list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

#search-items .products.list .jko-new-card {
  flex-direction: row !important; /* Horizontal layout */
  width: 100%;
  margin: 0;
  min-height: 200px; /* Base height */
  align-items: stretch;
}

/* Image container on the left */
#search-items .products.list .jko-new-card .jko-nc-image {
  flex: 0 0 240px; /* Fixed width for the image */
  height: auto;
  border-bottom: none;
  border-right: 1px solid rgba(0, 0, 0, 0.05); /* Divider */
}

/* Force the image to cover the whole container properly */
#search-items .products.list .jko-new-card .jko-nc-image img {
  border-radius: 12px 0 0 12px !important;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

/* The content on the right */
#search-items .products.list .jko-new-card .jko-nc-content {
  flex: 1;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Spread content out */
}

/* Title adjustments for List view */
#search-items .products.list .jko-new-card .jko-nc-title {
  font-size: 18px;
  margin-bottom: 8px;
}

/* Responsive: Switch back to Grid style on small screens (Mobile) */
@media screen and (max-width: 768px) {
  #search-items .products.list .jko-new-card {
    flex-direction: column !important;
  }
  
  #search-items .products.list .jko-new-card .jko-nc-image {
    flex: 0 0 auto;
    width: 100%;
    padding-bottom: 75%; /* Maintain 4:3 aspect ratio */
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }
  
  #search-items .products.list .jko-new-card .jko-nc-image img {
    border-radius: 12px 12px 0 0 !important;
  }
  
  #search-items .products.list .jko-new-card .jko-nc-content {
    padding: 16px;
  }
}


/* CUSTOM PAGE PADDING */
body#body-custom section {
    padding: 2px 2px !important;
}

/* JKO SOLD GALLERY V2 - capture-inspired final composition */
body#body-search .inside.search.jko-sold-gallery-page {
    max-width: 1270px !important;
    padding: 0 14px 34px !important;
}

.jko-sold-gallery-page #main > .relative2 {
  max-width: 1200px;
  margin: 0 auto;
}


.jko-sold-gallery-page .jko-sold-category-intro {
    background:
        linear-gradient(90deg, rgba(255,250,244,0.98) 0%, rgba(255,250,244,0.92) 34%, rgba(255,250,244,0.25) 58%, rgba(25,59,47,0.34) 100%),
        url('../images/jko-hero.png') center right / cover no-repeat !important;
    border: 1px solid #ead8c0 !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 28px rgba(74,47,21,0.08) !important;
    grid-template-columns: minmax(0, 1fr) 220px !important;
    margin: 0 0 14px !important;
    min-height: 214px !important;
    padding: 30px 32px !important;
}

.jko-sold-gallery-page .jko-sold-category-intro > div {
    max-width: 520px !important;
}

.jko-sold-gallery-page .jko-sold-category-intro > div > span {
    display: none !important;
}

.jko-sold-gallery-page .jko-sold-category-intro h1 {
    color: #193b2f !important;
    font-family: Georgia, 'Times New Roman', serif !important;
    font-size: 48px !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    line-height: 1.02 !important;
    margin: 0 0 13px !important;
}

.jko-sold-gallery-page .jko-sold-category-intro p {
    color: #403832 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.55 !important;
    margin: 0 0 7px !important;
    max-width: 470px !important;
}

.jko-sold-gallery-page .jko-sold-hero-actions {
    gap: 18px !important;
    margin-top: 18px !important;
}

.jko-sold-gallery-page .jko-sold-hero-actions a {
    border-radius: 5px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    min-height: 38px !important;
    padding: 0 20px !important;
}

.jko-sold-gallery-page .jko-sold-hero-actions a:first-child {
    background: #e85f10 !important;
}

.jko-sold-gallery-page .jko-sold-hero-actions a:last-child {
    background: rgba(255,255,255,0.82) !important;
    border-color: #e2d3c2 !important;
}

.jko-sold-gallery-page .jko-sold-category-intro ul {
    align-self: center !important;
    background: transparent !important;
    border: 0 !important;
    gap: 8px !important;
    padding: 0 !important;
}

.jko-sold-gallery-page .jko-sold-category-intro li {
    background: rgba(255,255,255,0.96) !important;
    border: 1px solid rgba(234,216,192,0.9) !important;
    box-shadow: 0 8px 18px rgba(74,47,21,0.12) !important;
    grid-template-columns: 42px minmax(0, 1fr) !important;
    min-height: 58px !important;
    padding: 10px 12px !important;
}

.jko-sold-gallery-page .jko-sold-category-intro li i {
    background: transparent !important;
    border-radius: 0 !important;
    color: #e85f10 !important;
    font-size: 24px !important;
    height: 42px !important;
    width: 42px !important;
    grid-row: span 2 !important;
}

.jko-sold-gallery-page .jko-sold-category-intro li strong {
    font-size: 20px !important;
}

.jko-sold-gallery-page .jko-sold-category-intro li span {
    color: #5d5147 !important;
    font-size: 11px !important;
}

.jko-sold-gallery-page .jko-sold-proofbar {
    border-radius: 8px !important;
    grid-template-columns: 300px minmax(0, 1fr) !important;
    margin: 0 0 14px !important;
    padding: 18px 26px !important;
}

.jko-sold-gallery-page .jko-sold-proofbar p {
    font-size: 12px !important;
    font-weight: 600 !important;
}

.jko-sold-gallery-page .jko-sold-proofbar > div {
    gap: 34px !important;
}

.jko-sold-gallery-page .jko-sold-proofbar span {
    grid-template-columns: 46px minmax(0, 1fr) !important;
}

.jko-sold-gallery-page .jko-sold-proofbar i {
    background: transparent !important;
    border: 1px solid #f0c6a6 !important;
    border-radius: 50% !important;
    color: #e85f10 !important;
    font-size: 26px !important;
}

.jko-sold-gallery-page .jko-sold-proofbar strong {
    font-size: 13px !important;
}

.jko-sold-gallery-page .jko-sold-proofbar em {
    font-size: 11px !important;
}

.jko-sold-gallery-page .jko-sold-portfolio-head {
    margin: 8px 0 8px !important;
}

.jko-sold-gallery-page .jko-sold-portfolio-head h2 {
    color: #193b2f !important;
    font-family: Georgia, 'Times New Roman', serif !important;
    font-size: 25px !important;
    font-weight: 700 !important;
    margin: 0 !important;
}

.jko-sold-gallery-page .jko-sold-toolbar {
    align-items: center !important;
    display: flex !important;
    gap: 12px !important;
    justify-content: space-between !important;
    margin: 0 0 12px !important;
}

.jko-sold-gallery-page .jko-sold-chips {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 0 !important;
}

.jko-sold-gallery-page .jko-sold-chips span,
.jko-sold-gallery-page .jko-sold-chips a,
.jko-sold-gallery-page .jko-sold-selects span,
.jko-sold-gallery-page .jko-sold-selects a {
    background: #fff !important;
    border: 1px solid #ead8c0 !important;
    border-radius: 5px !important;
    color: #4d4036 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    min-height: 30px !important;
    padding: 8px 12px !important;
}

.jko-sold-gallery-page .jko-sold-chips .is-active {
    background: #e85f10 !important;
    border-color: #e85f10 !important;
    color: #fff !important;
}

.jko-sold-gallery-page .jko-sold-selects {
    display: flex !important;
    flex: 0 0 auto !important;
    gap: 8px !important;
}

.jko-sold-gallery-page .jko-sold-selects span,
.jko-sold-gallery-page .jko-sold-selects a {
    min-width: 82px !important;
}

.jko-sold-gallery-page .jko-sold-layout {
    gap: 14px !important;
    grid-template-columns: minmax(0, 1fr) 198px !important;
}

.jko-sold-gallery-page .jko-sold-layout.jko-sold-bottom-row {
    grid-template-columns: minmax(0, 1fr) 250px !important;
    align-items: start !important;
}

.jko-sold-gallery-page .jko-sold-masonry {
    display: grid !important;
    gap: 10px !important;
    grid-auto-flow: dense !important;
    grid-auto-rows: 132px !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
}

.jko-sold-gallery-page .jko-sold-card {
    border-radius: 8px !important;
    box-shadow: 0 10px 24px rgba(74,47,21,0.12) !important;
}

.jko-sold-gallery-page .jko-sold-card.is-large {
    grid-column: span 3 !important;
    grid-row: span 2 !important;
}

.jko-sold-gallery-page .jko-sold-card.is-medium {
    grid-column: span 2 !important;
    grid-row: span 2 !important;
}

.jko-sold-gallery-page .jko-sold-card.is-small {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
}

.jko-sold-gallery-page .jko-sold-card-gradient {
    background: linear-gradient(180deg, rgba(0,0,0,0.02) 24%, rgba(0,0,0,0.78) 100%) !important;
}

.jko-sold-gallery-page .jko-sold-card-badge {
    background: #193b2f !important;
    border-radius: 999px !important;
    font-size: 10px !important;
    left: 10px !important;
    padding: 6px 9px !important;
    top: 10px !important;
}

.jko-sold-gallery-page .jko-sold-card:first-child .jko-sold-card-badge {
    background: #e85f10 !important;
}

.jko-sold-gallery-page .jko-sold-card-body {
    padding: 14px !important;
    text-align: left !important;
}

.jko-sold-gallery-page .jko-sold-card.is-tall .jko-sold-card-body strong {
    font-size: 22px !important;
    line-height: 1.18 !important;
}

.jko-sold-gallery-page .jko-sold-card:not(.is-tall) .jko-sold-card-body strong {
    font-size: 12px !important;
    line-height: 1.15 !important;
}

.jko-sold-gallery-page .jko-sold-card-body em {
    color: rgba(255,255,255,0.82) !important;
    font-size: 10px !important;
    margin-bottom: 3px !important;
}

.jko-sold-gallery-page .jko-sold-card-price {
    color: #ff8a32 !important;
    font-size: 12px !important;
    margin-bottom: 6px !important;
}

.jko-sold-gallery-page .jko-sold-card-tags {
    gap: 4px !important;
}

.jko-sold-gallery-page .jko-sold-card-tags small {
    background: rgba(0, 0, 0, 0.45) !important;
    backdrop-filter: blur(4px) !important;
    border-radius: 3px !important;
    color: #fff !important;
    font-size: 9px !important;
    font-weight: 500 !important;
    padding: 3px 6px !important;
}

.jko-sold-gallery-page .jko-sold-seller-panel {
    background: #fffaf4 !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 24px rgba(74,47,21,0.08) !important;
    padding: 18px !important;
    position: sticky !important;
    top: 90px !important;
}

.jko-sold-gallery-page .jko-sold-seller-ill {
    height: 118px !important;
}

.jko-sold-gallery-page .jko-sold-seller-panel h3 {
    font-family: Georgia, 'Times New Roman', serif !important;
    font-size: 22px !important;
}

.jko-sold-gallery-page .jko-sold-seller-panel p {
    font-size: 12px !important;
}

.jko-sold-gallery-page .jko-sold-seller-panel a,
.jko-sold-gallery-page .jko-sold-contact-panel a {
    background: #e85f10 !important;
    border-radius: 5px !important;
}

.jko-sold-gallery-page .jko-sold-stores-panel {
    background: #fffaf4 !important;
    border: 1px solid rgba(234, 216, 192, 0.95) !important;
    border-radius: 8px !important;
    padding: 18px !important;
}

.jko-sold-gallery-page .jko-sold-stores-title {
    font-family: Georgia, 'Times New Roman', serif !important;
    margin: 0 0 16px 0 !important;
}

.jko-sold-gallery-page .jko-sold-stores-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;
    gap: 12px !important;
}

.jko-sold-gallery-page .jko-sold-store-card {
    display: grid !important;
    grid-template-columns: 50px 1fr !important;
    gap: 12px !important;
    background: #fff !important;
    border: 1px solid rgba(234, 216, 192, 0.95) !important;
    border-radius: 8px !important;
    padding: 14px !important;
    text-decoration: none !important;
    align-items: stretch !important;
}

.jko-sold-gallery-page .jko-sold-store-logo {
    width: 50px !important;
    height: 50px !important;
    border-radius: 4px !important;
    overflow: hidden !important;
    background: #fdfdfd !important;
    border: 1px solid #f0f0f0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: start !important;
}

.jko-sold-gallery-page .jko-sold-store-logo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

.jko-sold-gallery-page .jko-sold-store-logo.no-logo span {
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #e85f10 !important;
}

.jko-sold-gallery-page .jko-sold-store-info {
    display: flex !important;
    flex-direction: column !important;
}

.jko-sold-gallery-page .jko-sold-store-info strong {
    color: #193b2f !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    margin: 0 0 4px !important;
    display: block !important;
}

.jko-sold-gallery-page .jko-sold-store-info span {
    color: #7b7066 !important;
    font-size: 11px !important;
    margin: 0 0 2px !important;
    display: block !important;
}

.jko-sold-gallery-page .jko-sold-store-info em {
    margin-top: auto !important;
    border: 1px solid #f0c6a6 !important;
    border-radius: 4px !important;
    color: #e85f10 !important;
    display: block !important;
    font-size: 11px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    padding: 6px !important;
    text-align: center !important;
}

.jko-sold-gallery-page .jko-sold-contact-panel {
    align-items: center !important;
    background: #fff4ea !important;
    border: 1px solid #ead8c0 !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 24px rgba(74,47,21,0.08) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    margin: 0 !important;
    padding: 24px 18px !important;
    position: relative !important;
    width: 100% !important;
    text-align: center !important;
}

.jko-sold-gallery-page .jko-sold-contact-icon {
    align-items: center !important;
    background: #fffaf4 !important;
    border: 1px solid #ead8c0 !important;
    border-radius: 8px !important;
    color: #193b2f !important;
    display: flex !important;
    font-size: 24px !important;
    height: 60px !important;
    justify-content: center !important;
    width: 60px !important;
}

.jko-sold-gallery-page .jko-sold-contact-panel p {
    color: #4d4036 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
    margin: 0 !important;
}

.jko-sold-gallery-page .jko-sold-btn-orange {
    background: #e85f10 !important;
    color: #fff !important;
    border-radius: 5px !important;
    min-height: 38px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    text-decoration: none !important;
    font-weight: 700 !important;
}

@media (max-width: 767px) {
    body#body-search .inside.search.jko-sold-gallery-page {
        padding: 0 12px 24px !important;
    }
    .jko-sold-gallery-page .jko-sold-category-intro {
        grid-template-columns: 1fr !important;
        min-height: 0 !important;
        padding: 22px !important;
    }
    .jko-sold-gallery-page .jko-sold-category-intro h1 {
        font-size: 36px !important;
    }
    .jko-sold-gallery-page .jko-sold-proofbar {
        grid-template-columns: 1fr !important;
    }
    .jko-sold-gallery-page .jko-sold-proofbar > div {
        grid-template-columns: 1fr !important;
    }
    .jko-sold-gallery-page .jko-sold-toolbar {
        align-items: stretch !important;
        flex-direction: column !important;
    }
    .jko-sold-gallery-page .jko-sold-selects {
        flex-wrap: wrap !important;
    }
    .jko-sold-gallery-page .jko-sold-layout {
        grid-template-columns: 1fr !important;
    }
    .jko-sold-gallery-page .jko-sold-masonry {
        grid-auto-rows: 180px !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    .jko-sold-gallery-page .jko-sold-seller-panel {
        position: static !important;
    }
    .jko-sold-gallery-page .jko-sold-stores {
        margin-right: 0 !important;
    }
    .jko-sold-gallery-page .jko-sold-stores > div {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    .jko-sold-gallery-page .jko-sold-contact-panel {
        margin-top: 14px !important;
        width: auto !important;
    }
}

@media (max-width: 560px) {
    .jko-sold-gallery-page .jko-sold-category-intro h1 {
        font-size: 31px !important;
    }
    .jko-sold-gallery-page .jko-sold-masonry {
        grid-template-columns: 1fr !important;
    }
    .jko-sold-gallery-page .jko-sold-card,
    .jko-sold-gallery-page .jko-sold-card.is-tall,
    .jko-sold-gallery-page .jko-sold-card:nth-child(n+3) {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }
    .jko-sold-gallery-page .jko-sold-stores > div {
        grid-template-columns: 1fr !important;
    }
}

/* Testimonials Section */
.jko-testimonials-section {
    background: #fffaf5;
    border-top: 1px solid rgba(234, 216, 192, 0.72);
    border-bottom: 1px solid rgba(234, 216, 192, 0.72);
    padding: 22px 0 24px;
}
.jko-testimonials-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 14px;
    max-width: 1150px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 16px;
}
.jko-testimonials-title h2 {
    color: #193b2f;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 5px;
}
.jko-testimonials-title p {
    color: #6f6257;
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
    max-width: 460px;
}
.jko-testimonials-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-shrink: 0;
}
.jko-testimonials-all {
    align-items: center;
    border: 1px solid rgba(220, 111, 36, 0.28);
    border-radius: 999px;
    color: #dc6f24;
    display: inline-flex;
    font-size: 13px;
    font-weight: 700;
    gap: 7px;
    min-height: 36px;
    padding: 0 14px;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.jko-testimonials-all:hover {
    background: #fff4ea;
    border-color: rgba(220, 111, 36, 0.45);
    color: #b95618;
}
.jko-testimonials-carousel {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 2px 16px 4px;
    scroll-snap-type: x mandatory;
    scroll-padding: 0;
    max-width: 1150px;
    margin: 0 auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.jko-testimonials-carousel::-webkit-scrollbar {
    display: none;
}
.jko-testimonial-card {
    background: #fff;
    border: 1px solid rgba(234, 216, 192, 0.82);
    border-radius: 8px;
    box-shadow: 0 8px 18px rgba(74, 47, 21, 0.05);
    min-width: 246px;
    max-width: 246px;
    padding: 12px;
    flex-shrink: 0;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    position: relative;
}
.jko-testimonial-card.highlight {
    background: #fff8f1;
    border-color: #f1caa8;
}
.jko-testimonial-user {
    display: flex;
    align-items: center;
    margin-bottom: 9px;
    position: relative;
}
.jko-testimonial-user img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 9px;
}
.jko-testimonial-info strong {
    display: block;
    color: #193b2f;
    font-size: 13px;
}
.jko-testimonial-info span {
    color: #718096;
    font-size: 11px;
}
.jko-testimonial-info span i {
    color: #a0aec0;
}
.jko-testimonial-badge {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 9px;
    padding: 2px 6px;
    border-radius: 20px;
    font-weight: 600;
}
.jko-testimonial-badge.bg-green {
    background: #e6f2eb;
    color: #276749;
}
.jko-testimonial-badge.bg-orange {
    background: #ffedd5;
    color: #c05621;
}
.jko-testimonial-stars {
    color: #dc6f24;
    font-size: 10px;
    margin-bottom: 8px;
}
.jko-testimonial-stars strong {
    color: #193b2f;
    margin-left: 5px;
}
.jko-testimonial-quote {
    color: #54483f;
    font-size: 12px;
    line-height: 1.45;
    margin-bottom: 12px;
    position: relative;
    flex-grow: 1;
}
.jko-testimonial-quote i {
    display: none;
}
.jko-testimonial-quote p {
    position: relative;
    z-index: 2;
    margin: 0;
}
.jko-testimonial-store {
    border-top: 1px solid rgba(234, 216, 192, 0.72);
    padding-top: 9px;
    display: flex;
    align-items: center;
    color: #6f6257;
}
.jko-testimonial-store i {
    color: #dc6f24;
    font-size: 13px;
    margin-right: 7px;
}
.jko-testimonial-store strong {
    display: block;
    font-size: 11px;
    color: #193b2f;
}
.jko-testimonial-store span {
    font-size: 10px;
    color: #8b7a6c;
}
.jko-testimonial-action-card {
    background: #fff3e5;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: none;
}
.jko-action-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #fff;
    color: #dc6f24;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(220, 111, 36, 0.15);
}
.jko-testimonial-action-card h3 {
    color: #193b2f;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 22px;
    margin: 0 0 15px;
}
.jko-testimonial-action-card p {
    color: #4a5568;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 25px;
}
.jko-btn-orange {
    background: #dc6f24;
    color: #fff;
    border: 1px solid #dc6f24;
    border-radius: 999px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    min-height: 36px;
    padding: 0 15px;
    transition: background 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: auto;
}
.jko-btn-orange:hover {
    background: #c05c1c;
    color: #fff;
}
@media(max-width: 768px) {
    .jko-testimonials-section {
        padding: 18px 0 20px;
    }
    .jko-testimonials-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 10px;
        padding: 0 14px;
    }
    .jko-testimonials-title h2 {
        font-size: 22px;
    }
    .jko-testimonials-actions {
        width: 100%;
    }
    .jko-testimonials-actions a {
        justify-content: center;
    }
    .jko-testimonials-actions .jko-btn-orange {
        flex: 1 1 auto;
    }
    .jko-testimonials-actions .jko-testimonials-all {
        flex: 0 0 auto;
    }
    .jko-testimonial-card {
        min-width: min(285px, calc(100vw - 44px));
        max-width: min(285px, calc(100vw - 44px));
    }
}

/* Modal Review */
.jko-modal-overlay {
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.jko-modal-content {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.jko-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #a0aec0;
    cursor: pointer;
    line-height: 1;
}
.jko-modal-close:hover {
    color: #4a5568;
}
.jko-modal-content h3 {
    color: #193b2f;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 24px;
    margin: 0 0 10px;
}
.jko-modal-content p {
    color: #4a5568;
    font-size: 14px;
    margin-bottom: 20px;
}
/* Modal Review Form */
.jko-review-form {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.jko-review-form .frm-group {
    display: flex !important;
    flex-direction: column !important;
    margin-bottom: 0 !important;
}
.jko-review-form label {
    display: block !important;
    margin-bottom: 8px !important;
    color: #2d3748 !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    float: none !important;
    width: 100% !important;
    text-align: left !important;
}
.jko-review-form input,
.jko-review-form textarea,
.jko-review-form select {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    font-family: inherit !important;
    font-size: 15px !important;
    background-color: #f8fafc !important;
    box-sizing: border-box !important;
    float: none !important;
    color: #4a5568 !important;
    outline: none !important;
    transition: border-color 0.3s ease !important;
}
.jko-review-form input:focus,
.jko-review-form textarea:focus,
.jko-review-form select:focus {
    border-color: #dc6f24 !important;
    background-color: #fff !important;
}
.jko-review-form textarea {
    min-height: 120px !important;
    resize: vertical !important;
}
.jko-review-form button {
    margin-top: 10px !important;
    border-radius: 8px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}
.jko-autocomplete-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 999999;
    max-height: 200px;
    overflow-y: auto;
}
.jko-sugg-item {
    padding: 10px 15px;
    cursor: pointer;
    font-size: 14px;
    color: #4a5568;
    border-bottom: 1px solid #edf2f7;
}
.jko-sugg-item:last-child { border-bottom: none; }
.jko-sugg-item:hover { background: #f8fafc; color: #dc6f24; }

.jko-testimonials-prev, .jko-testimonials-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(234, 216, 192, 0.9);
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #193b2f;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(74,47,21,0.08);
    font-size: 12px;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease, background 0.2s ease, color 0.2s ease;
}
.jko-testimonials-prev:hover, .jko-testimonials-next:hover {
    background: #dc6f24;
    color: #fff;
    border-color: #dc6f24;
}
.jko-testimonials-prev { left: 15px; }
.jko-testimonials-next { right: 15px; }

/* Show on hover */
.jko-testimonials-section:hover .jko-testimonials-prev,
.jko-testimonials-section:hover .jko-testimonials-next {
    opacity: 1;
}
@media(max-width: 768px) {
    .jko-testimonials-prev,
    .jko-testimonials-next {
        display: none;
    }
}

/* Read more styling */
.jko-read-more {
    color: #dc6f24;
    font-size: 13px;
    font-weight: 600;
    text-decoration: underline;
    margin-left: 5px;
    cursor: pointer;
}
.jko-read-more:hover {
    color: #c05c1c;
}
.jko-testimonial-text {
    margin: 0;
}

/* Related items: keep real grid layout on item pages */
#body-item .related.products.grid {
    display: block !important;
    float: none !important;
    width: 100% !important;
}

#body-item .related.products.grid .inside > .products.standard.grid,
#body-item .related.products.grid .inside > .products.grid {
    display: grid !important;
    float: none !important;
    gap: 15px !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    align-items: start !important;
    width: 100% !important;
}

#body-item #rel-user-block-custom.related.products.grid .inside > .products.standard.grid,
#body-item #rel-user-block-custom.related.products.grid .inside > .products.grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

#body-item .related.products.grid .inside > .products.standard.grid > .simple-prod,
#body-item .related.products.grid .inside > .products.grid > .simple-prod,
#body-item .related.products.grid .inside > .products.standard.grid > .jko-new-card,
#body-item .related.products.grid .inside > .products.grid > .jko-new-card {
    display: flex !important;
    float: none !important;
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}

@media (max-width: 920px) {
  #body-item .related.products.grid .inside > .products.standard.grid,
  #body-item .related.products.grid .inside > .products.grid,
  #body-item #rel-user-block-custom.related.products.grid .inside > .products.standard.grid,
  #body-item #rel-user-block-custom.related.products.grid .inside > .products.grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* FIX FOR JKO SPEC ICONS NOT SHOWING */
.jko-spec-icon svg {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Listing skeleton loader */
.jko-skeleton-host {
    position: relative;
}

.jko-listing-skeleton {
    display: none;
    width: 100%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 0 0 20px 0;
}

#search-items > .jko-listing-skeleton {
    margin-top: 0;
}

html.jko-skeleton-boot .jko-skeleton-host > .jko-listing-skeleton,
.jko-skeleton-host.is-loading > .jko-listing-skeleton {
    display: grid;
}

html.jko-skeleton-boot .jko-skeleton-host > .products,
html.jko-skeleton-boot .jko-skeleton-host > .search-items-wrap,
.jko-skeleton-host.is-loading > .products,
.jko-skeleton-host.is-loading > .search-items-wrap,
#search-items.jko-skeleton-host.is-loading > .list-empty,
#search-items.jko-skeleton-host.is-loading > .paginate {
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.jko-skeleton-host.is-ready > .jko-listing-skeleton {
    display: none !important;
}

.jko-skeleton-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #ead8c0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(25, 59, 47, 0.06);
}

.jko-skeleton-media,
.jko-skeleton-line,
.jko-skeleton-foot span {
    position: relative;
    overflow: hidden;
    background: #f5eadb;
}

.jko-skeleton-media:after,
.jko-skeleton-line:after,
.jko-skeleton-foot span:after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.72), rgba(255,255,255,0));
    animation: jkoSkeletonShimmer 1.35s ease-in-out infinite;
}

.jko-skeleton-media {
    display: block;
    aspect-ratio: 1.35 / 1;
    border-radius: 14px 14px 10px 10px;
}

.jko-skeleton-line {
    display: block;
    height: 12px;
    border-radius: 999px;
    margin: 13px 14px 0 14px;
}

.jko-skeleton-line.is-title {
    width: calc(100% - 52px);
    height: 16px;
    background: #ead8c0;
}

.jko-skeleton-line.is-meta {
    width: 68%;
}

.jko-skeleton-line.is-short {
    width: 45%;
    margin-bottom: 12px;
}

.jko-skeleton-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 14px 14px 14px;
}

.jko-skeleton-foot span:first-child {
    width: 38px;
    height: 38px;
    border-radius: 50%;
}

.jko-skeleton-foot span:last-child {
    width: 58px;
    height: 12px;
    border-radius: 999px;
}

#search-items .jko-listing-skeleton {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@keyframes jkoSkeletonShimmer {
    100% {
        transform: translateX(100%);
    }
}

@media (max-width: 920px) {
    .jko-listing-skeleton,
    #search-items .jko-listing-skeleton {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .jko-skeleton-card {
        border-radius: 12px;
    }

    .jko-skeleton-media {
        border-radius: 12px 12px 9px 9px;
    }
}

@media (max-width: 420px) {
    .jko-listing-skeleton,
    #search-items .jko-listing-skeleton {
        gap: 10px;
    }

    .jko-skeleton-line {
        margin-left: 10px;
        margin-right: 10px;
    }

    .jko-skeleton-foot {
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .jko-skeleton-media:after,
    .jko-skeleton-line:after,
    .jko-skeleton-foot span:after {
        animation: none;
    }
}
