/*
 * Kakooti shop archive redesign
 * Scoped to WooCommerce shop and product taxonomy archives only.
 */

body.woocommerce-shop,
body.tax-product_cat,
body.tax-product_tag {
  --kk-shop-ink: #062f2e;
  --kk-shop-teal: #0b4947;
  --kk-shop-teal-2: #12615d;
  --kk-shop-teal-soft: #dceae5;
  --kk-shop-paper: #f5f0e4;
  --kk-shop-paper-2: #fbf9f3;
  --kk-shop-card: #fffdf8;
  --kk-shop-gold: #d6b446;
  --kk-shop-gold-deep: #9c7416;
  --kk-shop-gold-light: #f2df9a;
  --kk-shop-text: #183c39;
  --kk-shop-muted: #70817c;
  --kk-shop-border: rgba(8, 70, 67, 0.13);
  --kk-shop-shadow: 0 18px 50px rgba(6, 47, 46, 0.09);
  background: var(--kk-shop-paper-2);
  color: var(--kk-shop-text);
}

body.woocommerce-shop .main-page-wrapper,
body.tax-product_cat .main-page-wrapper,
body.tax-product_tag .main-page-wrapper {
  padding-top: 0 !important;
  background:
    radial-gradient(circle at 8% 16%, rgba(214, 180, 70, 0.08), transparent 25%),
    linear-gradient(180deg, var(--kk-shop-paper-2) 0%, #f7f3e9 100%);
}

body.woocommerce-shop .main-page-wrapper > .container,
body.tax-product_cat .main-page-wrapper > .container,
body.tax-product_tag .main-page-wrapper > .container {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
}

body.woocommerce-shop .content-layout-wrapper,
body.tax-product_cat .content-layout-wrapper,
body.tax-product_tag .content-layout-wrapper {
  margin: 0 !important;
}

body.woocommerce-shop .shop-content-area,
body.tax-product_cat .shop-content-area,
body.tax-product_tag .shop-content-area {
  padding: 0 !important;
}

/* Hero */
body.woocommerce-shop [data-id="6c62797"],
body.tax-product_cat [data-id="6c62797"],
body.tax-product_tag [data-id="6c62797"] {
  position: relative;
  width: calc(100% - clamp(32px, 4vw, 72px));
  max-width: none !important;
  min-height: 268px !important;
  margin: 26px auto 0;
  overflow: hidden;
  border: 1px solid rgba(214, 180, 70, 0.3);
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 30%, rgba(214, 180, 70, 0.2), transparent 30%),
    linear-gradient(128deg, #052f2e 0%, #0a4543 58%, #0e5753 100%) !important;
  box-shadow: 0 24px 70px rgba(5, 47, 46, 0.18);
}

body.woocommerce-shop [data-id="6c62797"]::before,
body.tax-product_cat [data-id="6c62797"]::before,
body.tax-product_tag [data-id="6c62797"]::before {
  position: absolute;
  inset: -50px auto auto -40px;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(242, 223, 154, 0.11);
  border-radius: 50%;
  box-shadow:
    0 0 0 38px rgba(242, 223, 154, 0.035),
    0 0 0 76px rgba(242, 223, 154, 0.025);
  content: "";
  pointer-events: none;
}

body.woocommerce-shop [data-id="6c62797"]::after,
body.tax-product_cat [data-id="6c62797"]::after,
body.tax-product_tag [data-id="6c62797"]::after {
  position: absolute;
  inset: auto 3% -42% auto;
  width: 360px;
  height: 220px;
  border-radius: 55% 45% 0 0;
  background: linear-gradient(145deg, transparent 20%, rgba(214, 180, 70, 0.08));
  transform: rotate(-12deg);
  content: "";
  pointer-events: none;
}

body.woocommerce-shop [data-id="6c62797"] > .elementor-container,
body.tax-product_cat [data-id="6c62797"] > .elementor-container,
body.tax-product_tag [data-id="6c62797"] > .elementor-container {
  position: relative;
  z-index: 2;
  display: grid !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 268px;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
  padding: 42px 54px;
}

body.woocommerce-shop [data-id="0675910"],
body.tax-product_cat [data-id="0675910"],
body.tax-product_tag [data-id="0675910"] {
  width: 100% !important;
}

body.woocommerce-shop [data-id="0675910"] > .elementor-widget-wrap,
body.tax-product_cat [data-id="0675910"] > .elementor-widget-wrap,
body.tax-product_tag [data-id="0675910"] > .elementor-widget-wrap {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 !important;
}

body.woocommerce-shop [data-id="7748b95"],
body.tax-product_cat [data-id="7748b95"],
body.tax-product_tag [data-id="7748b95"] {
  margin: 0 !important;
}

body.woocommerce-shop [data-id="7748b95"] .elementor-heading-title,
body.tax-product_cat [data-id="7748b95"] .elementor-heading-title,
body.tax-product_tag [data-id="7748b95"] .elementor-heading-title {
  margin: 5px 0 10px;
  color: #fffdf8 !important;
  font-size: clamp(34px, 4vw, 50px) !important;
  font-weight: 900 !important;
  line-height: 1.35 !important;
  letter-spacing: -0.035em;
}

.kk-shop-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--kk-shop-gold-light);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.kk-shop-eyebrow::before {
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--kk-shop-gold);
  content: "";
}

.kk-shop-hero-description {
  max-width: 570px;
  margin: 0;
  color: rgba(255, 253, 248, 0.72);
  font-size: 14px;
  line-height: 2;
}

.kk-shop-search-panel {
  position: relative;
  width: 100%;
  padding: 22px;
  border: 1px solid rgba(242, 223, 154, 0.2);
  border-radius: 20px;
  background: rgba(2, 35, 34, 0.52);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(8px);
}

.kk-shop-search-panel__label {
  display: block;
  margin-bottom: 12px;
  color: #f8edc7;
  font-size: 13px;
  font-weight: 800;
}

.kk-shop-search {
  display: flex;
  min-height: 52px;
  overflow: hidden;
  border: 1px solid rgba(214, 180, 70, 0.34);
  border-radius: 14px;
  background: #fffdf8;
}

.kk-shop-search input[type="search"] {
  width: 100%;
  min-width: 0;
  height: 52px;
  padding: 0 18px;
  border: 0 !important;
  outline: 0;
  background: transparent !important;
  color: var(--kk-shop-ink);
  font-size: 13px;
  box-shadow: none !important;
}

.kk-shop-search input[type="search"]::placeholder {
  color: #85938f;
}

.kk-shop-search button {
  display: inline-flex;
  width: 54px;
  min-width: 54px;
  align-items: center;
  justify-content: center;
  border: 0;
  background: linear-gradient(135deg, var(--kk-shop-gold-light), var(--kk-shop-gold));
  color: var(--kk-shop-ink);
  transition: filter 180ms ease, transform 180ms ease;
}

.kk-shop-search button:hover {
  filter: brightness(1.05);
}

.kk-shop-search button:active {
  transform: scale(0.96);
}

.kk-shop-search button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

/* Quick category rail */
.kk-shop-category-rail {
  width: calc(100% - clamp(32px, 4vw, 72px));
  max-width: none;
  margin: 22px auto 0;
  padding: 26px 28px 28px;
  border-radius: 24px;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.035), transparent 42%),
    var(--kk-shop-teal);
  box-shadow: 0 18px 55px rgba(5, 47, 46, 0.12);
}

.kk-shop-category-rail__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.kk-shop-category-rail__head h2 {
  margin: 0;
  color: #fffdf8;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.6;
}

.kk-shop-category-rail__head p {
  margin: 0;
  color: rgba(255, 253, 248, 0.62);
  font-size: 12px;
}

.kk-shop-category-rail__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.kk-shop-category-card {
  position: relative;
  display: flex;
  min-height: 86px;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  padding: 14px;
  border: 1px solid rgba(255, 250, 225, 0.6);
  border-radius: 16px;
  background:
    linear-gradient(140deg, #fff9df 0%, #ead187 55%, #cfaa39 100%);
  color: var(--kk-shop-ink) !important;
  box-shadow: 0 10px 24px rgba(2, 34, 33, 0.16);
  transition: transform 200ms ease, box-shadow 200ms ease, filter 200ms ease;
}

.kk-shop-category-card::after {
  position: absolute;
  inset: -44px -36px auto auto;
  width: 92px;
  height: 92px;
  border: 1px solid rgba(6, 47, 46, 0.13);
  border-radius: 50%;
  content: "";
}

.kk-shop-category-card:hover,
.kk-shop-category-card.is-active {
  color: var(--kk-shop-ink) !important;
  filter: saturate(1.05);
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(2, 34, 33, 0.23);
}

.kk-shop-category-card.is-active {
  outline: 2px solid #fff7d2;
  outline-offset: 2px;
}

.kk-shop-category-card__icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: 38px;
  height: 38px;
  min-width: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(5, 47, 46, 0.11);
}

.kk-shop-category-card__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--kk-shop-ink);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.kk-shop-category-card__text {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.kk-shop-category-card__name {
  overflow: hidden;
  font-size: 13px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kk-shop-category-card__count {
  color: rgba(6, 47, 46, 0.63);
  font-size: 10.5px;
  font-weight: 700;
}

/* Archive content frame */
body.woocommerce-shop [data-id="1952650"],
body.tax-product_cat [data-id="1952650"],
body.tax-product_tag [data-id="1952650"] {
  width: calc(100% - clamp(32px, 4vw, 72px));
  max-width: none !important;
  margin: 30px auto 70px;
}

body.woocommerce-shop [data-id="1952650"] > .elementor-container,
body.tax-product_cat [data-id="1952650"] > .elementor-container,
body.tax-product_tag [data-id="1952650"] > .elementor-container {
  display: grid !important;
  width: 100% !important;
  max-width: none !important;
  grid-template-columns: 272px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

body.woocommerce-shop [data-id="9930d1d"],
body.woocommerce-shop [data-id="2172b7d"],
body.tax-product_cat [data-id="9930d1d"],
body.tax-product_cat [data-id="2172b7d"],
body.tax-product_tag [data-id="9930d1d"],
body.tax-product_tag [data-id="2172b7d"] {
  width: 100% !important;
}

body.woocommerce-shop [data-id="9930d1d"] > .elementor-widget-wrap,
body.woocommerce-shop [data-id="2172b7d"] > .elementor-widget-wrap,
body.tax-product_cat [data-id="9930d1d"] > .elementor-widget-wrap,
body.tax-product_cat [data-id="2172b7d"] > .elementor-widget-wrap,
body.tax-product_tag [data-id="9930d1d"] > .elementor-widget-wrap,
body.tax-product_tag [data-id="2172b7d"] > .elementor-widget-wrap {
  padding: 0 !important;
}

/* Filters */
body.woocommerce-shop [data-id="9930d1d"],
body.tax-product_cat [data-id="9930d1d"],
body.tax-product_tag [data-id="9930d1d"] {
  position: sticky;
  top: 24px;
}

body.woocommerce-shop [data-id="02a7cb0"],
body.woocommerce-shop [data-id="71fd0c3"],
body.tax-product_cat [data-id="02a7cb0"],
body.tax-product_cat [data-id="71fd0c3"],
body.tax-product_tag [data-id="02a7cb0"],
body.tax-product_tag [data-id="71fd0c3"] {
  margin: 0 0 18px !important;
  padding: 22px !important;
  border: 1px solid var(--kk-shop-border);
  border-radius: 20px;
  background: var(--kk-shop-card) !important;
  box-shadow: 0 12px 34px rgba(6, 47, 46, 0.07);
}

body.woocommerce-shop [data-id="02a7cb0"] > .elementor-container,
body.woocommerce-shop [data-id="71fd0c3"] > .elementor-container,
body.tax-product_cat [data-id="02a7cb0"] > .elementor-container,
body.tax-product_cat [data-id="71fd0c3"] > .elementor-container,
body.tax-product_tag [data-id="02a7cb0"] > .elementor-container,
body.tax-product_tag [data-id="71fd0c3"] > .elementor-container {
  width: 100% !important;
  max-width: none !important;
}

body.woocommerce-shop [data-id="9a31634"] .elementor-heading-title,
body.woocommerce-shop [data-id="55c0899"] .elementor-heading-title,
body.tax-product_cat [data-id="9a31634"] .elementor-heading-title,
body.tax-product_cat [data-id="55c0899"] .elementor-heading-title,
body.tax-product_tag [data-id="9a31634"] .elementor-heading-title,
body.tax-product_tag [data-id="55c0899"] .elementor-heading-title {
  color: var(--kk-shop-ink) !important;
  font-size: 16px !important;
  font-weight: 900 !important;
}

body.woocommerce-shop [data-id="9a31634"] .elementor-heading-title span,
body.woocommerce-shop [data-id="55c0899"] .elementor-heading-title span,
body.tax-product_cat [data-id="9a31634"] .elementor-heading-title span,
body.tax-product_cat [data-id="55c0899"] .elementor-heading-title span,
body.tax-product_tag [data-id="9a31634"] .elementor-heading-title span,
body.tax-product_tag [data-id="55c0899"] .elementor-heading-title span {
  color: var(--kk-shop-gold-deep) !important;
}

body.woocommerce-shop [data-id="5ead4ff"],
body.woocommerce-shop [data-id="98324a4"],
body.tax-product_cat [data-id="5ead4ff"],
body.tax-product_cat [data-id="98324a4"],
body.tax-product_tag [data-id="5ead4ff"],
body.tax-product_tag [data-id="98324a4"] {
  margin-bottom: 14px;
}

body.woocommerce-shop [data-id="5ead4ff"] svg rect:first-child,
body.woocommerce-shop [data-id="98324a4"] svg rect:first-child,
body.tax-product_cat [data-id="5ead4ff"] svg rect:first-child,
body.tax-product_cat [data-id="98324a4"] svg rect:first-child,
body.tax-product_tag [data-id="5ead4ff"] svg rect:first-child,
body.tax-product_tag [data-id="98324a4"] svg rect:first-child {
  fill: var(--kk-shop-gold);
}

.kk-shop-empty-filter {
  display: none !important;
}

body.woocommerce-shop .jet-checkboxes-list-wrapper,
body.tax-product_cat .jet-checkboxes-list-wrapper,
body.tax-product_tag .jet-checkboxes-list-wrapper {
  max-height: 350px;
  overflow: auto;
  padding-inline-end: 4px;
  scrollbar-color: rgba(11, 73, 71, 0.28) transparent;
  scrollbar-width: thin;
}

body.woocommerce-shop .jet-checkboxes-list__row,
body.tax-product_cat .jet-checkboxes-list__row,
body.tax-product_tag .jet-checkboxes-list__row {
  margin: 0 0 5px;
}

body.woocommerce-shop .jet-checkboxes-list__button,
body.tax-product_cat .jet-checkboxes-list__button,
body.tax-product_tag .jet-checkboxes-list__button {
  display: flex;
  min-height: 38px;
  align-items: center;
  gap: 9px;
  padding: 7px 9px;
  border-radius: 10px;
  color: #36524f;
  font-size: 12px;
  transition: background 160ms ease, color 160ms ease;
}

body.woocommerce-shop .jet-checkboxes-list__item:hover .jet-checkboxes-list__button,
body.tax-product_cat .jet-checkboxes-list__item:hover .jet-checkboxes-list__button,
body.tax-product_tag .jet-checkboxes-list__item:hover .jet-checkboxes-list__button {
  background: #f6f0df;
  color: var(--kk-shop-ink);
}

body.woocommerce-shop .jet-checkboxes-list__decorator,
body.tax-product_cat .jet-checkboxes-list__decorator,
body.tax-product_tag .jet-checkboxes-list__decorator {
  width: 18px !important;
  height: 18px !important;
  border-color: rgba(11, 73, 71, 0.25) !important;
  border-radius: 6px !important;
}

body.woocommerce-shop .jet-checkboxes-list__input:checked ~ .jet-checkboxes-list__button .jet-checkboxes-list__decorator,
body.tax-product_cat .jet-checkboxes-list__input:checked ~ .jet-checkboxes-list__button .jet-checkboxes-list__decorator,
body.tax-product_tag .jet-checkboxes-list__input:checked ~ .jet-checkboxes-list__button .jet-checkboxes-list__decorator {
  border-color: var(--kk-shop-gold-deep) !important;
  background: var(--kk-shop-gold) !important;
}

body.woocommerce-shop .jet-list-tree__children,
body.tax-product_cat .jet-list-tree__children,
body.tax-product_tag .jet-list-tree__children {
  padding-inline-start: 13px;
  border-inline-start: 1px solid rgba(11, 73, 71, 0.11);
}

body.woocommerce-shop .jet-range__slider__track,
body.tax-product_cat .jet-range__slider__track,
body.tax-product_tag .jet-range__slider__track {
  background: #e9e4d8 !important;
}

body.woocommerce-shop .jet-range__slider__track__range,
body.tax-product_cat .jet-range__slider__track__range,
body.tax-product_tag .jet-range__slider__track__range {
  background: var(--kk-shop-gold) !important;
}

body.woocommerce-shop .jet-range__values,
body.tax-product_cat .jet-range__values,
body.tax-product_tag .jet-range__values {
  color: var(--kk-shop-muted);
  font-size: 11px;
  line-height: 1.9;
}

/* Shop toolbar */
.kk-shop-toolbar {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 20px;
  padding: 10px 14px 10px 18px;
  border: 1px solid var(--kk-shop-border);
  border-radius: 18px;
  background: var(--kk-shop-card);
  box-shadow: 0 10px 32px rgba(6, 47, 46, 0.06);
}

.kk-shop-toolbar__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--kk-shop-muted);
  font-size: 12px;
  font-weight: 700;
}

.kk-shop-toolbar__meta::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--kk-shop-gold);
  box-shadow: 0 0 0 5px rgba(214, 180, 70, 0.14);
  content: "";
}

.kk-shop-toolbar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.kk-shop-order {
  position: relative;
}

.kk-shop-order select {
  width: auto;
  min-width: 176px;
  height: 44px;
  padding: 0 14px 0 34px;
  border: 1px solid rgba(11, 73, 71, 0.16) !important;
  border-radius: 12px;
  outline: 0;
  background: #f8f5ec;
  color: var(--kk-shop-text);
  font-size: 12px;
  font-weight: 700;
  box-shadow: none !important;
}

.kk-shop-filter-toggle,
.kk-shop-filter-close {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  color: var(--kk-shop-ink);
  font-size: 12px;
  font-weight: 900;
}

.kk-shop-filter-toggle {
  min-height: 44px;
  padding: 0 15px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--kk-shop-gold-light), var(--kk-shop-gold));
}

.kk-shop-filter-toggle svg,
.kk-shop-filter-close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.kk-shop-filter-panel-head {
  display: none;
}

.kk-shop-filter-overlay {
  display: none;
}

/* Products */
body.woocommerce-shop .products.elements-grid,
body.tax-product_cat .products.elements-grid,
body.tax-product_tag .products.elements-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 0 !important;
}

body.woocommerce-shop .products.elements-grid > .product-grid-item,
body.tax-product_cat .products.elements-grid > .product-grid-item,
body.tax-product_tag .products.elements-grid > .product-grid-item {
  width: auto !important;
  max-width: none !important;
  min-width: 0;
  flex: none !important;
  padding: 0 !important;
}

body.woocommerce-shop .product-grid-item .product-wrapper,
body.tax-product_cat .product-grid-item .product-wrapper,
body.tax-product_tag .product-grid-item .product-wrapper {
  display: flex;
  height: 100%;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
  padding: 10px !important;
  border: 1px solid rgba(8, 70, 67, 0.1);
  border-radius: 18px;
  background: var(--kk-shop-card);
  box-shadow: 0 10px 32px rgba(6, 47, 46, 0.07);
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

body.woocommerce-shop .product-grid-item:hover .product-wrapper,
body.tax-product_cat .product-grid-item:hover .product-wrapper,
body.tax-product_tag .product-grid-item:hover .product-wrapper {
  border-color: rgba(214, 180, 70, 0.48);
  box-shadow: 0 20px 46px rgba(6, 47, 46, 0.13);
  transform: translateY(-5px);
}

body.woocommerce-shop .product-grid-item .content-product-imagin,
body.tax-product_cat .product-grid-item .content-product-imagin,
body.tax-product_tag .product-grid-item .content-product-imagin {
  display: none !important;
}

body.woocommerce-shop .product-grid-item .product-element-top,
body.tax-product_cat .product-grid-item .product-element-top,
body.tax-product_tag .product-grid-item .product-element-top {
  position: relative;
  display: flex;
  aspect-ratio: 1 / 0.92;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 16px;
  background:
    radial-gradient(circle at 50% 42%, #fffdf8 0%, #f4efe2 72%, #eee5d2 100%);
}

body.woocommerce-shop .product-grid-item .product-image-link,
body.tax-product_cat .product-grid-item .product-image-link,
body.tax-product_tag .product-grid-item .product-image-link {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

body.woocommerce-shop .product-grid-item .product-element-top img,
body.tax-product_cat .product-grid-item .product-element-top img,
body.tax-product_tag .product-grid-item .product-element-top img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 350ms ease;
}

body.woocommerce-shop .product-grid-item:hover .product-element-top img,
body.tax-product_cat .product-grid-item:hover .product-element-top img,
body.tax-product_tag .product-grid-item:hover .product-element-top img {
  transform: scale(1.035);
}

body.woocommerce-shop .product-grid-item .hover-img,
body.tax-product_cat .product-grid-item .hover-img,
body.tax-product_tag .product-grid-item .hover-img {
  display: none !important;
}

body.woocommerce-shop .product-element-bottom,
body.tax-product_cat .product-element-bottom,
body.tax-product_tag .product-element-bottom {
  display: flex;
  min-height: 174px;
  flex: 1;
  flex-direction: column;
  align-items: stretch !important;
  padding: 16px 16px 14px !important;
  text-align: right !important;
}

body.woocommerce-shop .product-grid-item .wd-entities-title,
body.tax-product_cat .product-grid-item .wd-entities-title,
body.tax-product_tag .product-grid-item .wd-entities-title {
  min-height: 48px;
  margin: 0 0 6px !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: 1.85 !important;
}

body.woocommerce-shop .product-grid-item .wd-entities-title a,
body.tax-product_cat .product-grid-item .wd-entities-title a,
body.tax-product_tag .product-grid-item .wd-entities-title a {
  color: var(--kk-shop-ink) !important;
}

body.woocommerce-shop .product-grid-item .wd-product-cats,
body.tax-product_cat .product-grid-item .wd-product-cats,
body.tax-product_tag .product-grid-item .wd-product-cats {
  margin-bottom: 7px;
  text-align: right !important;
}

body.woocommerce-shop .product-grid-item .wd-product-cats a,
body.tax-product_cat .product-grid-item .wd-product-cats a,
body.tax-product_tag .product-grid-item .wd-product-cats a {
  color: #87938f !important;
  font-size: 10.5px !important;
}

body.woocommerce-shop .product-grid-item .product-rating-price,
body.tax-product_cat .product-grid-item .product-rating-price,
body.tax-product_tag .product-grid-item .product-rating-price {
  margin-top: auto;
  margin-bottom: 12px;
}

body.woocommerce-shop .product-grid-item .price,
body.tax-product_cat .product-grid-item .price,
body.tax-product_tag .product-grid-item .price {
  color: var(--kk-shop-gold-deep) !important;
  font-size: 14px !important;
  font-weight: 900 !important;
}

body.woocommerce-shop .product-grid-item .fade-in-block,
body.tax-product_cat .product-grid-item .fade-in-block,
body.tax-product_tag .product-grid-item .fade-in-block {
  position: static !important;
  display: block !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

body.woocommerce-shop .product-grid-item .hover-content,
body.tax-product_cat .product-grid-item .hover-content,
body.tax-product_tag .product-grid-item .hover-content,
body.woocommerce-shop .product-grid-item .wrap-wishlist-button,
body.tax-product_cat .product-grid-item .wrap-wishlist-button,
body.tax-product_tag .product-grid-item .wrap-wishlist-button,
body.woocommerce-shop .product-grid-item .wd-bottom-actions > .wd-compare-btn,
body.tax-product_cat .product-grid-item .wd-bottom-actions > .wd-compare-btn,
body.tax-product_tag .product-grid-item .wd-bottom-actions > .wd-compare-btn,
body.woocommerce-shop .product-grid-item .wrapp-swatches .wd-compare-btn,
body.tax-product_cat .product-grid-item .wrapp-swatches .wd-compare-btn,
body.tax-product_tag .product-grid-item .wrapp-swatches .wd-compare-btn {
  display: none !important;
}

body.woocommerce-shop .product-grid-item .wd-bottom-actions,
body.tax-product_cat .product-grid-item .wd-bottom-actions,
body.tax-product_tag .product-grid-item .wd-bottom-actions {
  position: static !important;
  display: block !important;
  padding: 0 !important;
  border: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

body.woocommerce-shop .product-grid-item .wd-add-btn,
body.tax-product_cat .product-grid-item .wd-add-btn,
body.tax-product_tag .product-grid-item .wd-add-btn {
  width: 100% !important;
}

body.woocommerce-shop .product-grid-item .wd-add-btn > a,
body.tax-product_cat .product-grid-item .wd-add-btn > a,
body.tax-product_tag .product-grid-item .wd-add-btn > a {
  display: inline-flex !important;
  width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #f0dc94, #d1ad3d) !important;
  color: var(--kk-shop-ink) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1.4 !important;
  box-shadow: none !important;
}

body.woocommerce-shop .product-grid-item .wd-add-btn > a:hover,
body.tax-product_cat .product-grid-item .wd-add-btn > a:hover,
body.tax-product_tag .product-grid-item .wd-add-btn > a:hover {
  background: linear-gradient(135deg, #f7e7ac, #d6b446) !important;
  color: var(--kk-shop-ink) !important;
}

body.woocommerce-shop .product-grid-item .wd-buttons,
body.tax-product_cat .product-grid-item .wd-buttons,
body.tax-product_tag .product-grid-item .wd-buttons {
  inset: 12px auto auto 12px !important;
}

/* Pagination */
body.woocommerce-shop .wd-pagination,
body.woocommerce-shop .woocommerce-pagination,
body.tax-product_cat .wd-pagination,
body.tax-product_cat .woocommerce-pagination,
body.tax-product_tag .wd-pagination,
body.tax-product_tag .woocommerce-pagination {
  margin-top: 34px;
}

body.woocommerce-shop .wd-pagination a,
body.woocommerce-shop .wd-pagination span,
body.woocommerce-shop .woocommerce-pagination a,
body.woocommerce-shop .woocommerce-pagination span,
body.tax-product_cat .wd-pagination a,
body.tax-product_cat .wd-pagination span,
body.tax-product_cat .woocommerce-pagination a,
body.tax-product_cat .woocommerce-pagination span,
body.tax-product_tag .wd-pagination a,
body.tax-product_tag .wd-pagination span,
body.tax-product_tag .woocommerce-pagination a,
body.tax-product_tag .woocommerce-pagination span {
  display: inline-flex;
  min-width: 40px;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 11px !important;
  color: var(--kk-shop-teal) !important;
  font-weight: 800;
}

body.woocommerce-shop .wd-pagination .current,
body.woocommerce-shop .woocommerce-pagination .current,
body.tax-product_cat .wd-pagination .current,
body.tax-product_cat .woocommerce-pagination .current,
body.tax-product_tag .wd-pagination .current,
body.tax-product_tag .woocommerce-pagination .current {
  background: var(--kk-shop-teal) !important;
  color: #fff !important;
}

/* Keep one trust area and simplify the footer like the homepage. */
body.woocommerce-shop footer [data-id="f992aba"],
body.woocommerce-shop footer [data-id="5a9f1bc"],
body.woocommerce-shop footer [data-id="4f35024"],
body.tax-product_cat footer [data-id="f992aba"],
body.tax-product_cat footer [data-id="5a9f1bc"],
body.tax-product_cat footer [data-id="4f35024"],
body.tax-product_tag footer [data-id="f992aba"],
body.tax-product_tag footer [data-id="5a9f1bc"],
body.tax-product_tag footer [data-id="4f35024"] {
  display: none !important;
}

body.woocommerce-shop footer [data-id="43352e2"],
body.tax-product_cat footer [data-id="43352e2"],
body.tax-product_tag footer [data-id="43352e2"] {
  padding: 0 !important;
  background: #0d3938 !important;
}

body.woocommerce-shop footer [data-id="975436f"],
body.tax-product_cat footer [data-id="975436f"],
body.tax-product_tag footer [data-id="975436f"] {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 28px 42px !important;
  border: 0 !important;
  background: var(--kk-shop-ink) !important;
}

body.woocommerce-shop footer [data-id="975436f"] > .elementor-container,
body.tax-product_cat footer [data-id="975436f"] > .elementor-container,
body.tax-product_tag footer [data-id="975436f"] > .elementor-container {
  display: grid !important;
  width: 100% !important;
  max-width: 1120px !important;
  grid-template-columns: minmax(0, 1.35fr) minmax(190px, 0.75fr) minmax(190px, 0.75fr);
  gap: clamp(34px, 5vw, 70px);
  align-items: start;
}

body.woocommerce-shop footer [data-id="975436f"] > .elementor-container > .elementor-column,
body.tax-product_cat footer [data-id="975436f"] > .elementor-container > .elementor-column,
body.tax-product_tag footer [data-id="975436f"] > .elementor-container > .elementor-column {
  width: 100% !important;
}

body.woocommerce-shop footer [data-id="975436f"] .elementor-widget-wrap,
body.tax-product_cat footer [data-id="975436f"] .elementor-widget-wrap,
body.tax-product_tag footer [data-id="975436f"] .elementor-widget-wrap {
  align-content: flex-start;
  padding: 0 !important;
}

body.woocommerce-shop footer [data-id="f87cbf7"] .elementor-heading-title,
body.woocommerce-shop footer [data-id="7a138fd"] .elementor-heading-title,
body.woocommerce-shop footer [data-id="01c9359"] .elementor-heading-title,
body.tax-product_cat footer [data-id="f87cbf7"] .elementor-heading-title,
body.tax-product_cat footer [data-id="7a138fd"] .elementor-heading-title,
body.tax-product_cat footer [data-id="01c9359"] .elementor-heading-title,
body.tax-product_tag footer [data-id="f87cbf7"] .elementor-heading-title,
body.tax-product_tag footer [data-id="7a138fd"] .elementor-heading-title,
body.tax-product_tag footer [data-id="01c9359"] .elementor-heading-title {
  color: #f7f2e4 !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  line-height: 1.7 !important;
}

body.woocommerce-shop footer [data-id="bdbc5d2"] p,
body.tax-product_cat footer [data-id="bdbc5d2"] p,
body.tax-product_tag footer [data-id="bdbc5d2"] p {
  margin: 0;
  color: #bdc8bd !important;
  font-size: 13.5px !important;
  line-height: 2 !important;
}

body.woocommerce-shop footer [data-id="b38778e"],
body.woocommerce-shop footer [data-id="ad1c715"],
body.tax-product_cat footer [data-id="b38778e"],
body.tax-product_cat footer [data-id="ad1c715"],
body.tax-product_tag footer [data-id="b38778e"],
body.tax-product_tag footer [data-id="ad1c715"] {
  width: 100%;
  margin: 0 0 16px !important;
}

body.woocommerce-shop footer [data-id="b38778e"] .elementor-icon-list-items,
body.tax-product_cat footer [data-id="b38778e"] .elementor-icon-list-items,
body.tax-product_tag footer [data-id="b38778e"] .elementor-icon-list-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: flex-start;
}

body.woocommerce-shop footer [data-id="ad1c715"] .kk-footer-trust,
body.tax-product_cat footer [data-id="ad1c715"] .kk-footer-trust,
body.tax-product_tag footer [data-id="ad1c715"] .kk-footer-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

body.woocommerce-shop footer [data-id="ad1c715"] .kk-footer-badge,
body.tax-product_cat footer [data-id="ad1c715"] .kk-footer-badge,
body.tax-product_tag footer [data-id="ad1c715"] .kk-footer-badge {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border: 1px solid rgba(212, 175, 55, 0.42);
  border-radius: 10px;
  background: rgba(212, 175, 55, 0.07);
  color: #f3e2ac !important;
  font-size: 11.5px;
  font-weight: 700;
}

body.woocommerce-shop footer [data-id="f43cd62"] .elementor-icon-list-text,
body.woocommerce-shop footer [data-id="5d918f3"] .elementor-icon-list-text,
body.tax-product_cat footer [data-id="f43cd62"] .elementor-icon-list-text,
body.tax-product_cat footer [data-id="5d918f3"] .elementor-icon-list-text,
body.tax-product_tag footer [data-id="f43cd62"] .elementor-icon-list-text,
body.tax-product_tag footer [data-id="5d918f3"] .elementor-icon-list-text {
  color: #bdc8bd !important;
  font-size: 13px !important;
}

body.woocommerce-shop .kk-trust-strip,
body.tax-product_cat .kk-trust-strip,
body.tax-product_tag .kk-trust-strip {
  margin-top: 0;
  border-top: 1px solid rgba(214, 180, 70, 0.12);
  background: #0d3938;
}

/* Responsive */
@media (max-width: 1100px) {
  .kk-shop-category-rail__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.woocommerce-shop .products.elements-grid,
  body.tax-product_cat .products.elements-grid,
  body.tax-product_tag .products.elements-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  body.woocommerce-shop [data-id="6c62797"] > .elementor-container,
  body.tax-product_cat [data-id="6c62797"] > .elementor-container,
  body.tax-product_tag [data-id="6c62797"] > .elementor-container {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 38px;
  }

  body.woocommerce-shop [data-id="1952650"] > .elementor-container,
  body.tax-product_cat [data-id="1952650"] > .elementor-container,
  body.tax-product_tag [data-id="1952650"] > .elementor-container {
    grid-template-columns: 1fr;
  }

  body.woocommerce-shop [data-id="9930d1d"],
  body.tax-product_cat [data-id="9930d1d"],
  body.tax-product_tag [data-id="9930d1d"] {
    position: fixed !important;
    z-index: 100002;
    inset: 0 0 0 auto;
    display: block !important;
    width: min(360px, 88vw) !important;
    overflow-y: auto;
    padding: 18px;
    background: var(--kk-shop-paper-2);
    box-shadow: -22px 0 60px rgba(4, 39, 38, 0.24);
    opacity: 0;
    visibility: hidden;
    transform: translateX(105%);
    transition: transform 260ms ease, opacity 220ms ease, visibility 220ms ease;
  }

  body.woocommerce-shop.kk-shop-filter-open [data-id="9930d1d"],
  body.tax-product_cat.kk-shop-filter-open [data-id="9930d1d"],
  body.tax-product_tag.kk-shop-filter-open [data-id="9930d1d"] {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }

  .kk-shop-filter-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding: 4px 3px 10px;
    border-bottom: 1px solid var(--kk-shop-border);
  }

  .kk-shop-filter-panel-head strong {
    color: var(--kk-shop-ink);
    font-size: 15px;
  }

  .kk-shop-filter-close {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: #eee7d8;
  }

  .kk-shop-filter-toggle {
    display: inline-flex;
  }

  .kk-shop-filter-overlay {
    position: fixed;
    z-index: 100001;
    inset: 0;
    display: block;
    background: rgba(3, 28, 27, 0.56);
    opacity: 0;
    visibility: hidden;
    backdrop-filter: blur(3px);
    transition: opacity 220ms ease, visibility 220ms ease;
  }

  body.kk-shop-filter-open .kk-shop-filter-overlay {
    opacity: 1;
    visibility: visible;
  }

  body.kk-shop-filter-open {
    overflow: hidden;
  }
}

@media (max-width: 767px) {
  body.woocommerce-shop [data-id="6c62797"],
  body.tax-product_cat [data-id="6c62797"],
  body.tax-product_tag [data-id="6c62797"],
  .kk-shop-category-rail,
  body.woocommerce-shop [data-id="1952650"],
  body.tax-product_cat [data-id="1952650"],
  body.tax-product_tag [data-id="1952650"] {
    width: calc(100% - 24px);
  }

  body.woocommerce-shop [data-id="6c62797"],
  body.tax-product_cat [data-id="6c62797"],
  body.tax-product_tag [data-id="6c62797"] {
    margin-top: 14px;
    border-radius: 22px;
  }

  body.woocommerce-shop [data-id="6c62797"] > .elementor-container,
  body.tax-product_cat [data-id="6c62797"] > .elementor-container,
  body.tax-product_tag [data-id="6c62797"] > .elementor-container {
    min-height: 0;
    padding: 30px 22px 24px;
  }

  body.woocommerce-shop [data-id="7748b95"] .elementor-heading-title,
  body.tax-product_cat [data-id="7748b95"] .elementor-heading-title,
  body.tax-product_tag [data-id="7748b95"] .elementor-heading-title {
    font-size: 34px !important;
  }

  .kk-shop-hero-description {
    font-size: 13px;
  }

  .kk-shop-search-panel {
    padding: 14px;
  }

  .kk-shop-category-rail {
    padding: 22px 16px 18px;
  }

  .kk-shop-category-rail__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .kk-shop-category-rail__grid {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding: 3px 1px 10px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .kk-shop-category-rail__grid::-webkit-scrollbar {
    display: none;
  }

  .kk-shop-category-card {
    min-width: 166px;
    scroll-snap-align: start;
  }

  body.woocommerce-shop [data-id="1952650"],
  body.tax-product_cat [data-id="1952650"],
  body.tax-product_tag [data-id="1952650"] {
    margin-top: 22px;
    margin-bottom: 46px;
  }

  .kk-shop-toolbar {
    min-height: 0;
    align-items: stretch;
    flex-direction: column;
    padding: 12px;
  }

  .kk-shop-toolbar__meta {
    min-height: 32px;
  }

  .kk-shop-toolbar__actions {
    width: 100%;
  }

  .kk-shop-order {
    flex: 1;
  }

  .kk-shop-order select {
    width: 100%;
    min-width: 0;
  }

  .kk-shop-filter-toggle {
    min-width: 102px;
  }

  body.woocommerce-shop .products.elements-grid,
  body.tax-product_cat .products.elements-grid,
  body.tax-product_tag .products.elements-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  body.woocommerce-shop .product-grid-item .product-wrapper,
  body.tax-product_cat .product-grid-item .product-wrapper,
  body.tax-product_tag .product-grid-item .product-wrapper {
    min-height: 342px;
    border-radius: 15px;
  }

  body.woocommerce-shop .product-grid-item .product-element-top,
  body.tax-product_cat .product-grid-item .product-element-top,
  body.tax-product_tag .product-grid-item .product-element-top {
    padding: 10px;
  }

  body.woocommerce-shop .product-element-bottom,
  body.tax-product_cat .product-element-bottom,
  body.tax-product_tag .product-element-bottom {
    min-height: 164px;
    padding: 12px 11px 11px !important;
  }

  body.woocommerce-shop .product-grid-item .wd-entities-title,
  body.tax-product_cat .product-grid-item .wd-entities-title,
  body.tax-product_tag .product-grid-item .wd-entities-title {
    min-height: 43px;
    font-size: 11.5px !important;
    line-height: 1.8 !important;
  }

  body.woocommerce-shop .product-grid-item .price,
  body.tax-product_cat .product-grid-item .price,
  body.tax-product_tag .product-grid-item .price {
    font-size: 12px !important;
  }

  body.woocommerce-shop .product-grid-item .wd-add-btn > a,
  body.tax-product_cat .product-grid-item .wd-add-btn > a,
  body.tax-product_tag .product-grid-item .wd-add-btn > a {
    min-height: 42px;
    font-size: 11px !important;
  }

  body.woocommerce-shop footer [data-id="975436f"],
  body.tax-product_cat footer [data-id="975436f"],
  body.tax-product_tag footer [data-id="975436f"] {
    width: 100%;
    padding: 38px 20px 30px !important;
  }

  body.woocommerce-shop footer [data-id="975436f"] > .elementor-container,
  body.tax-product_cat footer [data-id="975436f"] > .elementor-container,
  body.tax-product_tag footer [data-id="975436f"] > .elementor-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 390px) {
  body.woocommerce-shop .products.elements-grid,
  body.tax-product_cat .products.elements-grid,
  body.tax-product_tag .products.elements-grid {
    gap: 9px;
  }

  .kk-shop-filter-toggle {
    min-width: 94px;
    padding-inline: 11px;
  }

  .kk-shop-order select {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kk-shop-category-card,
  body.woocommerce-shop .product-grid-item .product-wrapper,
  body.tax-product_cat .product-grid-item .product-wrapper,
  body.tax-product_tag .product-grid-item .product-wrapper,
  body.woocommerce-shop .product-grid-item .product-element-top img,
  body.tax-product_cat .product-grid-item .product-element-top img,
  body.tax-product_tag .product-grid-item .product-element-top img {
    transition: none !important;
  }
}

/* Late overrides for Elementor archive CSS printed inside the page body. */
body.woocommerce-shop [data-id="6c62797"],
body.tax-product_cat [data-id="6c62797"],
body.tax-product_tag [data-id="6c62797"] {
  margin: 26px auto 0 !important;
}

.kk-shop-category-rail__head h2 {
  color: #fffdf8 !important;
}

.kk-shop-category-rail__head p {
  color: rgba(255, 253, 248, 0.68) !important;
}

.kk-shop-category-rail__grid {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
}

.kk-shop-toolbar {
  width: 100% !important;
}

body.woocommerce-shop [data-id="550a103"] .products.elements-grid,
body.tax-product_cat [data-id="550a103"] .products.elements-grid,
body.tax-product_tag [data-id="550a103"] .products.elements-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

body.woocommerce-shop [data-id="550a103"] .products.elements-grid > .product-grid-item,
body.tax-product_cat [data-id="550a103"] .products.elements-grid > .product-grid-item,
body.tax-product_tag [data-id="550a103"] .products.elements-grid > .product-grid-item {
  grid-column: auto !important;
  grid-row: auto !important;
}

@media (max-width: 1100px) {
  body.woocommerce-shop [data-id="550a103"] .products.elements-grid,
  body.tax-product_cat [data-id="550a103"] .products.elements-grid,
  body.tax-product_tag [data-id="550a103"] .products.elements-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 767px) {
  body.woocommerce-shop [data-id="6c62797"],
  body.tax-product_cat [data-id="6c62797"],
  body.tax-product_tag [data-id="6c62797"] {
    margin-top: 14px !important;
  }

  body.woocommerce-shop [data-id="550a103"] .products.elements-grid,
  body.tax-product_cat [data-id="550a103"] .products.elements-grid,
  body.tax-product_tag [data-id="550a103"] .products.elements-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Compact product cards and neutralize WoodMart's replace-on-hover cart animation. */
body.woocommerce-shop .product-grid-item .product-wrapper,
body.tax-product_cat .product-grid-item .product-wrapper,
body.tax-product_tag .product-grid-item .product-wrapper {
  min-height: 0 !important;
  padding: 10px !important;
}

body.woocommerce-shop .product-grid-item .product-element-top,
body.tax-product_cat .product-grid-item .product-element-top,
body.tax-product_tag .product-grid-item .product-element-top {
  aspect-ratio: 1 / 0.72 !important;
  padding: 12px !important;
}

body.woocommerce-shop .product-element-bottom,
body.tax-product_cat .product-element-bottom,
body.tax-product_tag .product-element-bottom {
  min-height: 0 !important;
  flex: 0 0 auto !important;
  gap: 0 !important;
  padding: 13px 12px 12px !important;
}

body.woocommerce-shop .product-grid-item .wd-entities-title,
body.tax-product_cat .product-grid-item .wd-entities-title,
body.tax-product_tag .product-grid-item .wd-entities-title {
  min-height: 42px !important;
  margin-bottom: 3px !important;
  line-height: 1.75 !important;
}

body.woocommerce-shop .product-grid-item .wd-product-cats,
body.tax-product_cat .product-grid-item .wd-product-cats,
body.tax-product_tag .product-grid-item .wd-product-cats {
  margin: 0 0 5px !important;
}

body.woocommerce-shop .product-grid-item .product-rating-price,
body.tax-product_cat .product-grid-item .product-rating-price,
body.tax-product_tag .product-grid-item .product-rating-price {
  margin: 0 0 8px !important;
}

body.woocommerce-shop .product-grid-item .fade-in-block,
body.tax-product_cat .product-grid-item .fade-in-block,
body.tax-product_tag .product-grid-item .fade-in-block {
  height: auto !important;
}

body.woocommerce-shop .product-grid-item .wd-add-btn,
body.tax-product_cat .product-grid-item .wd-add-btn,
body.tax-product_tag .product-grid-item .wd-add-btn {
  margin-top: 7px !important;
  overflow: hidden !important;
}

body.woocommerce-shop .product-grid-item .wd-add-btn > a,
body.tax-product_cat .product-grid-item .wd-add-btn > a,
body.tax-product_tag .product-grid-item .wd-add-btn > a {
  gap: 7px !important;
  overflow: hidden !important;
  white-space: nowrap !important;
}

body.woocommerce-shop .product-grid-item .wd-add-btn > a::before,
body.tax-product_cat .product-grid-item .wd-add-btn > a::before,
body.tax-product_tag .product-grid-item .wd-add-btn > a::before {
  position: static !important;
  display: inline-flex !important;
  width: 18px !important;
  height: 18px !important;
  flex: 0 0 18px !important;
  align-items: center;
  justify-content: center;
  opacity: 1 !important;
  visibility: visible !important;
  font-size: 18px !important;
  line-height: 1 !important;
  transform: none !important;
}

body.woocommerce-shop .product-grid-item .wd-add-btn > a span,
body.tax-product_cat .product-grid-item .wd-add-btn > a span,
body.tax-product_tag .product-grid-item .wd-add-btn > a span {
  position: static !important;
  display: block !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  line-height: 1.4 !important;
  text-overflow: ellipsis;
  white-space: nowrap;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

body.woocommerce-shop .product-grid-item .wd-add-btn > a:hover::before,
body.woocommerce-shop .product-grid-item .wd-add-btn > a:hover span,
body.tax-product_cat .product-grid-item .wd-add-btn > a:hover::before,
body.tax-product_cat .product-grid-item .wd-add-btn > a:hover span,
body.tax-product_tag .product-grid-item .wd-add-btn > a:hover::before,
body.tax-product_tag .product-grid-item .wd-add-btn > a:hover span {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

/* Focused catalogue: four primary categories and a full-width product grid. */
body.woocommerce-shop [data-id="1952650"] > .elementor-container,
body.tax-product_cat [data-id="1952650"] > .elementor-container,
body.tax-product_tag [data-id="1952650"] > .elementor-container {
  grid-template-columns: minmax(0, 1fr) !important;
}

body.woocommerce-shop [data-id="9930d1d"],
body.tax-product_cat [data-id="9930d1d"],
body.tax-product_tag [data-id="9930d1d"],
body.woocommerce-shop .kk-shop-filter-toggle,
body.tax-product_cat .kk-shop-filter-toggle,
body.tax-product_tag .kk-shop-filter-toggle,
body.woocommerce-shop .kk-shop-filter-overlay,
body.tax-product_cat .kk-shop-filter-overlay,
body.tax-product_tag .kk-shop-filter-overlay {
  display: none !important;
}

body.woocommerce-shop [data-id="2172b7d"],
body.tax-product_cat [data-id="2172b7d"],
body.tax-product_tag [data-id="2172b7d"],
body.woocommerce-shop [data-id="550a103"],
body.tax-product_cat [data-id="550a103"],
body.tax-product_tag [data-id="550a103"] {
  width: 100% !important;
  max-width: none !important;
}

.kk-shop-category-rail__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

body.woocommerce-shop [data-id="550a103"] .products.elements-grid,
body.tax-product_cat [data-id="550a103"] .products.elements-grid,
body.tax-product_tag [data-id="550a103"] .products.elements-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
}

@media (min-width: 1800px) {
  body.woocommerce-shop [data-id="550a103"] .products.elements-grid,
  body.tax-product_cat [data-id="550a103"] .products.elements-grid,
  body.tax-product_tag [data-id="550a103"] .products.elements-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 2600px) {
  body.woocommerce-shop [data-id="550a103"] .products.elements-grid,
  body.tax-product_cat [data-id="550a103"] .products.elements-grid,
  body.tax-product_tag [data-id="550a103"] .products.elements-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 1200px) {
  body.woocommerce-shop [data-id="550a103"] .products.elements-grid,
  body.tax-product_cat [data-id="550a103"] .products.elements-grid,
  body.tax-product_tag [data-id="550a103"] .products.elements-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  body.woocommerce-shop [data-id="550a103"] .products.elements-grid,
  body.tax-product_cat [data-id="550a103"] .products.elements-grid,
  body.tax-product_tag [data-id="550a103"] .products.elements-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 767px) {
  .kk-shop-category-rail__grid {
    display: flex !important;
  }

  body.woocommerce-shop [data-id="550a103"] .products.elements-grid,
  body.tax-product_cat [data-id="550a103"] .products.elements-grid,
  body.tax-product_tag [data-id="550a103"] .products.elements-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
