/* Archive/shop grids and product blocks */

/* ==========================================================================
   WooCommerce
   ========================================================================== */

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering,
.woocommerce .woocommerce-breadcrumb {
  color: var(--muted);
  font-size: 18px;
}

.boutique-shop-content {
  overflow: visible;
}

.kd-shop-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.kd-shop-layout.is-filter-mode-top {
  grid-template-columns: minmax(0, 1fr) !important;
}

.kd-shop-sidebar {
  position: sticky;
  top: 22px;
  z-index: 5;
}

.kd-shop-layout.is-filter-mode-top .kd-shop-sidebar {
  display: none;
}

.kd-shop-layout.is-filter-mode-top .kd-shop-main {
  grid-column: 1 / -1;
  width: 100%;
}

.boutique-shop-shell.is-filters-collapsed .kd-shop-layout.is-filter-mode-top {
  grid-template-columns: minmax(0, 1fr) !important;
}

.boutique-shop-shell.is-filters-collapsed .kd-shop-layout.is-filter-mode-top .kd-shop-main {
  grid-column: 1 / -1;
}

.boutique-shop-shell.is-filter-mode-side .kd-shop-top-filters {
  display: none;
}

.boutique-shop-shell.is-filter-mode-side .kd-shop-hero__eyebrow,
.boutique-shop-shell.is-filter-mode-side .kd-shop-page-title,
.boutique-shop-shell.is-filter-mode-side .kd-shop-page-subtitle {
  display: none;
}

.boutique-shop-shell.is-filter-mode-top .kd-shop-sidebar {
  display: none;
}

.kd-shop-sidebar-collapse,
.kd-shop-filters-toggle,
.kd-shop-filters-close,
.kd-shop-layout-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--rose), var(--rose-dark));
  color: #fff9f2;
  font-family: "Cormorant Garamond", serif;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 14px 26px rgba(170, 44, 89, 0.18);
  cursor: pointer;
}

.kd-shop-sidebar-collapse {
  width: 100%;
  margin-bottom: 14px;
  padding: 10px 16px;
}

.kd-shop-filters-toggle {
  gap: 10px;
  padding: 12px 20px;
}

.kd-shop-filters-close {
  width: 42px;
  height: 42px;
  padding: 0;
  font-size: 28px;
  line-height: 1;
}

.kd-shop-layout-toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.kd-shop-layout-toggles--main {
  justify-content: center;
  margin: 0;
  position: relative;
}

.kd-shop-layout-toggles--sidebar {
  margin: 0 0 12px;
  position: relative;
}

.kd-shop-layout-toggle {
  min-height: 36px;
  padding: 0 16px;
  font-size: 15px;
  box-shadow: 0 10px 18px rgba(170, 44, 89, 0.14);
}

.kd-shop-layout-toggle.is-active {
  background: linear-gradient(135deg, var(--rose-dark), var(--rose));
  box-shadow: 0 12px 22px rgba(170, 44, 89, 0.22);
}

.kd-shop-filters-toggle__icon {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}

.kd-shop-filters-panel {
  position: relative;
  padding: 18px 14px 18px;
  border: 1px solid rgba(199, 161, 127, 0.2);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(255, 247, 238, 0.95));
  box-shadow: 0 18px 34px rgba(110, 78, 52, 0.1);
}

.kd-shop-filters-panel::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(199, 161, 127, 0.14);
  border-radius: 20px;
  pointer-events: none;
}

.kd-shop-filters-panel > * {
  position: relative;
  z-index: 1;
}

.kd-shop-filters-head {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.kd-shop-filters-kicker {
  margin: 0;
  color: var(--kd-rose-dark);
  font-family: "Cormorant Garamond", serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kd-shop-filters-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.kd-shop-filters-title {
  margin: 0;
  color: var(--kd-ink);
  font-family: "Abril Fatface", serif;
  font-size: clamp(24px, 2vw, 30px);
  font-weight: 400;
  line-height: 1;
}

.kd-shop-filter-chips,
.kd-shop-filter-chip {
  display: none;
}

.kd-shop-filter-groups {
  display: grid;
  gap: 10px;
}

.kd-shop-filter-group {
  border: 1px solid rgba(199, 161, 127, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
  overflow: hidden;
}

.kd-shop-filter-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  cursor: pointer;
  list-style: none;
  color: var(--kd-ink);
  font-family: "Abril Fatface", serif;
  font-size: 18px;
  line-height: 1;
}

.kd-shop-filter-summary::-webkit-details-marker {
  display: none;
}

.kd-shop-filter-summary::after {
  content: "+";
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.kd-shop-filter-group[open] .kd-shop-filter-summary::after {
  content: "−";
}

.kd-shop-filter-options {
  display: grid;
  gap: 4px;
  padding: 0 12px 12px;
  max-height: 230px;
  overflow: auto;
}

.kd-shop-filter-option {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.kd-shop-filter-option:hover {
  background: rgba(200, 63, 104, 0.06);
}

.kd-shop-filter-option input {
  width: 16px;
  height: 16px;
  margin: 0;
}

.kd-shop-filter-option-label {
  color: var(--kd-ink);
  font-size: 15px;
  line-height: 1.2;
}

.kd-shop-filter-option-count {
  color: var(--kd-rose-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.kd-shop-filters-actions {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.kd-shop-filters-apply {
  width: 100%;
}

.kd-shop-filters-clear {
  display: inline-flex;
  justify-content: center;
  color: var(--kd-rose-dark);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.kd-shop-main {
  min-width: 0;
}

.kd-shop-hero {
  position: relative;
  margin: 14px auto 20px;
  max-width: 1280px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(199, 161, 127, 0.22);
  border-radius: 34px;
  overflow: visible;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 42%),
    linear-gradient(180deg, #fbf4eb 0%, #fffdf8 100%);
  box-shadow: 0 22px 44px rgba(58, 37, 45, 0.12);
  z-index: 30;
}

.kd-shop-hero::after {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(199, 161, 127, 0.18);
  border-radius: 22px;
  pointer-events: none;
}

.kd-shop-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: center;
  justify-items: center;
  text-align: center;
  overflow: visible;
}

.kd-shop-hero__content {
  display: grid;
  grid-template-areas:
    "start modes"
    "start filters";
  grid-template-columns: minmax(390px, 0.42fr) minmax(0, 1fr);
  gap: 14px 22px;
  align-items: start;
  width: 100%;
  justify-items: center;
  overflow: visible;
  grid-column: 1 / -1;
  grid-row: 4;
  max-width: 1160px;
  margin-top: 8px;
}

.kd-shop-hero__collapse-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
}

.kd-shop-hero-collapse {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(199, 161, 127, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--kd-ink);
  font-family: "Cormorant Garamond", serif;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 8px 16px rgba(110, 78, 52, 0.06);
  cursor: pointer;
}

.kd-shop-hero-collapse::before {
  content: "−";
  margin-right: 8px;
  color: var(--kd-rose-dark);
  font-size: 22px;
  line-height: 1;
}

.boutique-shop-shell.is-shop-hero-collapsed .kd-shop-hero-collapse::before {
  content: "+";
}

.boutique-shop-shell.is-shop-hero-collapsed .kd-shop-hero__content.has-active-filters .kd-shop-start-here,
.boutique-shop-shell.is-shop-hero-collapsed .kd-shop-hero__content.has-active-filters .kd-shop-layout-toggles--main,
.boutique-shop-shell.is-shop-hero-collapsed .kd-shop-hero__content.has-active-filters .kd-shop-top-filters {
  display: none;
}

.kd-shop-hero__eyebrow {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--kd-rose-dark);
  font-family: "Cormorant Garamond", serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.kd-shop-page-title {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--kd-ink);
  font-family: "Lobster", cursive;
  font-size: clamp(54px, 5.6vw, 88px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.95;
  text-align: center;
}

.kd-shop-page-subtitle {
  grid-column: 1 / -1;
  grid-row: 3;
  max-width: 820px;
  margin: -4px auto 6px;
  color: var(--kd-ink);
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.2;
}

.kd-shop-start-here {
  display: grid;
  grid-area: start;
  align-self: stretch;
  gap: 0;
  margin: 0;
  padding: 18px 20px;
  border: 1px solid rgba(199, 161, 127, 0.2);
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 55%),
    linear-gradient(180deg, rgba(255, 252, 247, 0.96), rgba(255, 246, 236, 0.88));
  box-shadow: 0 16px 30px rgba(110, 78, 52, 0.1);
  justify-items: center;
}

.kd-shop-layout-toggles--main,
.kd-shop-top-filters {
  grid-column: auto;
}

.kd-shop-layout-toggles--main {
  grid-area: modes;
  justify-self: center;
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  border: 1px solid rgba(199, 161, 127, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 24px rgba(110, 78, 52, 0.08);
}

.kd-shop-layout-toggles--main::before,
.kd-shop-layout-toggles--main::after,
.kd-shop-layout-toggles--sidebar::before,
.kd-shop-layout-toggles--sidebar::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 181px;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(170, 44, 89, 0.54), transparent);
  line-height: 1;
  pointer-events: none;
  transform: translateY(-50%);
}

.kd-shop-layout-toggles--main::before,
.kd-shop-layout-toggles--sidebar::before {
  box-shadow: 24px -4px 0 -3px rgba(170, 44, 89, 0.62), 43px 4px 0 -3px rgba(170, 44, 89, 0.62);
}

.kd-shop-layout-toggles--main::after,
.kd-shop-layout-toggles--sidebar::after {
  box-shadow: -24px -4px 0 -3px rgba(170, 44, 89, 0.62), -43px 4px 0 -3px rgba(170, 44, 89, 0.62);
}

.kd-shop-layout-toggles--main::before,
.kd-shop-layout-toggles--sidebar::before {
  right: calc(100% + 14px);
}

.kd-shop-layout-toggles--main::after,
.kd-shop-layout-toggles--sidebar::after {
  left: calc(100% + 14px);
}

.kd-shop-layout-toggles--main .kd-shop-layout-toggle {
  min-height: 38px;
  padding: 0 18px;
  background: transparent;
  color: var(--kd-ink);
  box-shadow: none;
}

.kd-shop-layout-toggles--main .kd-shop-layout-toggle.is-active {
  background: linear-gradient(135deg, var(--rose), var(--rose-dark));
  color: #fff9f2;
  box-shadow: 0 10px 18px rgba(170, 44, 89, 0.16);
}

.kd-shop-top-filters {
  grid-area: filters;
}

.kd-shop-start-here__kicker {
  margin: 0;
  color: var(--kd-rose-dark);
  font-family: "Cormorant Garamond", serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.kd-shop-start-here__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-content: center;
  gap: 10px;
  width: 100%;
}

.kd-shop-start-here__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  width: 100%;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 16px rgba(110, 78, 52, 0.06);
  border: 1px solid rgba(199, 161, 127, 0.22);
  color: var(--kd-ink);
  font-family: "Cormorant Garamond", serif;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

.kd-shop-top-filters {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(199, 161, 127, 0.2);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0) 46%),
    linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(255, 246, 236, 0.92));
  box-shadow: 0 16px 30px rgba(110, 78, 52, 0.1);
  position: relative;
  z-index: 40;
}

.kd-shop-top-filters-form {
  display: grid;
  gap: 10px;
  justify-items: center;
}

.kd-shop-top-active-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.kd-shop-top-active-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(200, 63, 104, 0.1);
  color: var(--kd-rose-dark);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(200, 63, 104, 0.08);
}

.kd-shop-top-filters-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  position: relative;
  z-index: 41;
}

.kd-shop-top-filter {
  position: relative;
  z-index: 42;
}

.kd-shop-top-filter-summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(199, 161, 127, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--kd-ink);
  cursor: pointer;
  list-style: none;
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 8px 16px rgba(110, 78, 52, 0.05);
}

.kd-shop-top-filter-summary::-webkit-details-marker {
  display: none;
}

.kd-shop-top-filter-summary::after {
  content: "+";
  color: var(--kd-rose-dark);
  font-size: 22px;
  line-height: 1;
}

.kd-shop-top-filter[open] .kd-shop-top-filter-summary::after {
  content: "−";
}

.kd-shop-top-filter[open] {
  z-index: 120;
}

.kd-shop-top-filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--rose), var(--rose-dark));
  color: #fff9f2;
  font-size: 11px;
  font-weight: 700;
}

.kd-shop-top-filter-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 130;
  display: grid;
  gap: 4px;
  width: max-content;
  min-width: 100%;
  max-width: min(560px, calc(100vw - 48px));
  max-height: 340px;
  overflow: auto;
  padding: 12px;
  border: 1px solid rgba(199, 161, 127, 0.18);
  border-radius: 18px;
  background: rgba(255, 252, 247, 0.98);
  box-shadow: 0 16px 28px rgba(110, 78, 52, 0.16);
}

.boutique-shop-content,
.kd-shop-layout,
.kd-shop-main,
.kd-shop-toolbar,
.boutique-shop-content .kitty-prod-loop,
.boutique-shop-content .kitty-prod-loop > :is(li.product, li.wc-block-grid__product, li.wc-block-product) {
  position: relative;
  z-index: 1;
}

.kd-shop-top-filter-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  width: max-content;
  min-width: 100%;
  max-width: 100%;
  padding: 8px 10px;
  border-radius: 12px;
}

.kd-shop-top-filter-option:hover {
  background: rgba(200, 63, 104, 0.06);
}

.kd-shop-top-filter-option-choice {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-width: 0;
  cursor: pointer;
}

.kd-shop-top-filter-option input {
  width: 16px;
  height: 16px;
  margin: 0;
}

.kd-shop-top-filter-option-label {
  color: var(--kd-ink);
  font-size: 16px;
  line-height: 1.2;
}

.kd-shop-top-filter-option-count {
  color: var(--kd-rose-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.kd-shop-top-filter-option-apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(200, 63, 104, 0.12);
  color: var(--kd-rose-dark);
  font-family: "Cormorant Garamond", serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.kd-shop-top-filter-option-apply:hover,
.kd-shop-top-filter-option-apply:focus-visible {
  background: linear-gradient(135deg, var(--rose), var(--rose-dark));
  color: #fff9f2;
}

.kd-shop-top-filters-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.kd-shop-top-filters-apply {
  min-height: 36px;
  padding: 0 16px;
}

.kd-shop-top-filters-clear {
  color: var(--kd-rose-dark);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.kd-shop-kitty-pop {
  position: absolute;
  right: clamp(-68px, -3.8vw, -34px);
  bottom: clamp(-28px, -1.8vw, -10px);
  z-index: 65;
  width: clamp(230px, 23vw, 360px);
  aspect-ratio: 640 / 976;
  pointer-events: none;
  opacity: 0;
  transform: translate(28px, 28px) scale(0.88) rotate(3deg);
  transform-origin: 78% 88%;
  animation: kd-shop-kitty-pop 7.2s cubic-bezier(0.2, 0.86, 0.24, 1) 0.25s forwards;
}

.kd-shop-kitty-pop.is-dismissed {
  display: none;
  animation: none;
}

.kd-shop-kitty-pop__portrait {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: url("../../images/kittyp.webp") right bottom / contain no-repeat;
  filter: drop-shadow(0 28px 34px rgba(58, 37, 45, 0.16));
}

.kd-shop-kitty-pop__bubble {
  position: absolute;
  left: -28%;
  top: 30%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(200, 63, 104, 0.18);
  border-radius: 999px;
  background: rgba(255, 250, 244, 0.92);
  color: var(--kd-rose-dark);
  font-family: "Satisfy", cursive;
  font-size: clamp(26px, 2.2vw, 36px);
  line-height: 1;
  box-shadow: 0 14px 28px rgba(110, 78, 52, 0.12);
  transform: rotate(-8deg);
}

.kd-shop-kitty-pop__bubble::after {
  content: "";
  position: absolute;
  right: -20px;
  bottom: -12px;
  width: 34px;
  height: 24px;
  border-right: 3px solid var(--kd-rose-dark);
  border-bottom: 3px solid var(--kd-rose-dark);
  border-bottom-right-radius: 28px;
  transform: rotate(18deg);
}

@keyframes kd-shop-kitty-pop {
  0% {
    opacity: 0;
    transform: translate(34px, 34px) scale(0.84) rotate(4deg);
  }

  12% {
    opacity: 1;
    transform: translate(0, 0) scale(1) rotate(0deg);
  }

  68% {
    opacity: 1;
    transform: translate(0, 0) scale(1) rotate(0deg);
  }

  100% {
    opacity: 0;
    transform: translate(22px, 18px) scale(0.94) rotate(2deg);
  }
}

.kd-shop-mobile-tools {
  display: none;
  margin-bottom: 16px;
}

.kd-shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid rgba(199, 161, 127, 0.18);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.94), rgba(255, 246, 236, 0.9));
  box-shadow: 0 10px 22px rgba(110, 78, 52, 0.07);
}

.kd-shop-toolbar .woocommerce-result-count,
.kd-shop-toolbar .woocommerce-ordering {
  float: none;
  margin: 0;
}

.kd-shop-toolbar .woocommerce-result-count {
  color: var(--kd-ink);
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
}

.kd-shop-toolbar .woocommerce-ordering .orderby {
  min-width: 210px;
  height: 42px;
  padding: 0 42px 0 14px;
  border: 1px solid rgba(199, 161, 127, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--kd-ink);
  font-family: "Cormorant Garamond", serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 8px 16px rgba(110, 78, 52, 0.05);
}

.kd-shop-toolbar .woocommerce-notices-wrapper {
  width: 100%;
}

.boutique-shop-content .kitty-prod-loop {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 20px 0 0;
}

.boutique-shop-content .kitty-prod-loop > :is(li.product, li.wc-block-grid__product, li.wc-block-product) {
  padding: 10px 10px 12px;
}

.boutique-shop-content .kitty-prod-loop > :is(li.product, li.wc-block-grid__product, li.wc-block-product) .woocommerce-LoopProduct-link {
  gap: 0;
}

.boutique-shop-content .kitty-prod-loop > :is(li.product, li.wc-block-grid__product, li.wc-block-product) a img,
.boutique-shop-content .kitty-prod-loop > :is(li.product, li.wc-block-grid__product, li.wc-block-product) .wc-block-grid__product-image img,
.boutique-shop-content .kitty-prod-loop > :is(li.product, li.wc-block-grid__product, li.wc-block-product) .wc-block-components-product-image img {
  display: block;
  height: 240px;
  max-height: 240px;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center top;
}

body.post-type-archive-product .kitty-prod-loop li.product img.attachment-woocommerce_thumbnail,
body.tax-product_cat .kitty-prod-loop li.product img.attachment-woocommerce_thumbnail,
body.tax-product_tag .kitty-prod-loop li.product img.attachment-woocommerce_thumbnail {
  height: 240px !important;
  max-height: 240px !important;
  min-height: 240px !important;
  width: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
}

.boutique-shop-content .kitty-prod-loop > :is(li.product, li.wc-block-grid__product, li.wc-block-product) .kd-copy.kd-product-copy {
  gap: 5px;
  padding: 8px 2px 2px;
}

.boutique-shop-content .kitty-prod-loop > :is(li.product, li.wc-block-grid__product, li.wc-block-product) .kd-shop-card-support {
  margin: 0;
  color: #7b5b47;
  font-family: "Cormorant Garamond", serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.boutique-shop-content .kitty-prod-loop > :is(li.product, li.wc-block-grid__product, li.wc-block-product) .kd-meta.kd-product-meta {
  padding: 5px 0 1px;
}

.boutique-shop-content .kitty-prod-loop > :is(li.product, li.wc-block-grid__product, li.wc-block-product) .kd-price-row {
  padding-left: 88px;
}

.boutique-shop-content .kitty-prod-loop > :is(li.product, li.wc-block-grid__product, li.wc-block-product) .woocommerce-loop-product__title,
.boutique-shop-content .kitty-prod-loop > :is(li.product, li.wc-block-grid__product, li.wc-block-product) .wp-block-post-title a,
.boutique-shop-content .kitty-prod-loop > :is(li.product, li.wc-block-grid__product, li.wc-block-product) :is(.woocommerce-loop-product__title, .wc-block-grid__product-title, .wc-block-components-product-name, .wc-block-components-product-title, .wp-block-woocommerce-product-title) {
  min-height: calc(1.02em * 2);
  max-height: calc(1.02em * 2);
  font-family: "Abril Fatface", serif;
  font-size: clamp(22px, 1.7vw, 26px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.02;
}

.boutique-shop-content .kitty-prod-loop > :is(li.product, li.wc-block-grid__product, li.wc-block-product) .kd-meta.kd-product-meta {
  font-family: "Cormorant Garamond", serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.45;
}

.boutique-shop-content .kitty-prod-loop > :is(li.product, li.wc-block-grid__product, li.wc-block-product) .kd-product-badge {
  left: 14px !important;
  bottom: 14px !important;
  min-height: 30px;
  
  padding: 8px 16px;
  font-size: 12px;
}

.boutique-shop-content .kitty-prod-loop > :is(li.product, li.wc-block-grid__product, li.wc-block-product) .kd-product-badge--urgent {
  background: linear-gradient(135deg, #ca4d4d, #9f2435);
}

.boutique-shop-content .kitty-prod-loop > :is(li.product, li.wc-block-grid__product, li.wc-block-product) .kd-product-badge--store {
  background: linear-gradient(135deg, #b03f69, #7e1d4a);
}

.boutique-shop-content .kitty-prod-loop > :is(li.product, li.wc-block-grid__product, li.wc-block-product) .kd-product-badge--loved {
  background: linear-gradient(135deg, #c85d83, #a02f5c);
}

.boutique-shop-content .kitty-prod-loop > :is(li.product, li.wc-block-grid__product, li.wc-block-product) :is(.wc-block-grid__product-price .amount bdi, .wc-block-components-product-price__value bdi, .price bdi) {
  font-size: 1.35rem;
}

.boutique-shop-content .woocommerce-pagination,
.boutique-shop-content .wp-block-query-pagination {
  margin: 26px 0 0;
  text-align: center;
}

.boutique-shop-content .woocommerce-pagination ul.page-numbers,
.boutique-shop-content .wp-block-query-pagination,
.boutique-shop-content .wp-block-query-pagination-numbers {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 0;
}

.boutique-shop-content .woocommerce-pagination ul.page-numbers li {
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
}

.boutique-shop-content .woocommerce-pagination .page-numbers,
.boutique-shop-content .wp-block-query-pagination .page-numbers,
.boutique-shop-content .wp-block-query-pagination-next,
.boutique-shop-content .wp-block-query-pagination-previous {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(199, 161, 127, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--kd-ink);
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(110, 78, 52, 0.08);
}

.boutique-shop-content .woocommerce-pagination .page-numbers.current,
.boutique-shop-content .woocommerce-pagination a.page-numbers:hover,
.boutique-shop-content .wp-block-query-pagination .page-numbers.current,
.boutique-shop-content .wp-block-query-pagination a.page-numbers:hover,
.boutique-shop-content .wp-block-query-pagination-next:hover,
.boutique-shop-content .wp-block-query-pagination-previous:hover {
  background: linear-gradient(135deg, var(--rose), var(--rose-dark));
  color: #fff9f2;
  border-color: transparent;
}

.boutique-shop-content .woocommerce-pagination .next,
.boutique-shop-content .woocommerce-pagination .prev,
.boutique-shop-content .wp-block-query-pagination-next,
.boutique-shop-content .wp-block-query-pagination-previous {
  min-width: 46px;
}

.boutique-shop-shell.is-filters-collapsed .kd-shop-layout {
  grid-template-columns: 72px minmax(0, 1fr);
}

.boutique-shop-shell.is-filters-collapsed .kd-shop-filters-panel {
  display: none;
}

.boutique-shop-shell.is-filters-collapsed .kd-shop-sidebar-collapse {
  min-height: 140px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}


.kitty-product-loop-head {
  display: grid;
  gap: 8px;
  margin: 0 45px 18px;
  text-align: center;
}

.kitty-product-loop-section .kitty-product-loop-kicker {
  margin: 0;
  color: var(--kd-rose-dark);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.kitty-product-loop-section .kitty-product-loop-title {
  margin: 0;
  color: var(--kd-ink);
  font-family: "Abril Fatface", Georgia, serif;
  font-size: clamp(34px, 3.8vw, 56px);
  font-weight: 400;
  line-height: 0.96;
}

.kitty-prod-loop {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: start;
  gap: 22px;
  margin: 28px 0px 0;
  padding: 0;
  list-style: none;
}

.kitty-prod-loop::before,
.kitty-prod-loop::after {
  display: none;
}

.kitty-prod-loop > :is(li.product, li.wc-block-grid__product, li.wc-block-product) {
  position: relative;
  display: flex;
  flex-direction: column;
  float: none;
  width: auto;
  margin: 0;
  padding: 12px 12px 18px;
  border: 0;
  border-radius: 28px;
  background: linear-gradient(180deg, #fffbef 0%, #ffffff 100%);
  box-shadow: 0 18px 36px rgba(110, 78, 52, 0.14);
  transform: none;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.kitty-prod-loop > :is(li.product, li.wc-block-grid__product, li.wc-block-product) > * {
  width: 100%;
  align-self: stretch;
}

.kitty-prod-loop > :is(li.product, li.wc-block-grid__product, li.wc-block-product):nth-child(even) {
  transform: none;
}

.kitty-prod-loop > :is(li.product, li.wc-block-grid__product, li.wc-block-product):hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 42px rgba(110, 78, 52, 0.16);
}

.kitty-prod-loop > :is(li.product, li.wc-block-grid__product, li.wc-block-product) a.woocommerce-LoopProduct-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
}

.kitty-prod-loop > :is(li.product, li.wc-block-grid__product, li.wc-block-product) a img,
.kitty-prod-loop > :is(li.product, li.wc-block-grid__product, li.wc-block-product) .wc-block-grid__product-image img,
.kitty-prod-loop > :is(li.product, li.wc-block-grid__product, li.wc-block-product) .wc-block-components-product-image img {
  width: 100%;
  margin-bottom: 0;
  aspect-ratio: 0.9;
  object-fit: cover;
  border-radius: 20px;
  background: #fff;
  box-shadow: none;
}

.kitty-prod-loop > :is(li.product, li.wc-block-grid__product, li.wc-block-product) .wc-block-components-product-image,
.kitty-prod-loop > :is(li.product, li.wc-block-grid__product, li.wc-block-product) .wc-block-grid__product-image {
  position: static !important;
}

.kitty-prod-loop > :is(li.product, li.wc-block-grid__product, li.wc-block-product) .woocommerce-LoopProduct-link {
  position: static;
}

.kitty-prod-loop > :is(li.product, li.wc-block-grid__product, li.wc-block-product) .woocommerce-LoopProduct-link img:first-child {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.kitty-prod-loop > :is(li.product, li.wc-block-grid__product, li.wc-block-product) :is(.wc-block-grid__product-image, .wc-block-components-product-image) {
  margin-bottom: 0;
}

.kitty-prod-loop > :is(li.product, li.wc-block-grid__product, li.wc-block-product) :is(.wp-block-post-title, .wp-block-woocommerce-product-title, .wp-block-woocommerce-product-price, .kd-meta.kd-product-meta, .kd-price-row) {
  width: 100%;
  align-self: stretch;
}

.kitty-prod-loop > :is(li.product, li.wc-block-grid__product, li.wc-block-product) :is(.woocommerce-loop-product__title, .wc-block-grid__product-title, .wc-block-components-product-name, .wc-block-components-product-title, .wp-block-woocommerce-product-title) {
  display: -webkit-box;
  min-height: calc(1.02em * 2);
  max-height: calc(1.02em * 2);
  margin-top: 0;
  overflow: hidden;
  color: var(--kd-ink);
  text-overflow: ellipsis;
  font-family: "Abril Fatface", serif;
  font-size: 26px;
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.kitty-prod-loop > :is(li.product, li.wc-block-grid__product, li.wc-block-product) .woocommerce-loop-product__title {
  min-height: 0;
  max-height: none;
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
  font-family: "Abril Fatface", serif;
  font-size: 26px;
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0;
  -webkit-line-clamp: 2;
}

.kitty-prod-loop > :is(li.product, li.wc-block-grid__product, li.wc-block-product) .wp-block-post-title {
  display: block;
  margin: 0 !important;
  padding: 18px 0 0;
}

.kitty-prod-loop > :is(li.product, li.wc-block-grid__product, li.wc-block-product) .wp-block-post-title a {
  display: -webkit-box;
  overflow: hidden;
  color: var(--kd-ink) !important;
  text-overflow: ellipsis;
  font-family: "Abril Fatface", serif;
  font-size: 26px;
  font-weight: 400;
  line-height: 1.02 !important;
  margin: 0;
  padding: 0;
  text-decoration: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.kitty-prod-loop > :is(li.product, li.wc-block-grid__product, li.wc-block-product) :is(.wc-block-grid__product-title a, .wc-block-components-product-name, .wc-block-components-product-name a, .wc-block-components-product-title a, .wp-block-woocommerce-product-title, .wp-block-woocommerce-product-title a, a) {
  color: inherit;
  text-decoration: none;
}

.kitty-prod-loop > :is(li.product, li.wc-block-grid__product, li.wc-block-product) :is(.wc-block-grid__product-title a, .wc-block-components-product-name a, .wc-block-components-product-title a) {
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.kitty-prod-loop > :is(li.product, li.wc-block-grid__product, li.wc-block-product) :is(.wc-block-grid__product-title, .wc-block-components-product-name, .wc-block-components-product-title, .wc-block-grid__product-price, .wc-block-components-product-price, .wc-block-grid__product-add-to-cart, .wc-block-components-product-button, .wc-block-components-product-button .wp-block-button, .wp-block-button.wc-block-components-product-button) {
  padding-left: 18px;
  padding-right: 18px;
}

.kitty-prod-loop > :is(li.product, li.wc-block-grid__product, li.wc-block-product) :is(.price, .wc-block-components-product-price, .wp-block-woocommerce-product-price .wc-block-components-product-price) {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 0;
  margin-bottom: 0;
  color: var(--kd-loop-price-color);
  font-family: "Cormorant Garamond", serif;
  font-size: var(--kd-loop-price-label-size);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.12em;
  text-align: right;
  text-transform: uppercase;
}

.kitty-prod-loop > :is(li.product, li.wc-block-grid__product, li.wc-block-product) .price {
  padding: 0;
  color: var(--kd-loop-price-color);
  font-size: var(--kd-loop-price-label-size);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--rose-dark);
  font-size: 21px;
  font-weight: 700;
}

.kitty-prod-loop > :is(li.product, li.wc-block-grid__product, li.wc-block-product) :is(.wc-block-grid__product-price .amount, .wc-block-components-product-price .amount, .wc-block-components-product-price__value) {
  display: block;
  color: #3a252d;
  font-family: "Cormorant Garamond", serif;
  font-size: var(--kd-loop-price-label-size);
  font-weight: 700;
  rotate: 8deg;
  letter-spacing: 0.12em;
  text-align: right;
  text-transform: uppercase;
}

.kitty-prod-loop > :is(li.product, li.wc-block-grid__product, li.wc-block-product) :is(.wc-block-grid__product-price .amount bdi, .wc-block-components-product-price .amount bdi, .wc-block-components-product-price__value ins, .wc-block-components-product-price__value bdi) {
  color: var(--kd-loop-price-color);
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.kitty-prod-loop > :is(li.product, li.wc-block-grid__product, li.wc-block-product) :is(.wc-block-grid__product-price del, .wc-block-components-product-price del, .wc-block-components-product-price__regular) {
  opacity: 0.72;
}

.kitty-prod-loop > :is(li.product, li.wc-block-grid__product, li.wc-block-product) :is(.wc-block-grid__product-price del, .wc-block-grid__product-price ins, .wc-block-components-product-price del, .wc-block-components-product-price ins) {
  display: block;
}

.woocommerce span.onsale,
.wc-block-grid__product-onsale,
.wc-block-components-product-sale-badge,
.wc-block-components-sale-badge {
  min-width: 0;
  min-height: 0;
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--rose), var(--rose-dark));
  color: #fff9f2;
  line-height: 1;
}

.woocommerce span.onsale {
  top: 14px;
  left: 14px;
  right: auto;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce-checkout .button.alt,
.wc-block-grid__product-add-to-cart .wp-block-button__link,
.wc-block-components-product-button .wp-element-button,
.wc-block-components-product-button .wp-block-button__link,
.wp-block-button.wc-block-components-product-button .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 26px;
  background: linear-gradient(135deg, var(--rose), var(--rose-dark));
  color: #fff9f2;
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
  box-shadow: 0 14px 26px rgba(170, 44, 89, 0.18);
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce-checkout .button.alt {
  font-size: 18px;
}

.kitty-prod-loop > :is(li.product, li.wc-block-grid__product, li.wc-block-product) .button {
  margin: auto 10px 0;
  align-self: flex-start;
  padding: 0.8em 1.35em;
}

.kitty-prod-loop > :is(li.product, li.wc-block-grid__product, li.wc-block-product) :is(.button, .added_to_cart) {
  display: none;
}

.kitty-prod-loop > :is(li.wc-block-grid__product, li.wc-block-product) {
  text-align: left;
}

.kitty-prod-loop > :is(li.product, li.wc-block-grid__product, li.wc-block-product) .kd-copy.kd-product-copy {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 8px;
  padding: 11px 4px 4px;
  background: #fff;
}

.kitty-prod-loop > :is(li.product, li.wc-block-grid__product, li.wc-block-product) .wp-block-woocommerce-product-title {
  display: block;
  padding: 18px 20px 0;
}

.kitty-prod-loop > :is(li.product, li.wc-block-grid__product, li.wc-block-product) :is(.wp-block-woocommerce-product-title, .wp-block-woocommerce-product-price) {
  margin: 0;
  padding: 0;
  text-align: left;
}

.kitty-prod-loop > :is(li.product, li.wc-block-grid__product, li.wc-block-product) .kd-meta.kd-product-meta {
  margin: 0;
  color: var(--kd-rose-dark);
  font-family: "Cormorant Garamond", serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.45;
  padding: 8px 0 4px;
  text-transform: uppercase;
}

.kitty-prod-loop > :is(li.product, li.wc-block-grid__product, li.wc-block-product) .kd-price-row {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  margin-top: 0;
  min-height: 0;
  padding-top: 0;
  padding-left: 150px;
}

.kitty-prod-loop > :is(li.product, li.wc-block-grid__product, li.wc-block-product) .kd-product-badge {
  position: absolute;
  left: 13px !important;
  bottom: 10px !important;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
 
  max-width: 140px;
  padding: 11px 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--rose), var(--rose-dark));
  color: #fff;
  font-family: "Cormorant Garamond", serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 12px 24px rgba(170, 44, 89, 0.22);
}

.wc-block-grid__product-add-to-cart,
.wc-block-components-product-button,
.wc-block-components-product-button .wp-block-button,
.wp-block-button.wc-block-components-product-button {
  margin-top: auto;
  padding-top: 4px;
}

.kitty-prod-loop > :is(li.product, li.wc-block-grid__product, li.wc-block-product) .added_to_cart {
  display: block;
  margin: 10px 10px 0;
  color: var(--rose-dark);
  font-weight: 700;
  text-decoration: none;
}

.wc-block-product-categories-list,
.wc-block-product-categories-list--depth-0 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.wc-block-product-categories-list-item {
  margin: 0;
  padding: 20px 18px;
  border: 1px solid rgba(200, 63, 104, 0.14);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 248, 237, 0.96), rgba(244, 228, 200, 0.92));
  box-shadow: var(--card-shadow);
}

.wc-block-product-categories-list-item > a {
  display: block;
  color: var(--ink);
  text-decoration: none;
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

.wc-block-product-categories-list-item-count {
  display: inline-block;
  margin-top: 8px;
  color: var(--rose-dark);
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}


.wc-block-components-product-price, .wp-block-woocommerce-product-price .wc-block-components-product-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-top: 0;
    margin-bottom: 0;
    color: var(--kd-loop-price-color);
    font-family: "Cormorant Garamond", serif;
    font-size: var(--kd-loop-price-label-size);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.12em;
    text-align: right;
    text-transform: uppercase;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-end;
}


.kd-related-wrap {
  margin-top: 34px;
}

.kd-related-wrap .related.products {
  margin: 0;
}

.kd-related-wrap .related.products > h2 {
  margin: 0 45px 18px;
  color: var(--kd-ink);
  font-family: "Abril Fatface", serif;
  font-size: clamp(34px, 3.6vw, 54px);
  font-weight: 400;
  line-height: 0.96;
}

@media (max-width: 1100px) {
  .boutique-shop-content .kitty-prod-loop {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .boutique-shop-content .kitty-prod-loop > :is(li.product, li.wc-block-grid__product, li.wc-block-product) a img,
  .boutique-shop-content .kitty-prod-loop > :is(li.product, li.wc-block-grid__product, li.wc-block-product) .wc-block-grid__product-image img,
  .boutique-shop-content .kitty-prod-loop > :is(li.product, li.wc-block-grid__product, li.wc-block-product) .wc-block-components-product-image img {
    height: 220px;
    max-height: 220px;
  }

  body.post-type-archive-product .kitty-prod-loop li.product img.attachment-woocommerce_thumbnail,
  body.tax-product_cat .kitty-prod-loop li.product img.attachment-woocommerce_thumbnail,
  body.tax-product_tag .kitty-prod-loop li.product img.attachment-woocommerce_thumbnail {
    height: 220px !important;
    max-height: 220px !important;
    min-height: 220px !important;
  }
}

@media (max-width: 980px) {
  .kd-shop-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .kd-shop-hero__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .kd-shop-hero__content {
    grid-template-areas:
      "start"
      "modes"
      "filters";
    grid-template-columns: 1fr;
    max-width: 760px;
  }

  .kd-shop-start-here,
  .kd-shop-layout-toggles--main,
  .kd-shop-top-filters {
    grid-column: 1;
  }

  .kd-shop-layout-toggles--main::before,
  .kd-shop-layout-toggles--main::after,
  .kd-shop-layout-toggles--sidebar::before,
  .kd-shop-layout-toggles--sidebar::after {
    display: none;
  }

  .kd-shop-page-title,
  .kd-shop-page-subtitle {
    text-align: center;
  }

  .kd-shop-page-subtitle {
    max-width: 700px;
    margin-inline: auto;
  }

  .kd-shop-hero {
    margin-bottom: 20px;
    padding: 22px 16px;
    border-radius: 28px;
  }

  .kd-shop-hero::after {
    inset: 12px;
    border-radius: 18px;
  }

  .kd-shop-layout.is-filter-mode-top .kd-shop-sidebar,
  .kd-shop-layout.is-filter-mode-side .kd-shop-sidebar {
    display: block;
  }

  .kd-shop-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(360px, calc(100vw - 28px));
    padding: 22px 12px;
    background: rgba(58, 49, 45, 0.16);
    opacity: 0;
    pointer-events: none;
    transform: translateX(-16px);
    transition: opacity 0.22s ease, transform 0.22s ease;
  }

  .boutique-shop-shell.is-filters-open .kd-shop-sidebar {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
  }

  .kd-shop-sidebar-collapse {
    display: none;
  }

  .kd-shop-layout-toggles--sidebar {
    display: none;
  }

  .kd-shop-mobile-tools {
    display: block;
  }

  .kd-shop-filters-panel {
    height: 100%;
    overflow: auto;
  }

  .boutique-shop-content .kitty-prod-loop {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kd-shop-top-filter {
    width: calc(50% - 4px);
  }

  .kd-shop-page-subtitle {
    font-size: 21px;
  }

  .kd-shop-top-filter-summary {
    width: 100%;
    justify-content: space-between;
    min-height: 44px;
    font-size: 17px;
  }

  .kd-shop-top-filter-panel {
    min-width: 100%;
    max-width: calc(100vw - 32px);
    max-height: 360px;
  }

  .kd-shop-kitty-pop {
    right: -18px;
    bottom: -16px;
    width: 185px;
  }

  .kd-shop-kitty-pop__bubble {
    display: none;
  }

  .boutique-shop-content .kitty-prod-loop > :is(li.product, li.wc-block-grid__product, li.wc-block-product) a img,
  .boutique-shop-content .kitty-prod-loop > :is(li.product, li.wc-block-grid__product, li.wc-block-product) .wc-block-grid__product-image img,
  .boutique-shop-content .kitty-prod-loop > :is(li.product, li.wc-block-grid__product, li.wc-block-product) .wc-block-components-product-image img {
    height: 200px;
    max-height: 200px;
  }

  body.post-type-archive-product .kitty-prod-loop li.product img.attachment-woocommerce_thumbnail,
  body.tax-product_cat .kitty-prod-loop li.product img.attachment-woocommerce_thumbnail,
  body.tax-product_tag .kitty-prod-loop li.product img.attachment-woocommerce_thumbnail {
    height: 200px !important;
    max-height: 200px !important;
    min-height: 200px !important;
  }
}

@media (max-width: 640px) {
  .kd-shop-hero {
    padding: 18px 12px;
  }

  .kd-shop-page-title {
    font-size: 48px;
  }

  .kd-shop-start-here__links {
    grid-template-columns: 1fr;
  }

  .kd-shop-layout-toggles--main {
    width: 100%;
  }

  .kd-shop-layout-toggles--main .kd-shop-layout-toggle {
    flex: 1 1 0;
    padding: 0 12px;
  }

  .kd-shop-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .kd-shop-toolbar .woocommerce-ordering .orderby {
    width: 100%;
  }

  .boutique-shop-content .kitty-prod-loop {
    grid-template-columns: minmax(0, 1fr);
  }

  .boutique-shop-content .kitty-prod-loop > :is(li.product, li.wc-block-grid__product, li.wc-block-product) {
    padding: 10px 10px 12px;
  }

  .boutique-shop-content .kitty-prod-loop > :is(li.product, li.wc-block-grid__product, li.wc-block-product) a img,
  .boutique-shop-content .kitty-prod-loop > :is(li.product, li.wc-block-grid__product, li.wc-block-product) .wc-block-grid__product-image img,
  .boutique-shop-content .kitty-prod-loop > :is(li.product, li.wc-block-grid__product, li.wc-block-product) .wc-block-components-product-image img {
    height: 180px;
    max-height: 180px;
  }

  body.post-type-archive-product .kitty-prod-loop li.product img.attachment-woocommerce_thumbnail,
  body.tax-product_cat .kitty-prod-loop li.product img.attachment-woocommerce_thumbnail,
  body.tax-product_tag .kitty-prod-loop li.product img.attachment-woocommerce_thumbnail {
    height: 180px !important;
    max-height: 180px !important;
    min-height: 180px !important;
  }

  .boutique-shop-content .kitty-prod-loop > :is(li.product, li.wc-block-grid__product, li.wc-block-product) .kd-price-row {
    padding-left: 110px;
  }

  .kd-shop-top-filter {
    width: 100%;
  }

  .kd-shop-page-subtitle {
    font-size: 18px;
  }

  .kd-shop-top-filters-actions {
    justify-content: space-between;
  }

  .kd-shop-top-filter-panel {
    max-height: 300px;
  }

  .kd-shop-kitty-pop {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kd-shop-kitty-pop {
    display: none;
    animation: none;
  }
}
