/*
Theme Name: Blocksy Child
Theme URI: https://creativethemes.com/blocksy/
Description: Child theme for Blocksy.
Author: Your Name
Template: blocksy
Version: 1.0.0
Text Domain: blocksy-child
*/

/* Homepage hero panel (set this class on the main hero container in Elementor). */
.zk-hero-panel {
  background: var(--theme-palette-color-7, #eef2ef);
  border-radius: 24px;
  padding: 48px;
}

/* Product search form (HTML widget form class). */
.home-product-search {
  --zk-control-height: var(--theme-button-min-height, 54px);
  display: flex !important;
  align-items: stretch;
  gap: 10px;
  margin: 12px 0 0;
  width: 100%;
}

/* Elementor/WordPress can auto-wrap HTML widget fields in <p>. */
.home-product-search p {
  margin: 0;
}

.home-product-search p:first-of-type {
  flex: 1 1 auto;
}

.home-product-search input[type="search"] {
  width: 100%;
  max-width: none;
  min-width: 0;
  flex: 1 1 auto;
  height: var(--zk-control-height);
  border: var(--theme-form-field-border-width, 1px) var(--theme-form-field-border-style, solid) var(--theme-form-field-border-initial-color, #d4ddd7);
  border-radius: 12px;
  background: var(--theme-form-field-background-initial-color, #ffffff);
  color: var(--theme-form-text-initial-color, var(--theme-text-color, #1f3b2f));
  padding: 0 18px;
  font-size: var(--theme-form-font-size, 18px);
  font-family: var(--theme-form-font-family, inherit);
  font-weight: var(--theme-form-font-weight, 500);
  line-height: var(--theme-form-line-height, 1.3);
  outline: none;
}

.home-product-search input[type="search"]::placeholder {
  color: var(--theme-form-text-initial-color, var(--theme-text-color, #8aa094));
  opacity: 0.65;
}

.home-product-search input[type="search"]:focus {
  border-color: var(--theme-form-field-border-focus-color, var(--theme-palette-color-1, #2b8f63));
  box-shadow: 0 0 0 3px rgba(43, 143, 99, 0.18);
}

.home-product-search button[type="submit"] {
  white-space: nowrap;
  flex: 0 0 auto;
}

.zk-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.zk-hero-chips .elementor-button {
  --theme-button-min-height: 30px;
  min-height: 30px;
  height: 30px;
  min-width: 100px;
  border-radius: 999px;
  padding: 0 8px;
  font-size: 16px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1;
  background: var(--theme-palette-color-7, #e8f4ee);
  color: var(--theme-palette-color-1, #0f6b49);
  border: 1px solid var(--theme-form-field-border-initial-color, #7fb89d);
}

.zk-hero-chips .elementor-button:hover {
  background: var(--theme-palette-color-1, #0d875f);
  border-color: var(--theme-palette-color-1, #0d875f);
  color: var(--theme-button-text-hover-color, #ffffff);
}

.zk-hero-chips .elementor-button .elementor-button-text {
  width: 100%;
  text-align: center;
}

/* Woo category cards (set class `zk-cat-grid` on Elementor widget/container with shortcode). */
.zk-cat-grid ul.products {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.zk-cat-grid li.product-category {
  margin: 0 !important;
  border: 1px solid var(--theme-form-field-border-initial-color, #d6e1da);
  border-radius: 16px;
  overflow: hidden;
  background: var(--theme-form-field-background-initial-color, #ffffff);
  box-shadow: 0 8px 18px rgba(20, 60, 43, 0.06);
  transition: transform 0.16s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.zk-cat-grid li.product-category > a {
  display: block;
  height: 100%;
  color: inherit;
}

.zk-cat-grid li.product-category img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  margin: 0 !important;
  background: var(--theme-palette-color-7, #edf3ef);
}

.zk-cat-grid li.product-category .woocommerce-loop-category__title {
  margin: 0;
  padding: 14px 16px 16px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.28;
  color: var(--theme-headings-color, var(--theme-text-color, #173b2e));
}

.zk-cat-grid li.product-category .count {
  background: var(--theme-palette-color-7, #e8f4ee);
  color: var(--theme-palette-color-1, #0f6b49);
  border: 1px solid var(--theme-form-field-border-initial-color, #b8d8c8);
  border-radius: 999px;
  padding: 1px 8px;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  margin-left: 6px;
}

.zk-cat-grid li.product-category:hover {
  transform: translateY(-4px);
  border-color: var(--theme-palette-color-1, #9fc9b5);
  box-shadow: 0 14px 26px rgba(20, 60, 43, 0.13);
}

/* Custom category showcase shortcode: [zk_category_showcase]. */
.zk-cat-showcase {
  --zk-cat-cols: 5;
}

.zk-cat-showcase__grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(var(--zk-cat-cols), minmax(0, 1fr));
  gap: 22px;
  margin: 0;
  padding: 0;
}

.zk-cat-showcase__item {
  display: flex;
  min-width: 0;
}

.zk-cat-showcase__card {
  display: flex;
  flex-direction: column;
  width: 100%;
  border: 1px solid var(--theme-form-field-border-initial-color, #d6e1da);
  border-radius: 16px;
  overflow: hidden;
  background: var(--theme-form-field-background-initial-color, #ffffff);
  box-shadow: 0 8px 18px rgba(20, 60, 43, 0.06);
  transition: transform 0.16s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.zk-cat-showcase__left {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 4px;
  padding: 12px 14px;
  min-width: 0;
  flex: 1 1 auto;
}

.zk-cat-showcase__media {
  display: block;
  order: -1;
  color: inherit;
  text-decoration: none;
  overflow: hidden;
}

.zk-cat-showcase__image-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  background: var(--theme-palette-color-7, #edf3ef);
}

.zk-cat-showcase__image-wrap img {
  display: block;
  width: 100% !important;
  max-width: none;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center;
}

.zk-cat-showcase__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.zk-cat-showcase__title {
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
  color: var(--theme-headings-color, var(--theme-text-color, #173b2e));
}

.zk-cat-showcase__title a {
  color: inherit;
  text-decoration: none;
}

.zk-cat-showcase__title a:hover {
  color: var(--theme-palette-color-1, #0d875f);
}

.zk-cat-showcase__count {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--theme-palette-color-7, #e8f4ee);
  color: var(--theme-palette-color-1, #0f6b49);
  border: 1px solid var(--theme-form-field-border-initial-color, #b8d8c8);
  font-size: 12px;
  font-weight: 700;
}

.zk-cat-showcase__subcats {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
}

.zk-cat-showcase__subcats li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0;
}

.zk-cat-showcase__subcats li::before {
  content: "—";
  position: static;
  flex: 0 0 auto;
  line-height: 1;
  color: var(--theme-text-color);
  opacity: 0.9;
}

.zk-cat-showcase__subcats a {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--theme-text-color);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
  transition: color 0.15s ease;
}

.zk-cat-showcase__subcats a:hover {
  color: var(--theme-palette-color-1, #0d875f);
}

.zk-cat-showcase__all {
  margin-top: auto;
  padding-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--theme-palette-color-1, #0d875f);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.zk-cat-showcase__all:hover {
  color: var(--theme-palette-color-2, var(--theme-palette-color-1, #0d875f));
}

.zk-cat-showcase__subcats--fallback a {
  opacity: 0.9;
}

.zk-cat-showcase__desc {
  margin: 0;
  color: var(--theme-text-color);
  font-size: 16px;
  line-height: 1.35;
  opacity: 0.9;
}

.zk-cat-showcase__count {
  display: none !important;
}

.zk-cat-showcase__card:hover {
  transform: translateY(-4px);
  border-color: var(--theme-palette-color-1, #9fc9b5);
  box-shadow: 0 14px 26px rgba(20, 60, 43, 0.13);
}

@media (max-width: 1024px) {
  .zk-hero-panel {
    padding: 36px;
    border-radius: 20px;
  }

  .zk-cat-grid ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .zk-cat-grid li.product-category .woocommerce-loop-category__title {
    font-size: 20px;
  }

  .zk-cat-showcase__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .zk-cat-showcase__title {
    font-size: 20px;
  }

}

@media (max-width: 767px) {
  .zk-hero-panel {
    padding: 22px;
    border-radius: 16px;
  }

  .home-product-search {
    flex-direction: column;
  }

  .zk-cat-grid ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .zk-cat-grid li.product-category {
    border-radius: 12px;
  }

  .zk-cat-grid li.product-category .woocommerce-loop-category__title {
    padding: 10px 12px 12px;
    font-size: 17px;
  }

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

  .zk-cat-showcase__card {
    border-radius: 12px;
  }

  .zk-cat-showcase__title {
    font-size: 18px;
  }

}

/* Manual horizontal category tiles for Elementor. */
.zk-hcat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.zk-hcat-card {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  min-height: 190px;
  border: 1px solid var(--theme-form-field-border-initial-color, #d6e1da);
  border-radius: 16px;
  overflow: hidden;
  background: var(--theme-form-field-background-initial-color, #ffffff);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 18px rgba(20, 60, 43, 0.06);
  transition: transform 0.16s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.zk-hcat-card:hover {
  transform: translateY(-4px);
  border-color: var(--theme-palette-color-1, #0d875f);
  box-shadow: 0 14px 26px rgba(20, 60, 43, 0.13);
}

.zk-hcat-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 16px 18px;
}

.zk-hcat-card__title {
  margin: 0;
  font-size: 26px;
  line-height: 1.12;
  color: var(--theme-headings-color, var(--theme-text-color));
}

.zk-hcat-card__subs {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.zk-hcat-card__subs li {
  margin: 0;
}

.zk-hcat-card__subs a,
.zk-hcat-card__subs span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--theme-form-field-border-initial-color, #d6e1da);
  background: var(--theme-palette-color-7, #e8f4ee);
  color: var(--theme-text-color);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}

.zk-hcat-card__subs a:hover {
  background: var(--theme-palette-color-1, #0d875f);
  border-color: var(--theme-palette-color-1, #0d875f);
  color: var(--theme-button-text-hover-color, #fff);
}

.zk-hcat-card__media {
  position: relative;
  background: var(--theme-palette-color-7, #edf3ef);
}

.zk-hcat-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 1024px) {
  .zk-hcat-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .zk-hcat-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .zk-hcat-card__media {
    min-height: 180px;
    order: -1;
  }

  .zk-hcat-card__title {
    font-size: 22px;
  }
}
/* SEO readmore block */
.seo-readmore {
	position: relative;
}

.seo-readmore__content {
	position: relative;
	max-height: 220px;
	overflow: hidden;
	transition: max-height 0.3s ease;
}

.seo-readmore__content::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 88px;
	pointer-events: none;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 72%);
}

.seo-readmore.is-open .seo-readmore__content {
	max-height: 3000px;
}

.seo-readmore.is-open .seo-readmore__content::after {
	display: none;
}

.seo-readmore__btn {
	margin-top: 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: var(--theme-button-min-height, 42px);
	padding: 0 20px;
	border: 1px solid var(--theme-palette-color-1, #4fa62b);
	border-radius: 999px;
	background: var(--theme-palette-color-1, #4fa62b);
	color: var(--theme-button-text-initial-color, #fff);
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition: transform .18s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}

.seo-readmore__btn:hover {
	background: var(--theme-palette-color-2, #3f8f22);
	border-color: var(--theme-palette-color-2, #3f8f22);
	color: var(--theme-button-text-hover-color, #fff);
	transform: translateY(-1px);
	box-shadow: 0 8px 18px rgba(55, 130, 30, 0.22);
}

.seo-readmore__btn:focus-visible {
	outline: 0;
	box-shadow: 0 0 0 3px rgba(79, 166, 43, 0.25);
}

@media (max-width: 767px) {
	.seo-readmore__content {
		max-height: 180px;
	}

	.seo-readmore__btn {
		min-height: 38px;
		padding: 0 14px;
		font-size: 14px;
	}
}

/* Modern sidebar categories (Woo widget) */
.widget_product_categories {
  --zk-side-accent: var(--theme-palette-color-1, #0d875f);
  --zk-side-text: var(--theme-text-color, #1d2a24);
  --zk-side-soft: #f4f7f6;
  --zk-side-border: #dbe5e0;
  --zk-side-active-bg: #ecf7f2;
}

.widget_product_categories .widget-title,
.widget_product_categories .ct-widget-title {
  margin-bottom: 14px;
  font-size: clamp(20px, 1.4vw, 24px);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.widget_product_categories .product-categories {
  margin: 0;
  padding: 12px;
  list-style: none;
  border: 1px solid var(--zk-side-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(17, 42, 32, 0.06);
}

.widget_product_categories .product-categories li {
  position: relative;
  margin: 0;
}

.widget_product_categories .product-categories > li + li {
  margin-top: 4px;
}

.widget_product_categories .product-categories a {
  display: inline-flex;
  align-items: center;
  width: calc(100% - 44px);
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 11px;
  color: var(--zk-side-text);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.16s ease;
}

.widget_product_categories .product-categories a:hover {
  background: var(--zk-side-soft);
  color: var(--zk-side-accent);
  transform: translateX(2px);
}

.widget_product_categories .product-categories .count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  margin-left: 8px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--zk-side-soft);
  color: #5e746a;
  font-size: 12px;
  font-weight: 700;
}

.widget_product_categories .product-categories li.current-cat > a,
.widget_product_categories .product-categories li.current-cat-parent > a,
.widget_product_categories .product-categories li.current-cat-ancestor > a {
  background: var(--zk-side-active-bg);
  color: var(--zk-side-accent);
}

.widget_product_categories .product-categories li.current-cat > a .count,
.widget_product_categories .product-categories li.current-cat-parent > a .count,
.widget_product_categories .product-categories li.current-cat-ancestor > a .count {
  background: color-mix(in srgb, var(--zk-side-accent) 12%, white);
  color: var(--zk-side-accent);
}

.widget_product_categories .product-categories .children {
  margin: 4px 0 6px 10px;
  padding-left: 10px;
  border-left: 1px dashed #d2dfd8;
}

.widget_product_categories .product-categories .children li + li {
  margin-top: 2px;
}

.widget_product_categories .product-categories .children a {
  min-height: 34px;
  font-size: 14px;
  font-weight: 500;
  width: calc(100% - 44px);
}

.widget_product_categories .product-categories li.zk-has-children > .zk-cat-toggle {
  position: absolute;
  top: 6px;
  right: 4px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #6d8479;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.widget_product_categories .product-categories li.zk-has-children > .zk-cat-toggle:hover {
  background: var(--zk-side-soft);
  color: var(--zk-side-accent);
}

.widget_product_categories .product-categories li.zk-has-children > .zk-cat-toggle span {
  font-size: 14px;
  line-height: 1;
  transform: rotate(-90deg);
  transition: transform 0.2s ease;
}

.widget_product_categories .product-categories li.zk-has-children.is-open > .zk-cat-toggle span {
  transform: rotate(0deg);
}

@media (max-width: 1024px) {
  .widget_product_categories .product-categories {
    border-radius: 14px;
    padding: 10px;
  }
}

/* Fallback selectors for catalog archives (widget areas with different wrappers + Woo blocks) */
.ct-sidebar .product-categories,
.wp-block-woocommerce-product-categories .wc-block-product-categories-list--depth-0 {
  margin: 0;
  padding: 12px;
  list-style: none;
  border: 1px solid #dbe5e0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(17, 42, 32, 0.06);
}

.ct-sidebar .product-categories li,
.wp-block-woocommerce-product-categories .wc-block-product-categories-list li {
  position: relative;
  margin: 0;
}

.ct-sidebar .product-categories > li + li,
.wp-block-woocommerce-product-categories .wc-block-product-categories-list--depth-0 > li + li {
  margin-top: 4px;
}

.ct-sidebar .product-categories a,
.wp-block-woocommerce-product-categories .wc-block-product-categories-list a {
  display: inline-flex;
  align-items: center;
  width: calc(100% - 44px);
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 11px;
  color: var(--theme-text-color, #1d2a24);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.16s ease;
}

.ct-sidebar .product-categories a:hover,
.wp-block-woocommerce-product-categories .wc-block-product-categories-list a:hover {
  background: #f4f7f6;
  color: var(--theme-palette-color-1, #0d875f);
  transform: translateX(2px);
}

.ct-sidebar .product-categories .count,
.wp-block-product-categories-list-item-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  margin-left: 8px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #f4f7f6;
  color: #5e746a;
  font-size: 12px;
  font-weight: 700;
}

.ct-sidebar .product-categories li.current-cat > a,
.ct-sidebar .product-categories li.current-cat-parent > a,
.ct-sidebar .product-categories li.current-cat-ancestor > a,
.wp-block-woocommerce-product-categories .wc-block-product-categories-list-item.current-cat > a,
.wp-block-woocommerce-product-categories .wc-block-product-categories-list-item.current-cat-parent > a {
  background: #ecf7f2;
  color: var(--theme-palette-color-1, #0d875f);
}

.ct-sidebar .product-categories .children,
.wp-block-woocommerce-product-categories .wc-block-product-categories-list ul.wc-block-product-categories-list {
  margin: 4px 0 6px 10px;
  padding-left: 10px;
  border-left: 1px dashed #d2dfd8;
}

.ct-sidebar .product-categories .children a,
.wp-block-woocommerce-product-categories .wc-block-product-categories-list--depth-1 a,
.wp-block-woocommerce-product-categories .wc-block-product-categories-list--depth-2 a {
  min-height: 34px;
  font-size: 14px;
  font-weight: 500;
}

.ct-sidebar .product-categories li.zk-has-children > .zk-cat-toggle,
.wp-block-woocommerce-product-categories .wc-block-product-categories-list li.zk-has-children > .zk-cat-toggle {
  position: absolute;
  top: 6px;
  right: 4px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #6d8479;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.ct-sidebar .product-categories li.zk-has-children > .zk-cat-toggle:hover,
.wp-block-woocommerce-product-categories .wc-block-product-categories-list li.zk-has-children > .zk-cat-toggle:hover {
  background: #f4f7f6;
  color: var(--theme-palette-color-1, #0d875f);
}

.ct-sidebar .product-categories li.zk-has-children > .zk-cat-toggle span,
.wp-block-woocommerce-product-categories .wc-block-product-categories-list li.zk-has-children > .zk-cat-toggle span {
  font-size: 14px;
  line-height: 1;
  transform: rotate(-90deg);
  transition: transform 0.2s ease;
}

.ct-sidebar .product-categories li.zk-has-children.is-open > .zk-cat-toggle span,
.wp-block-woocommerce-product-categories .wc-block-product-categories-list li.zk-has-children.is-open > .zk-cat-toggle span {
  transform: rotate(0deg);
}

/* Sidebar custom navigation menu (manual catalog menu) */
.ct-sidebar .widget_nav_menu {
  --zk-nav-accent: var(--theme-palette-color-1, #0d875f);
  --zk-nav-text: var(--theme-text-color, #1d2a24);
  --zk-nav-soft: #f4f7f6;
  --zk-nav-border: #dbe5e0;
  --zk-nav-active: #ecf7f2;
}

.ct-sidebar .widget_nav_menu .widget-title,
.ct-sidebar .widget_nav_menu .ct-widget-title {
  margin-bottom: 14px;
  font-size: clamp(20px, 1.4vw, 24px);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.ct-sidebar .widget_nav_menu .menu {
  margin: 0;
  padding: 12px;
  list-style: none;
  border: 1px solid var(--zk-nav-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(17, 42, 32, 0.06);
}

.ct-sidebar .widget_nav_menu .menu li {
  position: relative;
  margin: 0;
  list-style: none;
}

.ct-sidebar .widget_nav_menu .menu > li + li {
  margin-top: 4px;
}

.ct-sidebar .widget_nav_menu .menu a {
  display: inline-flex;
  align-items: center;
  width: calc(100% - 44px);
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 11px;
  color: var(--zk-nav-text);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.16s ease;
}

.ct-sidebar .widget_nav_menu .menu a:hover {
  background: var(--zk-nav-soft);
  color: var(--zk-nav-accent);
  transform: translateX(2px);
}

.ct-sidebar .widget_nav_menu .menu .current-menu-item > a,
.ct-sidebar .widget_nav_menu .menu .current-menu-parent > a,
.ct-sidebar .widget_nav_menu .menu .current-menu-ancestor > a {
  background: var(--zk-nav-active);
  color: var(--zk-nav-accent);
}

.ct-sidebar .widget_nav_menu .menu .sub-menu {
  margin: 4px 0 6px 10px;
  padding-left: 10px;
  border-left: 1px dashed #d2dfd8;
}

.ct-sidebar .widget_nav_menu .menu .sub-menu li + li {
  margin-top: 2px;
}

.ct-sidebar .widget_nav_menu .menu .sub-menu a {
  min-height: 34px;
  font-size: 16px;
  font-weight: 500;
}

.ct-sidebar .widget_nav_menu .menu li.zk-has-submenu > .zk-menu-toggle {
  position: absolute;
  top: 6px;
  right: 4px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #6d8479;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.ct-sidebar .widget_nav_menu .menu li.zk-has-submenu > .zk-menu-toggle:hover {
  background: var(--zk-nav-soft);
  color: var(--zk-nav-accent);
}

.ct-sidebar .widget_nav_menu .menu li.zk-has-submenu > .zk-menu-toggle span {
  font-size: 14px;
  line-height: 1;
  transform: rotate(-90deg);
  transition: transform 0.2s ease;
}

.ct-sidebar .widget_nav_menu .menu li.zk-has-submenu.is-open > .zk-menu-toggle span {
  transform: rotate(0deg);
}

/* Extra-safe selectors for classic Nav Menu widget in different sidebars */
.woocommerce.archive #secondary .widget_nav_menu .menu,
.tax-product_cat #secondary .widget_nav_menu .menu,
.archive.post-type-archive-product .widget_nav_menu .menu,
.archive.tax-product_cat .widget_nav_menu .menu,
.ct-sidebar .widget.widget_nav_menu .menu {
  margin: 0 !important;
  padding: 12px !important;
  border: 1px solid #dbe5e0 !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 0 10px 26px rgba(17, 42, 32, 0.06) !important;
}

.woocommerce.archive #secondary .widget_nav_menu .menu > li > a,
.tax-product_cat #secondary .widget_nav_menu .menu > li > a,
.archive.post-type-archive-product .widget_nav_menu .menu > li > a,
.archive.tax-product_cat .widget_nav_menu .menu > li > a,
.ct-sidebar .widget.widget_nav_menu .menu > li > a {
  font-size: 18px !important;
  font-weight: 600 !important;
  padding: 8px 12px !important;
  border-radius: 11px !important;
}

@media (max-width: 1024px) {
  .ct-sidebar .widget_nav_menu .menu {
    border-radius: 14px;
    padding: 10px;
  }

  .ct-sidebar .widget_nav_menu .menu a {
    font-size: 16px;
  }

  .ct-sidebar .widget_nav_menu .menu .sub-menu a {
    font-size: 15px;
  }
}

/* Sidebar block navigation menu fallback (WP Navigation block in widgets) */
.ct-sidebar .wp-block-navigation {
  width: 100%;
}

.ct-sidebar .wp-block-navigation .wp-block-navigation__container {
  margin: 0 !important;
  padding: 12px !important;
  list-style: none !important;
  border: 1px solid #dbe5e0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(17, 42, 32, 0.06);
}

.ct-sidebar .wp-block-navigation .wp-block-navigation-item {
  position: relative;
  margin: 0 !important;
  list-style: none !important;
}

.ct-sidebar .wp-block-navigation .wp-block-navigation__container > .wp-block-navigation-item + .wp-block-navigation-item {
  margin-top: 4px !important;
}

.ct-sidebar .wp-block-navigation .wp-block-navigation-item__content {
  display: inline-flex !important;
  align-items: center;
  width: calc(100% - 44px);
  min-height: 40px;
  padding: 8px 12px !important;
  border-radius: 11px;
  color: var(--theme-text-color, #1d2a24) !important;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none !important;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.16s ease;
}

.ct-sidebar .wp-block-navigation .wp-block-navigation-item__content:hover {
  background: #f4f7f6;
  color: var(--theme-palette-color-1, #0d875f) !important;
  transform: translateX(2px);
}

.ct-sidebar .wp-block-navigation .current-menu-item > .wp-block-navigation-item__content,
.ct-sidebar .wp-block-navigation .current-menu-parent > .wp-block-navigation-item__content,
.ct-sidebar .wp-block-navigation .current-menu-ancestor > .wp-block-navigation-item__content {
  background: #ecf7f2;
  color: var(--theme-palette-color-1, #0d875f) !important;
}

.ct-sidebar .wp-block-navigation .wp-block-navigation__submenu-container {
  position: static !important;
  inset: auto !important;
  min-width: 0 !important;
  width: auto !important;
  margin: 4px 0 6px 10px !important;
  padding: 0 0 0 10px !important;
  border: 0 !important;
  border-left: 1px dashed #d2dfd8 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.ct-sidebar .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
  min-height: 34px;
  font-size: 16px;
  font-weight: 500;
}

.ct-sidebar .wp-block-navigation .wp-block-navigation-submenu__toggle {
  position: absolute;
  top: 6px;
  right: 4px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #6d8479;
}

.ct-sidebar .wp-block-navigation .wp-block-navigation-submenu__toggle:hover {
  background: #f4f7f6;
  color: var(--theme-palette-color-1, #0d875f);
}

@media (max-width: 1024px) {
  .ct-sidebar .wp-block-navigation .wp-block-navigation-item__content {
    font-size: 16px;
  }

  .ct-sidebar .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
    font-size: 15px;
  }
}

/* FINAL fix: WP Nav Menu widget uses `.widget-menu` in this project */
.ct-sidebar .widget_nav_menu :is(.menu, .widget-menu) {
  margin: 0 !important;
  padding: 12px !important;
  list-style: none !important;
  border: 1px solid #dbe5e0 !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 0 10px 26px rgba(17, 42, 32, 0.06) !important;
}

.ct-sidebar .widget_nav_menu :is(.menu, .widget-menu) > li + li {
  margin-top: 4px !important;
}

.ct-sidebar .widget_nav_menu :is(.menu, .widget-menu) a {
  display: inline-flex !important;
  align-items: center;
  width: calc(100% - 44px);
  min-height: 40px;
  padding: 8px 12px !important;
  border-radius: 11px !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  line-height: 1.35;
  color: var(--theme-text-color, #1d2a24) !important;
  text-decoration: none !important;
  transition: background-color .22s ease, color .22s ease, transform .28s cubic-bezier(.22,.61,.36,1), box-shadow .22s ease !important;
}

.ct-sidebar .widget_nav_menu :is(.menu, .widget-menu) a:hover {
  background: #f4f7f6 !important;
  color: var(--theme-palette-color-1, #0d875f) !important;
  transform: translateX(4px) !important;
  box-shadow: inset 0 0 0 1px rgba(13, 135, 95, 0.08);
}

/* Active category/item highlight in sidebar menu */
.ct-sidebar .widget_nav_menu :is(.menu, .widget-menu)
:is(
  li.current-menu-item,
  li.current-menu-parent,
  li.current-menu-ancestor,
  li.current-product_cat-ancestor,
  li.current-product_cat-parent,
  li.current-product_cat-item
) > a {
  background: #eef7f1 !important;
  color: var(--theme-palette-color-1, #0d875f) !important;
}

.ct-sidebar .widget_nav_menu :is(.menu, .widget-menu)
:is(
  li.current-menu-item,
  li.current-menu-parent,
  li.current-menu-ancestor,
  li.current-product_cat-ancestor,
  li.current-product_cat-parent,
  li.current-product_cat-item
) > .zk-menu-toggle {
  color: var(--theme-palette-color-1, #0d875f);
}

.ct-sidebar .widget_nav_menu :is(.menu, .widget-menu) .sub-menu {
  margin: 4px 0 6px 10px !important;
  padding-left: 10px !important;
  border-left: 1px dashed #d2dfd8 !important;
  max-height: 0;
  opacity: 0;
  transform: translateY(-4px);
  overflow: hidden;
  transition: max-height .34s cubic-bezier(.22,.61,.36,1), opacity .26s ease, transform .34s cubic-bezier(.22,.61,.36,1);
}

/* Closed submenu must not consume vertical spacing */
.ct-sidebar .widget_nav_menu :is(.menu, .widget-menu) li.zk-has-submenu:not(.is-open) > .sub-menu {
  margin: 0 !important;
  padding-left: 0 !important;
  border-left: 0 !important;
}

.ct-sidebar .widget_nav_menu :is(.menu, .widget-menu) .sub-menu a {
  font-size: 16px !important;
  font-weight: 500 !important;
  min-height: 34px;
}

.ct-sidebar .widget_nav_menu :is(.menu, .widget-menu) li.is-open > .sub-menu,
.ct-sidebar .widget_nav_menu :is(.menu, .widget-menu) li.current-menu-parent > .sub-menu,
.ct-sidebar .widget_nav_menu :is(.menu, .widget-menu) li.current-menu-ancestor > .sub-menu {
  opacity: 1;
  transform: translateY(0);
  max-height: none !important;
  overflow: visible;
}

.ct-sidebar .widget_nav_menu :is(.menu, .widget-menu) .sub-menu[hidden] {
  display: none !important;
}

/* Better chevron toggles */
.ct-sidebar .widget_nav_menu :is(.menu, .widget-menu) li.zk-has-submenu > .zk-menu-toggle {
  position: absolute;
  top: 6px;
  right: 4px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #6d8479;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color .22s ease, color .22s ease, transform .22s ease;
}

.ct-sidebar .widget_nav_menu :is(.menu, .widget-menu) li.zk-has-submenu > .zk-menu-toggle:hover {
  background: transparent;
  transform: none;
}

.ct-sidebar .widget_nav_menu :is(.menu, .widget-menu) li.zk-has-submenu:hover > a {
  background: #f4f7f6 !important;
  color: var(--theme-palette-color-1, #0d875f) !important;
  transform: translateX(4px) !important;
  box-shadow: inset 0 0 0 1px rgba(13, 135, 95, 0.08);
}

.ct-sidebar .widget_nav_menu :is(.menu, .widget-menu) li.zk-has-submenu:hover > .zk-menu-toggle {
  color: var(--theme-palette-color-1, #0d875f);
}

.ct-sidebar .widget_nav_menu :is(.menu, .widget-menu) li.zk-has-submenu > .zk-menu-toggle .zk-menu-toggle__icon {
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  display: block;
  transition: transform .26s cubic-bezier(.22,.61,.36,1);
}

.ct-sidebar .widget_nav_menu :is(.menu, .widget-menu) li.zk-has-submenu.is-open > .zk-menu-toggle .zk-menu-toggle__icon {
  transform: rotate(-135deg);
}

/* Arrow alignment fix: keep toggle on the same row as parent link */
.ct-sidebar .widget_nav_menu :is(.menu, .widget-menu) li.zk-has-submenu {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 30px;
  align-items: center;
  column-gap: 8px;
}

.ct-sidebar .widget_nav_menu :is(.menu, .widget-menu) li.zk-has-submenu > a {
  width: 100% !important;
  padding-right: 12px !important;
}

.ct-sidebar .widget_nav_menu :is(.menu, .widget-menu) li.zk-has-submenu > .zk-menu-toggle {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  margin: 0;
  justify-self: end;
}

.ct-sidebar .widget_nav_menu :is(.menu, .widget-menu) li.zk-has-submenu > .sub-menu {
  grid-column: 1 / -1;
}

/* Single product ID under title */
.single-product .zk-product-id {
  margin: 8px 0 10px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--theme-text-color, #34584c);
}

.quantity {
  --theme-form-field-border-radius: 14px;
}

/* Header: "Каталог" button only (keep default Blocksy dropdown behavior) */
@media (min-width: 1025px) {
  html {
    scrollbar-gutter: stable;
  }

  html.zk-cart-modal-open-root {
    overflow-y: scroll;
  }

  .ct-header [data-id="menu"] .menu > li:first-child {
    align-self: center !important;
    min-height: 0 !important;
    height: auto !important;
  }

  .ct-header [data-id="menu"] .menu > li:first-child > a {
    display: inline-flex !important;
    align-items: center;
    align-self: center !important;
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    padding: 0 18px 0 48px !important;
    border: 2px solid rgba(255, 255, 255, 0.92);
    border-radius: 14px;
    background-color: rgba(255, 255, 255, 0.03);
    background-image:
      linear-gradient(#fff, #fff),
      linear-gradient(#fff, #fff),
      linear-gradient(#fff, #fff),
      linear-gradient(#fff, #fff);
    background-size: 6px 6px, 6px 6px, 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    background-position:
      18px calc(50% - 5px),
      28px calc(50% - 5px),
      18px calc(50% + 5px),
      28px calc(50% + 5px);
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 700;
    line-height: 1;
    text-transform: none;
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
  }

  .ct-header [data-id="menu"] .menu > li:first-child > a::before {
    content: none !important;
  }

  .ct-header [data-id="menu"] .menu > li:first-child:hover > a,
  .ct-header [data-id="menu"] .menu > li:first-child > a:hover {
    background-color: rgba(255, 255, 255, 0.10);
    border-color: #fff;
    transform: translateY(-1px);
  }

  .ct-header [data-id="menu"] .menu > li:first-child > a .ct-menu-link-text + .sub-menu-toggle,
  .ct-header [data-id="menu"] .menu > li:first-child > a .ct-submenu-toggle {
    color: #fff !important;
  }
}

/* Single product: custom Delivery/Payment accordions under add-to-cart */
.single-product .entry-summary-items > .ct-payment-methods {
  display: none;
}

.single-product .zk-product-accordions {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.single-product .zk-accordion-item {
  border: 1px solid var(--theme-form-field-border-initial-color, #d8e2dc);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.single-product .zk-accordion-item > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  font-size: 17px;
  font-weight: 700;
  color: var(--theme-headings-color, #1f3b2f);
  transition: background-color .18s ease, color .18s ease;
}

.single-product .zk-accordion-item > summary::-webkit-details-marker {
  display: none;
}

.single-product .zk-accordion-item > summary::after {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .2s ease;
}

.single-product .zk-accordion-item[open] > summary::after {
  transform: rotate(-135deg);
}

.single-product .zk-accordion-item > summary:hover {
  background: #f5faf7;
  color: var(--theme-palette-color-1, #2b8f63);
}

.single-product .zk-accordion-content {
  border-top: 1px dashed #d8e2dc;
  padding: 12px 16px 14px;
}

.single-product .zk-accordion-content p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--theme-text-color, #375548);
}

.single-product .zk-payment-icons {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.single-product .zk-payment-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.single-product .zk-payment-icon .ct-icon {
  display: block;
  width: 52px;
  height: 34px;
}

/* Header mini-cart dropdown: make panel wider */
.ct-header-cart .ct-cart-content {
  width: min(92vw, 435px);
  max-width: min(92vw, 435px);
}

@media (max-width: 768px) {
  .ct-header-cart .ct-cart-content {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
  }
}

/* Header cart hover: force white text and icon */
.ct-header-cart:hover > .ct-cart-item,
.ct-header-cart:hover > .ct-cart-item .ct-label,
.ct-header-cart:hover > .ct-cart-item .ct-label .ct-amount,
.ct-header-cart:hover > .ct-cart-item .ct-icon-container,
.ct-header-cart:hover > .ct-cart-item svg {
  color: #fff !important;
  fill: #fff !important;
}


.order-total th, .order-total td {
  font-size: 19px;
  font-weight: 700;
}

/* Thank you page */
.woocommerce-order-received .woocommerce-order {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.woocommerce-order-received .zk-thankyou-wrap {
  margin: 10px auto 28px;
}

.woocommerce-order-received .zk-thankyou-hero {
  text-align: center;
  margin-bottom: 18px;
}

.woocommerce-order-received .zk-thankyou-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: #dff7e8;
  color: #1f8b4c;
  font-size: 32px;
  font-weight: 700;
  line-height: 64px;
}

.woocommerce-order-received .zk-thankyou-hero h1 {
  margin: 0 0 6px;
  font-size: clamp(30px, 4.4vw, 40px);
  line-height: 1.1;
}

.woocommerce-order-received .zk-thankyou-hero p {
  margin: 0;
  font-size: 16px;
  color: #4c675c;
}

.woocommerce-order-received .zk-thankyou-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.woocommerce-order-received .zk-thankyou-card {
  border: 1px solid #d9e7df;
  border-radius: 14px;
  background: #fff;
  padding: 16px 18px;
}

.woocommerce-order-received .zk-thankyou-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.2;
}

.woocommerce-order-received .zk-thankyou-pay {
  margin-bottom: 14px;
}

.woocommerce-order-received .zk-thankyou-pay p {
  margin: 0 0 10px;
  font-size: 16px;
}

.woocommerce-order-received .zk-thankyou-advance {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 10px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #ebf8ef;
  border: 1px solid #c9e9d4;
}

.woocommerce-order-received .zk-thankyou-advance span {
  font-size: 13px;
  color: #2f6a48;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.woocommerce-order-received .zk-thankyou-advance strong {
  font-size: 20px;
  line-height: 1;
  color: #1f8b4c;
}

.woocommerce-order-received .zk-thankyou-bank-list {
  display: grid;
  gap: 10px;
}

.woocommerce-order-received .zk-thankyou-bank-item {
  border: 1px dashed #d7e4dc;
  border-radius: 10px;
  padding: 10px 12px;
  background: #fafdfb;
}

.woocommerce-order-received .zk-thankyou-bank-item ul,
.woocommerce-order-received .zk-thankyou-meta {
  list-style: none;
  margin: 0;
  padding: 0;
}

.woocommerce-order-received .zk-thankyou-bank-item li,
.woocommerce-order-received .zk-thankyou-meta li {
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 1.45;
}

.woocommerce-order-received .zk-copy-btn {
  height: 28px;
  width: 28px;
  padding: 0;
  border-radius: 7px;
  border: 1px solid #c8dbcf;
  background: #eef5f1;
  color: #2f6f4e;
  font-size: 0;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.woocommerce-order-received .zk-copy-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.woocommerce-order-received .zk-copy-btn:hover {
  border-color: #95c8a8;
  background: #e2f2e7;
}

.woocommerce-order-received .zk-copy-btn.is-copied {
  border-color: #57a747;
  background: #dff3e3;
  color: #2f8d3a;
}

.woocommerce-order-received .zk-thankyou-summary {
  margin-bottom: 14px;
}

.woocommerce-order-received .zk-thankyou-items {
  list-style: none;
  margin: 0;
  padding: 0;
}

.woocommerce-order-received .zk-thankyou-item {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px dashed #d9e7df;
}

.woocommerce-order-received .zk-thankyou-item:last-child {
  border-bottom: 0;
}

.woocommerce-order-received .zk-thankyou-item-media img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 10px;
}

.woocommerce-order-received .zk-thankyou-item-main {
  display: grid;
  gap: 2px;
}

.woocommerce-order-received .zk-thankyou-item-main strong {
  font-size: 15px;
  line-height: 1.3;
}

.woocommerce-order-received .zk-thankyou-item-main span {
  font-size: 13px;
  color: #5c776b;
}

.woocommerce-order-received .zk-thankyou-item-price {
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

.woocommerce-order-received .zk-thankyou-totals {
  margin-top: 6px;
  border-top: 1px solid #dce9e2;
  padding-top: 10px;
  display: grid;
  gap: 8px;
}

.woocommerce-order-received .zk-thankyou-totals > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.woocommerce-order-received .zk-thankyou-totals span {
  color: #4f6d61;
}

.woocommerce-order-received .zk-thankyou-totals .is-total {
  margin-top: 2px;
  padding-top: 8px;
  border-top: 1px dashed #d8e5de;
}

.woocommerce-order-received .zk-thankyou-totals .is-total strong {
  font-size: 20px;
}

.woocommerce-order-received .zk-thankyou-bank-item li:last-child,
.woocommerce-order-received .zk-thankyou-meta li:last-child {
  margin-bottom: 0;
}

.woocommerce-order-received .zk-thankyou-bank-item span,
.woocommerce-order-received .zk-thankyou-meta span {
  color: #557266;
}

.woocommerce-order-received .zk-thankyou-bank-item li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.woocommerce-order-received .zk-thankyou-bank-item li > div {
  flex: 1 1 auto;
  min-width: 0;
}

.woocommerce-order-received .zk-thankyou-bank-item li strong {
  font-weight: 700;
  color: #223f34;
}

.woocommerce-order-received .zk-thankyou-bank-item li span {
  color: #35564b;
  overflow-wrap: anywhere;
}

.woocommerce-order-received .zk-thankyou-shipping-method {
  margin: 0 0 6px;
}

.woocommerce-order-received .zk-thankyou-address {
  margin: 0;
  color: #27463c;
}

.woocommerce-order-received .zk-thankyou-delivery-meta li {
  margin-bottom: 10px;
}

.woocommerce-order-received .zk-thankyou-delivery-meta li strong {
  overflow-wrap: anywhere;
}

/* Hide default BACS details block to avoid duplicate реквізити */
.woocommerce-order-received .woocommerce-bacs-bank-details {
  display: none;
}

/* Hide default WooCommerce thank-you content below custom block */
.woocommerce-order-received .woocommerce-order .zk-thankyou-wrap ~ * {
  display: none !important;
}

@media (max-width: 767px) {
  .woocommerce-order-received .zk-thankyou-grid {
    grid-template-columns: 1fr;
  }

  .woocommerce-order-received .zk-thankyou-item {
    grid-template-columns: 48px 1fr;
    gap: 10px;
  }

  .woocommerce-order-received .zk-thankyou-item-price {
    grid-column: 2;
    justify-self: end;
  }

  .woocommerce-order-received .zk-thankyou-item-media img {
    width: 48px;
    height: 48px;
  }

}

/* Thank you page hero: closer to provided reference */
.woocommerce-order-received .zk-thankyou-wrap {
  max-width: 860px;
}

.woocommerce-order-received .zk-thankyou-hero {
  margin: 14px auto 28px;
}

.woocommerce-order-received .zk-thankyou-icon {
  width: 86px;
  height: 86px;
  margin: 0 auto 18px;
  font-size: 44px;
  line-height: 86px;
  background: #c9f3df;
  color: #11885b;
}

.woocommerce-order-received .zk-thankyou-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.01em;
}

.woocommerce-order-received .zk-thankyou-subtitle {
  margin: 0 auto;
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.35;
  color: #5a6b63;
}

.woocommerce-order-received .zk-thankyou-order-pill {
  margin: 18px auto 14px;
  width: fit-content;
  min-width: 240px;
  max-width: 100%;
  border: 1px solid #d8e3dd;
  border-radius: 12px;
  background: #fff;
  display: block;
  overflow: hidden;
}

.woocommerce-order-received .zk-thankyou-order-pill__main {
  padding: 4px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.woocommerce-order-received .zk-thankyou-order-pill__main span {
  font-size: 13px;
  color: #6d7b74;
}

.woocommerce-order-received .zk-thankyou-order-pill__main strong {
  font-size: 27px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.woocommerce-order-received .zk-thankyou-confirmation-note {
  margin: 8px auto 0;
  max-width: 560px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 19px;
  color: #28352f;
}

.woocommerce-order-received .zk-thankyou-confirmation-note svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex: 0 0 20px;
  opacity: .88;
}

.woocommerce-order-received .zk-thankyou-pay-steps {
  margin: 2px 0 12px;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.woocommerce-order-received .zk-thankyou-pay-steps li {
  margin: 0;
  font-size: 17px;
  line-height: 1.45;
  color: #325046;
}

/* Keep default Woo summary hidden, custom summary is used */
.woocommerce-order-received .woocommerce-order-overview {
  display: none;
}

@media (max-width: 767px) {
  .woocommerce-order-received .zk-thankyou-wrap {
    max-width: 100%;
  }

  .woocommerce-order-received .zk-thankyou-hero {
    margin: 10px auto 20px;
  }

  .woocommerce-order-received .zk-thankyou-icon {
    width: 72px;
    height: 72px;
    line-height: 72px;
    font-size: 38px;
    margin-bottom: 12px;
  }

  .woocommerce-order-received .zk-thankyou-order-pill {
    width: 100%;
    min-width: 0;
    max-width: 320px;
    margin: 14px auto 10px;
  }

  .woocommerce-order-received .zk-thankyou-order-pill__main strong {
    font-size: 21px;
  }

  .woocommerce-order-received .zk-thankyou-confirmation-note {
    max-width: 100%;
    font-size: 16px;
  }

  .woocommerce-order-received .zk-thankyou-pay-steps li {
    font-size: 15px;
  }
}


/* LEFT TOP: компактний магазинний рядок замість чіпсів */
.zk-top-left {
  display: flex;
  align-items: center;
  min-width: 0;
}

.zk-top-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #d8e7de;
  color: #2f5f49;
  font-size: 14px;
  font-weight: 400;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(26, 73, 51, 0.06);
}

.zk-top-note .zk-dot {
  opacity: .45;
  font-weight: 900;
}

/* менше шуму на вужчих екранах */
@media (max-width: 1300px) {
  .zk-hide-md {
    display: none;
  }
}

@media (max-width: 1024px) {
  .zk-top-note {
    font-size: 13px;
    min-height: 34px;
    padding: 0 10px;
    gap: 8px;
  }
}


/* Conversion CTA for phone button */
/* Header CTA as plain ecommerce contact line */
.zk-top-contact {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  min-height: auto !important;
  color: #2e7d32 !important;
  font-weight: 800;
  font-size: 16px;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ct-header-cta[data-id="button"] .ct-button-ghost::before {
  content: "☎";
  font-size: 14px;
  font-weight: 400;
  opacity: .9;
}

.ct-header-cta[data-id="button"] .ct-button-ghost:hover {
  text-decoration: underline !important;
}

/* Checkout styles */
.ct-woocommerce-checkout {
  /* max-width: 1120px; */
  margin-inline: auto;
  column-gap: 42px;
  grid-template-columns: minmax(0, 0.84fr) minmax(380px, 1.1fr);
}

.ct-woocommerce-checkout #order_review {
  position: sticky;
  top: 24px;
  align-self: start;
}

@media (max-width: 1024px) {
  .ct-woocommerce-checkout {
    max-width: 960px;
    column-gap: 28px;
    grid-template-columns: minmax(0, 1fr);
  }

  .ct-woocommerce-checkout #order_review {
    position: static;
  }
}

body.woocommerce-checkout .entry-header,
body.woocommerce-checkout .ct-page-title {
  text-align: center;
}

/* Nova Poshta checkout fields in form style */
.woocommerce-checkout .wcus-checkout-fields select,
.woocommerce-checkout .wcus-checkout-fields input[type="text"],
.woocommerce-checkout .wcus-checkout-fields input[type="search"],
.woocommerce-checkout .wcus-checkout-fields input[type="tel"] {
  height: var(--theme-form-field-height, 40px);
  min-height: var(--theme-form-field-height, 40px);
  padding-inline: 16px;
  border: var(--theme-form-field-border-width, 1px) var(--theme-form-field-border-style, solid) var(--theme-form-field-border-initial-color, #d4ddd7);
  border-radius: var(--theme-form-field-border-radius, 16px);
  background: var(--theme-form-field-background-initial-color, #fff);
  color: var(--theme-form-text-initial-color, var(--theme-text-color));
  font-size: var(--theme-form-font-size, 18px);
  font-family: var(--theme-form-font-family, inherit);
  font-weight: var(--theme-form-font-weight, 500);
  line-height: var(--theme-form-line-height, 1.3);
}

.woocommerce-checkout .wcus-checkout-fields .select2-container .select2-selection--single {
  height: var(--theme-form-field-height, 40px);
  min-height: var(--theme-form-field-height, 40px);
  border: var(--theme-form-field-border-width, 1px) var(--theme-form-field-border-style, solid) var(--theme-form-field-border-initial-color, #d4ddd7);
  border-radius: var(--theme-form-field-border-radius, 16px);
  background: var(--theme-form-field-background-initial-color, #fff);
}

.woocommerce-checkout .wcus-checkout-fields .select2-container .select2-selection--single .select2-selection__rendered {
  line-height: calc(var(--theme-form-field-height, 54px) - 2px);
  padding-inline: 16px 40px;
  color: var(--theme-form-text-initial-color, var(--theme-text-color));
  font-size: var(--theme-form-font-size, 18px);
  font-family: var(--theme-form-font-family, inherit);
  font-weight: var(--theme-form-font-weight, 500);
}

.woocommerce-checkout .wcus-checkout-fields .select2-container .select2-selection--single .select2-selection__arrow {
  height: calc(var(--theme-form-field-height, 54px) - 2px);
  right: 10px;
}

.woocommerce-checkout .wcus-checkout-fields .select2-container--focus .select2-selection--single {
  border-color: var(--theme-form-field-border-focus-color, var(--theme-palette-color-1, #2b8f63));
  box-shadow: 0 0 0 3px rgba(43, 143, 99, 0.18);
}

.woocommerce-checkout .wcus-checkout-fields .zen-ui-select {
  line-height: var(--theme-form-line-height, 1.3);
}

.woocommerce-checkout .wcus-checkout-fields .zen-ui-select__value {
  max-height: 40px;
  display: flex;
  align-items: center;
  border: var(--theme-form-field-border-width, 1px) var(--theme-form-field-border-style, solid) var(--theme-form-field-border-initial-color, #d4ddd7);
  border-radius: var(--theme-form-field-border-radius, 16px);
  background: var(--theme-form-field-background-initial-color, #fff);
  color: var(--theme-form-text-initial-color, var(--theme-text-color));
  font-family: var(--theme-form-font-family, inherit);
  font-weight: var(--theme-form-font-weight, 500);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.woocommerce-checkout .wcus-checkout-fields .zen-ui-select__value:hover {
  background: var(--theme-form-field-background-initial-color, #fff);
}

.woocommerce-checkout .wcus-checkout-fields .zen-ui-select__value > svg {
  width: 12px;
  height: 12px;
  right: 14px;
}

.woocommerce-checkout .wcus-checkout-fields .zen-ui-select__value:focus-visible,
.woocommerce-checkout .wcus-checkout-fields .zen-ui-select.active .zen-ui-select__value {
  border-color: var(--theme-form-field-border-focus-color, var(--theme-palette-color-1, #2b8f63));
  box-shadow: 0 0 0 3px rgba(43, 143, 99, 0.18);
}

.woocommerce-checkout .wcus-checkout-fields .zen-ui-select__dropdown {
  margin-top: 6px;
  border: 1px solid var(--theme-form-field-border-initial-color, #d4ddd7);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(22, 50, 37, 0.12);
}

.woocommerce-checkout .wcus-checkout-fields .zen-ui-select__search {
  border-color: var(--theme-form-field-border-initial-color, #d4ddd7);
}

.woocommerce-checkout .wcus-checkout-fields .zen-ui-select__search-input {
  min-height: 40px;
  border-color: var(--theme-form-field-border-initial-color, #d4ddd7) !important;
  border-radius: 8px !important;
}

.woocommerce-checkout .wcus-checkout-fields .zen-ui-select__options {
  border-color: var(--theme-form-field-border-initial-color, #d4ddd7);
}

.woocommerce-checkout .wcus-checkout-fields .zen-ui-select__option {
  font-size: 16px;
  color: var(--theme-text-color, #1f3b2f);
}

/* Shipping method icon (Nova Poshta) in cart + checkout review */
.woocommerce .zk-shipping-method-label--np {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.woocommerce .zk-shipping-method-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  object-fit: contain;
  vertical-align: middle;
}

.woocommerce-checkout #customer_details .col-2 {
  margin-top: 10px;
}

.woocommerce-checkout form .form-row {
  margin: 0 0 18px;
  padding: 0;
}

.woocommerce-checkout form .form-row-first,
.woocommerce-checkout form .form-row-last {
  margin-bottom: 18px;
}

.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout .woocommerce-additional-fields {
  margin-top: 0;
}

.woocommerce-checkout .wcus-checkout-fields > h3 {
  margin: 16px 0 12px;
}

/* Checkout step headers accent */
.woocommerce-checkout .woocommerce-billing-fields > h3,
.woocommerce-checkout .wcus-checkout-fields > h3,
.woocommerce-checkout .zk-checkout-comments-heading {
  display: block;
  margin: 0 0 14px;
  padding: 10px 14px;
  border-left: 4px solid var(--theme-palette-color-1);
  background: color-mix(in srgb, var(--theme-palette-color-1) 10%, #ffffff);
  /*border-radius: 0 10px 10px 0;*/
  color: var(--theme-headings-color, var(--theme-text-color));
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}
h3#order_review_heading {
    font-size: 18px;
}
.woocommerce-checkout .wcus-checkout-fields > h3 {
  margin-top: 20px;
}

.woocommerce-checkout .zk-checkout-comments-heading {
  margin: 10px 0 14px;
}

.woocommerce-checkout #ship-to-different-address > br,
.woocommerce-checkout #ship-to-different-address label > br {
  display: none !important;
}

.woocommerce-checkout #ship-to-different-address {
  margin: 14px 0 14px;
}

.woocommerce-checkout #ship-to-different-address label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.woocommerce-checkout #order_comments_field {
  margin-top: 12px;
}

.woocommerce-checkout .woocommerce-additional-fields > p:empty {
  display: none !important;
  margin: 0 !important;
}

.woocommerce-checkout .woocommerce-additional-fields > p {
  margin: 0 0 12px;
}

.woocommerce-checkout #payment .woocommerce-privacy-policy-text {
  margin: 14px 0 10px;
  font-size: 10px;
}

.woocommerce-checkout #payment .form-row.place-order {
  margin-top: 12px;
}

.ct-woocommerce-checkout {
  padding: 0 140px;
}

[class*=ct-woocommerce] .shop_table {
  margin-bottom: 0;
}
.woocommerce-checkout-payment .place-order .woocommerce-terms-and-conditions-wrapper {
  margin-bottom: 12px;
}
.woocommerce-terms-and-conditions-checkbox-text {
  font-size: 12px;
}

.woocommerce-terms-and-conditions-wrapper .form-row.validate-required {
  margin-bottom:0;
}


@media (max-width: 767px) {
  .ct-woocommerce-checkout {
    padding: 0;
    row-gap: 18px;
  }

  .woocommerce-checkout .woocommerce-billing-fields > h3,
  .woocommerce-checkout .wcus-checkout-fields > h3,
  .woocommerce-checkout .zk-checkout-comments-heading {
    font-size: 16px;
    padding: 8px 12px;
    margin-bottom: 10px;
  }

  .woocommerce-checkout #payment .woocommerce-privacy-policy-text {
    font-size: 13px;
    line-height: 1.45;
  }

  .woocommerce-checkout #payment .place-order .button,
  .woocommerce-checkout #payment #place_order {
    width: 100%;
  }
.woocommerce-checkout-payment .form-row.place-order {
    padding: 0 25px;
  }
}

.col-2 .woocommerce-shipping-fields {
  display: none!important;
}

/* Checkout New (desktop-first, Shopify-like) */
.zk-checkout-new-page .ct-woocommerce-checkout {
  display: block !important;
  grid-template-columns: none !important;
  column-gap: 0 !important;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}

.zk-checkout-new-page .ct-woocommerce-checkout > #order_review,
.zk-checkout-new-page .ct-woocommerce-checkout > #order_review_heading {
  display: none !important;
}

.woocommerce-checkout .zk-hidden-checkout-field {
  display: none !important;
}

.woocommerce-checkout form.zk-checkout-new {
  margin: 0;
}

.woocommerce-checkout .zk-checkout-new__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  gap: 42px;
  align-items: start;
  width: 100%;
}

.woocommerce-checkout .zk-checkout-new__header {
  margin: 0 0 18px;
}

.woocommerce-checkout .zk-checkout-new__header h1 {
  margin: 0 0 18px;
  font-size: 32px;
  line-height: 1.1;
}

.woocommerce-checkout .zk-checkout-new__steps {
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.woocommerce-checkout .zk-checkout-new__steps li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--theme-border-color, #d9e5dc);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--theme-text-color);
}

.woocommerce-checkout .zk-checkout-new__steps li::before {
  content: attr(data-step-label);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef5f0;
  color: var(--theme-text-color);
  font-size: 12px;
  font-weight: 700;
}

.woocommerce-checkout .zk-checkout-new__steps li.is-active {
  border-color: var(--theme-palette-color-1);
  background: color-mix(in srgb, var(--theme-palette-color-1) 8%, #fff);
}

.woocommerce-checkout .zk-checkout-new__steps li.is-active::before {
  background: var(--theme-palette-color-1);
  color: #fff;
}

.woocommerce-checkout .zk-checkout-step {
  display: none;
  min-width: 0;
}

.woocommerce-checkout .zk-checkout-step.is-active {
  display: block;
}

.woocommerce-checkout .zk-checkout-step > h2 {
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1.2;
}

.woocommerce-checkout .zk-checkout-step__body {
  margin: 0 0 16px;
}

.woocommerce-checkout .zk-checkout-step__actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin: 12px 0 0;
}

.woocommerce-checkout .zk-checkout-step__actions .button {
  min-width: 124px;
}

.woocommerce-checkout .zk-checkout-step__body .form-row {
  margin-bottom: 14px;
}

.woocommerce-checkout .zk-checkout-step__body .form-row input.input-text,
.woocommerce-checkout .zk-checkout-step__body .form-row select,
.woocommerce-checkout .zk-checkout-step__body .form-row textarea {
  font-size: 15px;
}

.woocommerce-checkout .zk-checkout-new__source {
  display: none !important;
}

.woocommerce-checkout form.zk-checkout-new #order_review_heading {
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1.2;
}

.woocommerce-checkout form.zk-checkout-new #order_review {
  position: sticky;
  top: 22px;
  border: 1px solid var(--theme-border-color, #d9e5dc);
  border-radius: 14px;
  padding: 22px;
  background: #fff;
}

.woocommerce-checkout form.zk-checkout-new #order_review .shop_table {
  margin: 0;
}

.woocommerce-checkout form.zk-checkout-new #payment {
  margin-top: 14px;
}

.woocommerce-checkout form.zk-checkout-new.is-step-1 #place_order {
  opacity: 0.45;
  pointer-events: none;
}

@media (max-width: 1240px) {
  .woocommerce-checkout .zk-checkout-new__layout {
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 30px;
  }
}

@media (max-width: 1024px) {
  .zk-checkout-new-page .ct-woocommerce-checkout {
    padding-inline: 14px;
  }

  .woocommerce-checkout .zk-checkout-new__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .woocommerce-checkout form.zk-checkout-new #order_review {
    position: static;
  }
}

/* Desktop custom cart modal */
@media (min-width: 1025px) {
  body.zk-desktop-cart-modal-enabled .ct-header-cart .ct-cart-content {
    display: none !important;
  }

  body.zk-cart-modal-open {
    overflow: visible;
  }

  .zk-cart-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 22px;
  }

  .zk-cart-modal.is-open {
    display: flex;
  }

  .zk-cart-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
  }

  .zk-cart-modal__dialog {
    position: relative;
    width: min(1060px, 100%);
    max-height: calc(100vh - 44px);
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.24);
  }

  .zk-cart-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    font-size: 32px;
    line-height: 1;
    color: #1f2b27;
    cursor: pointer;
  }

  .zk-cart-modal__content {
    border-radius: inherit;
    max-height: calc(100vh - 44px);
    overflow-y: auto;
    padding: 20px 30px 26px;
  }

  .zk-cart-modal-panel__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 12px;
  }


  .zk-cart-modal-panel__cols {
    display: grid;
    grid-template-columns: 164px 116px;
    gap: 16px;
    color: var(--theme-text-color, #707e78);
    font-size: var(--theme-font-size, 16px);
    font-weight: var(--theme-font-weight, 400);
    line-height: var(--theme-line-height, 1.6);
    opacity: 0.78;
  }

  .zk-cart-modal-panel__cols span:last-child {
    text-align: right;
  }

  .zk-cart-modal-items {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
  }

  .zk-cart-modal-item {
    display: grid;
    grid-template-columns: 24px 84px minmax(300px, 1fr) 164px 116px;
    gap: 12px;
    align-items: center;
    border: 1px solid #e4ebe7;
    border-radius: 10px;
    padding: 10px 14px;
  }

  .zk-cart-modal-item__remove {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .zk-cart-modal-item__media img {
    width: 82px;
    height: 82px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
  }

  .zk-cart-modal-item__main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .zk-cart-modal-item__title {
    margin: 0 0 4px;
    font-family: var(--theme-font-family, inherit);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: normal;
    text-transform: none;
    overflow-wrap: normal;
    word-break: normal;
    word-wrap: normal;
    white-space: normal;
    hyphens: none;
  }

  .zk-cart-modal-item__title a {
    display: block;
    font-size: inherit;
    color: inherit;
    text-decoration: none;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  .zk-cart-modal-item__unit-price {
    color: var(--theme-text-color, #1f2b27);
    font-size: 15px;
    line-height: 1.4;
  }

  .zk-cart-modal-item__unit-price del {
    color: #97a49e;
    margin-right: 10px;
  }

  .zk-cart-modal-item__unit-price ins {
    text-decoration: none;
  }

  .zk-cart-modal-item__qty {
    display: grid;
    gap: 0;
    justify-items: start;
    align-content: center;
  }

  .zk-cart-modal-qty {
    display: inline-flex;
    align-items: center;
    min-width: 116px;
    border: 1px solid #d7dfda;
    border-radius: 999px;
    overflow: hidden;
  }

  .zk-cart-modal-qty__btn {
    width: 34px;
    height: 34px;
    border: 0;
    background: #fff;
    font-size: 22px;
    color: #1f2b27;
    cursor: pointer;
    line-height: 1;
  }

  .zk-cart-modal-qty__btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
  }

  .zk-cart-modal-qty__value {
    min-width: 46px;
    text-align: center;
    font-size: var(--theme-font-size, 16px);
    line-height: 1;
    color: #1f2b27;
    font-weight: 600;
  }

  .zk-cart-modal-remove {
    width: 22px;
    height: 22px;
    border: 0;
    border-radius: 0;
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M9.6 0v1.2H1.2v2.4h21.6V1.2h-8.4V0H9.6zM2.8 6l1.8 15.9A2.4 2.4 0 0 0 7 24h10a2.4 2.4 0 0 0 2.4-2.1L21.2 6H2.8z' fill='%234fa62b'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px 16px;
    cursor: pointer;
    font-size: 0;
    line-height: 0;
    padding: 0;
    transition: background-color 0.2s ease, transform 0.2s ease;
  }

  .zk-cart-modal-remove:hover {
    background-color: transparent;
    transform: translateY(-1px);
  }

  .zk-cart-modal-item__sum {
    text-align: right;
    font-weight: 700;
    font-size: 16px;
    color: var(--theme-headings-color, #111);
  }

  .zk-cart-modal-footer {
    margin-top: 14px;
    border: 1px solid #e4ebe7;
    border-radius: 12px;
    padding: 16px 18px;
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 20px;
  }

  .zk-cart-modal-continue {
    color: #1f2b27;
    font-size: 16px;
    text-decoration: none;
  }

  .zk-cart-modal-total {
    display: grid;
    gap: 4px;
    text-align: right;
  }

  .zk-cart-modal-total span {
    font-size: 19px;
    font-weight: 800;
    color: var(--theme-headings-color);
  }

  .zk-cart-modal-total strong {
    font-size: 16px;
    line-height: 1;
    color: #111;
  }

  .zk-cart-modal-checkout.button {
    min-height: 52px;
    border-radius: 999px;
    padding: 0 26px;
    font-size: 16px;
    line-height: 52px;
  }

  .zk-cart-modal-empty {
    padding: 30px 4px 10px;
  }

  .zk-cart-modal-empty p {
    font-size: 20px;
    margin: 0 0 16px;
  }

  .zk-cart-modal-cross {
    margin-top: 22px;
  }

  .zk-cart-modal-cross h3 {
    margin: 0 0 12px;
    font-size: 24px;
    line-height: 1.2;
  }

  .zk-cart-modal-cross__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    overflow: visible;
    padding: 0;
  }

  .zk-cart-modal-cross__item {
    border: 1px solid #e4ebe7;
    border-radius: 10px;
    padding: 10px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: auto;
    gap: 8px;
    align-content: start;
    min-width: 0;
    overflow: hidden;
  }

  .zk-cart-modal-cross__thumb img {
    width: 100%;
    height: 170px;
    aspect-ratio: auto;
    object-fit: cover;
    border-radius: 6px;
    display: block;
  }

  .zk-cart-modal-cross__item h4 {
    margin: 0;
    font-size: 16px;
    line-height: 1.25;
    min-height: 42px;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
    hyphens: none;
  }

  .zk-cart-modal-cross__item h4 a {
    display: block;
    max-width: 100%;
    color: inherit;
    text-decoration: none;
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
  }

  .zk-cart-modal-cross__price {
    font-size: 15px;
    font-weight: 600;
  }

  .zk-cart-modal-cross__action .button {
    min-height: 38px;
    line-height: 38px;
    border-radius: 999px;
    padding: 0 16px;
    font-size: 15px;
  }

  .zk-cart-modal-cross__action .added_to_cart {
    display: none !important;
  }

  .zk-cart-modal.is-loading .zk-cart-modal__content {
    pointer-events: none;
    min-height: 260px;
    position: relative;
  }

  .zk-cart-modal.is-loading .zk-cart-modal__content::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 34px;
    height: 34px;
    margin-top: -17px;
    margin-left: -17px;
    border-radius: 50%;
    border: 3px solid rgba(79, 166, 43, 0.22);
    border-top-color: #4fa62b;
    animation: zk-cart-modal-spin 0.7s linear infinite;
  }

  @keyframes zk-cart-modal-spin {
    to {
      transform: rotate(360deg);
    }
  }
}

@media (max-width: 1024px) {
  .zk-cart-modal {
    display: none !important;
  }
}
