/* Catalog only: wider useful space, mounted photographs and readable product sheets. */
body.ekh-enhanced.ekh-catalog {
  --catalog-width: min(1920px, calc(100% - 64px));
  --catalog-line: #e1e7dc;
  --catalog-shadow: 0 2px 4px #263d2610, 0 12px 24px -12px #263d2626, 0 28px 44px -30px #263d2638;
}
body.ekh-enhanced.ekh-catalog #main { background: #f5f7f5 !important; }
body.ekh-enhanced.ekh-catalog .ekh-shop-categories > .ekh-wrap,
body.ekh-enhanced.ekh-catalog .shop-page-title > .page-title-inner,
body.ekh-enhanced.ekh-catalog #main > .category-page-row {
  width: var(--catalog-width) !important;
  max-width: 1920px !important;
  margin-inline: auto !important;
  padding-inline: 0 !important;
}
body.ekh-enhanced.ekh-catalog .shop-page-title > .page-title-inner { padding-block: 24px 18px !important; }
body.ekh-enhanced.ekh-catalog #main > .category-page-row {
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding-block: 12px 64px;
}
body.ekh-enhanced.ekh-catalog .category-page-row > .col {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  min-width: 0;
}
body.ekh-enhanced.ekh-catalog #shop-sidebar {
  padding: 18px !important;
  border: 1px solid var(--catalog-line);
  border-radius: 14px;
  box-shadow: 0 2px 3px #263d2608, 0 16px 28px -22px #263d2640;
}
body.ekh-enhanced.ekh-catalog #shop-sidebar .product-categories li a { min-height: 44px; }
body.ekh-enhanced.ekh-catalog #shop-sidebar .product-categories li { padding-block: 3px; }
body.ekh-enhanced.ekh-catalog #shop-sidebar .product-categories li.current-cat > a {
  background: #91c63e;
  color: #203917 !important;
  padding-inline: 10px;
  border-radius: 6px;
}
body.ekh-enhanced.ekh-catalog .ekh-catalog-context { padding-bottom: 22px; }
body.ekh-enhanced.ekh-catalog .products {
  width: 100% !important;
  max-width: none !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 22px !important;
}
body.ekh-enhanced.ekh-catalog .products > :is(.product-small, li.product):nth-child(n) {
  grid-column: auto !important;
}
body.ekh-enhanced.ekh-catalog .products > .product-small:nth-child(n) .box {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 8px !important;
  border-color: var(--catalog-line) !important;
  box-shadow: var(--catalog-shadow) !important;
}
body.ekh-enhanced.ekh-catalog .products > .product-small:nth-child(n) .box-image {
  height: auto !important;
  aspect-ratio: 4 / 3;
  max-height: 270px;
  flex: none;
  padding: 12px !important;
  background: #f5f6f3 !important;
  border-bottom: 1px solid var(--catalog-line);
}
body.ekh-enhanced.ekh-catalog .products > .product-small:nth-child(n) .box-image::after { content: none; }
body.ekh-enhanced.ekh-catalog .products > .product-small:nth-child(n) .box-image > div:first-child {
  height: 100%;
  border: 1px solid #ffffff;
  background: #fff;
  box-shadow: 0 1px 2px #263d2610, 0 9px 16px -10px #263d2660;
}
body.ekh-enhanced.ekh-catalog .products > .product-small:nth-child(n) .box-text {
  position: relative;
  inset: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch !important;
  flex: 1;
  gap: 6px;
  margin: 0;
  padding: 12px 14px !important;
  opacity: 1;
  visibility: visible;
  translate: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transition: none;
}
body.ekh-enhanced.ekh-catalog .products .box-text .title-wrapper { width: 100%; }
body.ekh-enhanced.ekh-catalog .ekh-product-reference { font-size: 11px; line-height: 1.5; color: #52634c; }
body.ekh-enhanced.ekh-catalog .products .box-text .category {
  display: none !important;
  font-size: 12px !important;
  color: #52634c !important;
  line-height: 1.5;
  margin-bottom: 5px !important;
  letter-spacing: 0 !important;
}
body.ekh-enhanced.ekh-catalog .products .box-text .product-title {
  font-size: 15px !important;
  line-height: 1.45 !important;
  font-weight: 600 !important;
  min-height: 44px;
  margin: 0 !important;
}
body.ekh-enhanced.ekh-catalog .products .box-text .ekh-product-quote {
  min-height: 44px;
  margin-top: auto !important;
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  width: auto !important;
  padding: 7px 12px !important;
  margin: 0 !important;
  border: 1px solid #a7c68b !important;
  background: #fff !important;
  color: #203917 !important;
  font-size: 13px !important;
  line-height: 1.4;
  font-weight: 600;
  box-shadow: none;
  border-radius: 5px !important;
  justify-content: space-between !important;
}
body.ekh-enhanced.ekh-catalog .products .box-text a:focus-visible {
  outline: 3px solid #477a25;
  outline-offset: 3px;
}
body.ekh-enhanced.ekh-catalog :is(#ekh-shop-categories, #ekh-shop-product-grid) {
  scroll-margin-top: calc(var(--ekh-header-height, 95px) + 24px);
}
/* The shop overview contains categories; product grids belong to category routes. */
body.ekh-enhanced.ekh-catalog .ekh-shop-sidebar-layout { width: var(--catalog-width); max-width: 1920px; margin: 28px auto 56px; display: grid; grid-template-columns: 248px minmax(0,1fr); gap: 28px; align-items: start; }
body.ekh-enhanced.ekh-catalog .ekh-shop-side-panel { padding: 12px; border: 1px solid #e1e7dc; border-radius: 10px; background: #fff; box-shadow: 0 2px 4px #20352008, 0 12px 22px -18px #20352030; }
body.ekh-enhanced.ekh-catalog .ekh-shop-side-panel summary { padding: 12px 8px; font-size: 16px; font-weight: 600; cursor: pointer; }
body.ekh-enhanced.ekh-catalog .ekh-shop-side-menu ul { margin: 0; padding: 0; list-style: none; }
body.ekh-enhanced.ekh-catalog .ekh-shop-side-menu li { margin: 0; padding: 0; }
body.ekh-enhanced.ekh-catalog .ekh-shop-side-menu a { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; padding: 10px 8px; border-top: 1px solid #edf0e8; color: #203917; font-size: 13px; line-height: 1.5; }
body.ekh-enhanced.ekh-catalog .ekh-shop-side-menu .ekh-shop-side-children { margin-left: 8px; padding-left: 10px; border-left: 1px solid #dce4d6; }
body.ekh-enhanced.ekh-catalog .ekh-shop-side-menu a:hover { background: #91c63e; border-radius: 5px; }
body.ekh-enhanced.ekh-catalog .ekh-shop-side-menu a:focus-visible { outline: 3px solid #477a25; outline-offset: 2px; }
body.ekh-enhanced.ekh-catalog .ekh-shop-side-count { font-size: 11px; color: #62755a; }
body.ekh-enhanced.ekh-catalog .ekh-shop-selection { display: grid; grid-template-columns: minmax(260px,.8fr) minmax(0,1.2fr); gap: clamp(24px,3vw,56px); align-items: center; min-width: 0; padding: 32px; background: #fff; border: 0; border-radius: 0; box-shadow: none; }
body.ekh-enhanced.ekh-catalog .ekh-shop-selection-copy { padding: 0; max-width: 480px; }
body.ekh-enhanced.ekh-catalog .ekh-shop-selection h2 { font-size: clamp(28px,2.6vw,44px); font-weight: 700; line-height: 1.2; letter-spacing: -.025em; text-transform: none; margin: 0 0 24px; }
body.ekh-enhanced.ekh-catalog .ekh-shop-selection p { font-size: 16px; line-height: 1.75; color: #394a38; margin: 0 0 20px; }
body.ekh-enhanced.ekh-catalog .ekh-shop-selection .ekh-shop-selection-guide { font-size: 14px; color: #596357; }
body.ekh-enhanced.ekh-catalog .ekh-shop-selection-contact { display: inline-flex; align-items: center; gap: 20px; min-height: 46px; margin-top: 8px; padding: 10px 18px; border-radius: 6px; color: #243a20; background: #91c63e; font-size: 14px; font-weight: 600; text-decoration: none; }
body.ekh-enhanced.ekh-catalog .ekh-shop-selection-contact svg { width: 20px; height: 20px; }
body.ekh-enhanced.ekh-catalog .ekh-shop-selection-contact:focus-visible { outline: 3px solid #365a24; outline-offset: 4px; }
body.ekh-enhanced.ekh-catalog .ekh-shop-selection-photo { min-width: 0; margin: 0; }
body.ekh-enhanced.ekh-catalog .ekh-shop-selection-photo img { display: block; width: 100%; height: clamp(440px,36vw,560px); max-height: none; object-fit: cover; object-position: 58% center; border-radius: 6px; }
body.ekh-enhanced.ekh-catalog .ekh-shop-selection-photo figcaption { margin-top: 12px; font-size: 12px; line-height: 1.5; color: #626d5f; }
@media (max-width: 1199px) {
 body.ekh-enhanced.ekh-catalog .ekh-shop-selection { grid-template-columns: minmax(0,1fr); padding: 24px; gap: 28px; }
 body.ekh-enhanced.ekh-catalog .ekh-shop-selection-copy { max-width: 620px; }
 body.ekh-enhanced.ekh-catalog .ekh-shop-selection-photo img { height: auto; aspect-ratio: 4/3; object-position: center; }
}
@media (max-width: 849px) {
  body.ekh-enhanced.ekh-catalog .ekh-shop-sidebar-layout { grid-template-columns: minmax(0,1fr); gap: 20px; }
  body.ekh-enhanced.ekh-catalog .ekh-shop-selection { padding: 22px 18px; }
  body.ekh-enhanced.ekh-catalog .ekh-shop-selection-copy { padding: 0; }
}
body.ekh-enhanced.ekh-catalog .ekh-shop-directory-nav { padding-block: 36px 64px !important; }
body.ekh-enhanced.ekh-catalog .ekh-shop-overview-heading {
  width: var(--catalog-width);
  max-width: 1920px;
  margin-inline: auto;
  padding: 30px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
body.ekh-enhanced.ekh-catalog .ekh-shop-overview-heading h1 { font-size: clamp(28px, 3vw, 44px) !important; margin: 0 0 8px; }
body.ekh-enhanced.ekh-catalog .ekh-shop-overview-heading p { margin: 0; color: #52634c; }
body.ekh-enhanced.ekh-catalog .ekh-shop-overview-heading .ekh-shop-search { width: min(440px, 45%); margin: 0; }
body.ekh-enhanced.ekh-catalog .ekh-shop-category-links { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
body.ekh-enhanced.ekh-catalog .ekh-shop-category-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid #d8e0d6;
  border-radius: 6px;
  background: #fff;
  color: #203917;
  font-size: 14px;
  box-shadow: 0 2px 3px #253c2510;
}
body.ekh-enhanced.ekh-catalog .ekh-shop-category-links a:hover { background: #91c63e; border-color: #91c63e; }
body.ekh-enhanced.ekh-catalog .ekh-shop-category-links a:focus-visible { outline: 3px solid #477a25; outline-offset: 3px; }
body.ekh-enhanced.ekh-catalog .ekh-shop-category-empty { position: absolute; inset: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: #64765d; }
body.ekh-enhanced.ekh-catalog .ekh-shop-directory-copy .ekh-shop-directory-parent { font-size: 12px; color: #52634c; }
body.ekh-enhanced.ekh-catalog .ekh-shop-directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
body.ekh-enhanced.ekh-catalog .ekh-shop-directory-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--catalog-line);
  border-radius: 14px;
  background: #fff;
  color: #203917;
  box-shadow: var(--catalog-shadow);
  transition: box-shadow .2s ease, border-color .2s ease;
}
body.ekh-enhanced.ekh-catalog .ekh-shop-directory-image {
  position: relative;
  width: 100%;
  flex: none;
  display: block;
  aspect-ratio: 1.55;
  padding: 18px;
  background: linear-gradient(155deg, #fff, #f0f4eb);
  border-bottom: 1px solid var(--catalog-line);
}
body.ekh-enhanced.ekh-catalog .ekh-shop-directory-image img {
  position: absolute;
  inset: 18px;
  display: block;
  width: calc(100% - 36px);
  height: calc(100% - 36px);
  object-fit: contain;
  background: #fff;
  box-shadow: 0 2px 3px #263d2610, 0 10px 16px -12px #263d2660;
}
body.ekh-enhanced.ekh-catalog .ekh-shop-directory-copy { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 22px; }
body.ekh-enhanced.ekh-catalog .ekh-shop-directory-copy > strong { font: 700 22px/1.35 'Ecohome Sans',sans-serif; }
body.ekh-enhanced.ekh-catalog .ekh-shop-directory-copy > span { font-size: 14px; line-height: 1.65; color: #52634c; }
body.ekh-enhanced.ekh-catalog .ekh-shop-directory-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 8px; }
body.ekh-enhanced.ekh-catalog .ekh-shop-directory-action { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; padding: 8px 14px; border-radius: 6px; background: #91c63e; color: #203917; font-weight: 600; }
body.ekh-enhanced.ekh-catalog .ekh-shop-directory-card:hover { border-color: #91c63e; box-shadow: 0 4px 6px #263d2610, 0 20px 32px -18px #263d2640; }
body.ekh-enhanced.ekh-catalog :is(.ekh-shop-directory-card, .ekh-shop-back):focus-visible { outline: 3px solid #477a25; outline-offset: 4px; }
body.ekh-enhanced.ekh-catalog .ekh-shop-collection-heading { width: var(--catalog-width); max-width: 1920px; margin-inline: auto; padding-block: 32px 8px; }
body.ekh-enhanced.ekh-catalog .ekh-shop-collection-heading h1 { font-size: clamp(30px, 3vw, 44px); margin: 12px 0; }
body.ekh-enhanced.ekh-catalog .ekh-shop-collection-heading p { font-size: 15px; color: #52634c; margin-bottom: 0; }
body.ekh-enhanced.ekh-catalog .ekh-shop-back { display: inline-flex; min-height: 44px; align-items: center; font-size: 14px; color: #365a24; }
@media (max-width: 1100px) {
  body.ekh-enhanced.ekh-catalog .ekh-shop-directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
}
@media (max-width: 640px) {
  body.ekh-enhanced.ekh-catalog .ekh-shop-directory-grid { grid-template-columns: minmax(0, 1fr); }
  body.ekh-enhanced.ekh-catalog .ekh-shop-directory-copy { padding: 18px; }
  body.ekh-enhanced.ekh-catalog .ekh-shop-directory-copy > strong { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  body.ekh-enhanced.ekh-catalog .ekh-shop-directory-card { transition: none; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  body.ekh-enhanced.ekh-catalog .products > .product-small:nth-child(n) .box:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 2px 4px #263d2610, 0 12px 22px -14px #263d2638 !important;
  }
}
@media (min-width: 1680px) {
  body.ekh-enhanced.ekh-catalog .products { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}
@media (max-width: 1199px) {
  body.ekh-enhanced.ekh-catalog .products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  body.ekh-enhanced.ekh-catalog #main > .category-page-row { grid-template-columns: 208px minmax(0, 1fr); gap: 22px; }
}
/* Flatsome moves the filter sidebar into its existing drawer below 850px. */
@media (max-width: 849px) {
  body.ekh-enhanced.ekh-catalog { --catalog-width: calc(100% - 40px); }
  body.ekh-enhanced.ekh-catalog #main > .category-page-row { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  body.ekh-enhanced.ekh-catalog { --catalog-width: calc(100% - 32px); }
  body.ekh-enhanced.ekh-catalog .products { grid-template-columns: minmax(0, 1fr) !important; gap: 22px !important; }
  body.ekh-enhanced.ekh-catalog .products > .product-small:nth-child(n) .box-image { padding: 12px !important; }
  body.ekh-enhanced.ekh-catalog .products .box-text .product-title { min-height: 0; }
  body.ekh-enhanced.ekh-catalog .ekh-shop-overview-heading { flex-direction: column; align-items: stretch; gap: 18px; padding-top: 24px; }
  body.ekh-enhanced.ekh-catalog .ekh-shop-overview-heading .ekh-shop-search { width: 100%; }
}

/* Category pages: a recessed canvas, raised navigation and a larger image stage. */
body.ekh-enhanced.ekh-catalog .ekh-shop-collection-heading {
  margin-block: 24px 12px;
  padding: 20px 28px 24px;
  border: 1px solid #e0e6de;
  border-radius: 14px;
  background: linear-gradient(110deg, #fff 72%, #f5f8f1);
  box-shadow: inset 0 1px 0 #fff, 0 3px 5px #253c2505, 0 16px 32px -26px #253c2550;
}
body.ekh-enhanced.ekh-catalog .ekh-shop-collection-heading h1 { font-weight: 700 !important; margin-block: 4px 10px; }
body.ekh-enhanced.ekh-catalog #shop-sidebar { background: #fff !important; box-shadow: 0 2px 4px #253c2508, 0 18px 32px -24px #253c2555; }
body.ekh-enhanced.ekh-catalog #shop-sidebar .product-categories .children { display: block !important; padding-left: 12px; margin-left: 8px; border-left: 1px solid #dae3d5; }
body.ekh-enhanced.ekh-catalog #shop-sidebar .product-categories .toggle { display: none; }
body.ekh-enhanced.ekh-catalog #shop-sidebar .product-categories li a { display: flex; align-items: center; font-size: 13px; line-height: 1.5; }
body.ekh-enhanced.ekh-catalog .products > .product-small:nth-child(n) .box {
  border-radius: 8px !important;
  box-shadow: 0 1px 2px #2035200a, 0 8px 16px -12px #20352030 !important;
}
body.ekh-enhanced.ekh-catalog .products > .product-small:nth-child(n) .box-image {
  position: relative;
  isolation: isolate;
  background: #f5f6f3 !important;
  padding: 12px !important;
}
body.ekh-enhanced.ekh-catalog .products > .product-small:nth-child(n) .box-image > div:first-child {
  position: relative;
  z-index: 1;
  border: 0;
  background: transparent;
  box-shadow: none;
}
body.ekh-enhanced.ekh-catalog .products .box-image img { filter: none; }
body.ekh-enhanced.ekh-catalog .products .box-text .category { text-transform: none; }
body.ekh-enhanced.ekh-catalog .products .box-text .ekh-card-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 6px; border-top: 1px solid #edf0eb; }
body.ekh-enhanced.ekh-catalog .products .box-text .ekh-product-detail {
  display: inline-flex !important;
  align-items: center;
  min-height: 44px;
  width: fit-content;
  color: #365a24;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 0;
  margin: 0;
  border: 0;
}
body.ekh-enhanced.ekh-catalog .products .box-text .ekh-product-detail::before,
body.ekh-enhanced.ekh-catalog .products .box-text .ekh-product-detail::after { content: none !important; }
body.ekh-enhanced.ekh-catalog .products .box-text .ekh-product-quote:hover { background: #91c63e !important; border-color: #91c63e !important; }
body.ekh-enhanced.ekh-catalog .products .box-text .ekh-product-quote svg { width: 16px; height: 16px; }
/* A one-item archive uses the available width rather than leaving empty grid columns. */
body.ekh-enhanced.ekh-catalog .products:has(> .product-small:only-child) { grid-template-columns: minmax(0, 1fr) !important; }
body.ekh-enhanced.ekh-catalog .products > .product-small:only-child .box {
  display: grid;
  height: auto !important;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: stretch;
}
body.ekh-enhanced.ekh-catalog .products > .product-small:only-child .box-image {
  aspect-ratio: auto;
  height: 320px !important;
  max-height: none;
  min-height: 0;
  border-bottom: 0;
  border-right: 1px solid #e0e6de;
  padding: 20px !important;
}
body.ekh-enhanced.ekh-catalog .products > .product-small:only-child .box-image > div:first-child { height: 100%; }
body.ekh-enhanced.ekh-catalog .products > .product-small:only-child .box-image img { position: absolute; inset: 0; width: 100%; height: 100%; }
body.ekh-enhanced.ekh-catalog .products > .product-small:only-child .box-text { justify-content: center !important; gap: 12px; padding: 28px !important; }
body.ekh-enhanced.ekh-catalog .products > .product-small:only-child .product-title { min-height: 0; font-size: 22px !important; font-weight: 600 !important; }
body.ekh-enhanced.ekh-catalog .products > .product-small:only-child .ekh-card-actions { margin-top: 12px; }
body.ekh-enhanced.ekh-catalog .products > .product-small:only-child .ekh-product-quote { margin-top: 4px !important; }
@media (max-width: 1199px) and (min-width: 850px) {
  body.ekh-enhanced.ekh-catalog .products > .product-small:only-child .box { grid-template-columns: minmax(0, 1fr); }
  body.ekh-enhanced.ekh-catalog .products > .product-small:only-child .box-image { height: 280px !important; border-right: 0; border-bottom: 1px solid #e0e6de; }
}
@media (max-width: 640px) {
  body.ekh-enhanced.ekh-catalog .ekh-shop-collection-heading { margin-top: 16px; padding: 16px 20px 22px; }
  body.ekh-enhanced.ekh-catalog .products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 14px !important; }
  body.ekh-enhanced.ekh-catalog .products > .product-small:nth-child(n) .box-image { padding: 8px !important; }
  body.ekh-enhanced.ekh-catalog .products > .product-small:nth-child(n) .box-text { padding: 10px !important; }
  body.ekh-enhanced.ekh-catalog .products .box-text .product-title { font-size: 14px !important; }
  body.ekh-enhanced.ekh-catalog .products .box-text .ekh-card-actions { gap: 6px; }
  body.ekh-enhanced.ekh-catalog .products .box-text .ekh-product-quote { padding-inline: 8px !important; }
  body.ekh-enhanced.ekh-catalog .products > .product-small:only-child .box { grid-template-columns: minmax(0, 1fr); }
  body.ekh-enhanced.ekh-catalog .products > .product-small:only-child .box-image { height: 260px !important; border-right: 0; border-bottom: 1px solid #e0e6de; padding: 16px !important; }
  body.ekh-enhanced.ekh-catalog .products > .product-small:only-child .box-text { padding: 16px !important; gap: 8px; }
}
@media (max-width: 359px) {
  body.ekh-enhanced.ekh-catalog .products { grid-template-columns: minmax(0, 1fr) !important; }
}
@media (prefers-reduced-motion: reduce) {
  body.ekh-enhanced.ekh-catalog .products > .product-small:nth-child(n) .box,
  body.ekh-enhanced.ekh-catalog .products .box-image img { transition: none !important; transform: none !important; }
}

/* A softly lit display niche: wall, floor and contact shadow beneath each photo. */
body.ekh-enhanced.ekh-catalog .products > .product-small:nth-child(n) .box {
  overflow: hidden;
  border: 1px solid #dfe5dc !important;
  border-bottom: 3px solid #d9e0d4 !important;
  background: #fff;
  box-shadow: 0 2px 3px #253b2510, 0 12px 20px -14px #253b2536 !important;
}
body.ekh-enhanced.ekh-catalog .products > .product-small:nth-child(n) .box-image {
  isolation: isolate;
  padding: 14px 16px 22px !important;
  background: radial-gradient(ellipse at 30% 8%, #fff 4%, #f6f8f3 52%, #e9eee5 100%) !important;
  border-bottom-color: #e3e8df;
}
body.ekh-enhanced.ekh-catalog .products > .product-small:nth-child(n) .box-image::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 73% 0 0;
  background: linear-gradient(#e4eadf, #f8faf6 58%);
  border-top: 1px solid #fff;
  box-shadow: 0 -5px 14px #d9e1d533;
  pointer-events: none;
}
body.ekh-enhanced.ekh-catalog .products > .product-small:nth-child(n) .box-image::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 64%;
  height: 10%;
  left: 22%;
  bottom: 5%;
  border-radius: 50%;
  background: #62715b35;
  filter: blur(9px);
  pointer-events: none;
}
body.ekh-enhanced.ekh-catalog .products > .product-small:nth-child(n) .box-image > div:first-child {
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
}
body.ekh-enhanced.ekh-catalog .products .box-image img {
  filter: drop-shadow(2px 7px 5px #33422c24);
  transform-origin: 50% 90%;
  transition: transform .22s ease;
}
body.ekh-enhanced.ekh-catalog .products > .product-small:nth-child(n) .box-text {
  background: #fff;
  box-shadow: inset 0 1px #fff;
}
body.ekh-enhanced.ekh-catalog .products .box-text .ekh-card-actions {
  border-top-color: #e4ebdf;
}
body.ekh-enhanced.ekh-catalog .products .box-text .ekh-product-quote {
  background: #f6faf1 !important;
  box-shadow: inset 0 1px #fff, 0 2px 1px #3047210b;
}
body.ekh-enhanced.ekh-catalog .products .box:focus-within {
  outline: 2px solid #91c63e;
  outline-offset: 3px;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  body.ekh-enhanced.ekh-catalog .products .box:hover .box-image img {
    transform: translateY(-3px) scale(1.025);
  }
}
@media (max-width: 640px) {
  body.ekh-enhanced.ekh-catalog .products > .product-small:nth-child(n) .box-image {
    padding: 9px 10px 15px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.ekh-enhanced.ekh-catalog .products .box-image img { transition: none; }
}
