/* MIRLINKS Shop Experience
 * Page-scoped presentation only. Product content and WooCommerce data remain untouched.
 */

body.post-type-archive-product,
body.tax-product_cat,
body.tax-product_tag {
  --zc-shop-ink: #18202e;
  --zc-shop-ink-soft: #525a68;
  --zc-shop-pearl: #f7f5f2;
  --zc-shop-paper: #fffefa;
  --zc-shop-lilac: #cbc5eb;
  --zc-shop-lilac-strong: #9e94d8;
  --zc-shop-silver: #d9dce4;
  --zc-shop-blue: #93a7c8;
  --zc-shop-line: rgba(24, 32, 46, 0.11);
  --zc-shop-shadow: 0 24px 70px rgba(31, 39, 58, 0.1);
  background:
    radial-gradient(circle at 8% 8%, rgba(203, 197, 235, 0.17), transparent 26rem),
    radial-gradient(circle at 90% 20%, rgba(147, 167, 200, 0.12), transparent 30rem),
    #f8f7fa !important;
  color: var(--zc-shop-ink);
}

body.post-type-archive-product main,
body.tax-product_cat main,
body.tax-product_tag main {
  min-width: 0;
}

body.post-type-archive-product .site-main,
body.tax-product_cat .site-main,
body.tax-product_tag .site-main {
  padding-bottom: clamp(70px, 9vw, 130px);
}

.zc-shop-x-hero {
  isolation: isolate;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  gap: clamp(18px, 2vw, 28px);
  min-height: 80px;
  width: min(calc(100% - 30px), 1290px);
  margin: 4px auto 10px;
  padding: 8px clamp(20px, 2.4vw, 30px);
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  background:
    linear-gradient(132deg, rgba(255, 254, 250, 0.98) 0%, rgba(244, 241, 250, 0.94) 54%, rgba(231, 235, 244, 0.95) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 34px 90px rgba(34, 40, 64, 0.11);
}

.zc-shop-x-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  border-radius: inherit;
  opacity: 0.34;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.zc-shop-x-hero::after {
  content: 'MIRLINKS';
  position: absolute;
  right: 30px;
  bottom: 10px;
  z-index: -1;
  color: rgba(24, 32, 46, 0.055);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(42px, 6vw, 84px);
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 0.8;
  pointer-events: none;
}

.zc-shop-x-hero__atmosphere {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}

.zc-shop-x-orbit {
  position: absolute;
  display: block;
  border: 1px solid rgba(126, 132, 163, 0.17);
  border-radius: 50%;
  transform: rotate(-19deg);
}

.zc-shop-x-orbit--one {
  right: -80px;
  top: -250px;
  width: 360px;
  height: 360px;
}

.zc-shop-x-orbit--two {
  right: 40px;
  top: -150px;
  width: 220px;
  height: 220px;
  border-color: rgba(158, 148, 216, 0.22);
}

.zc-shop-x-gem {
  position: absolute;
  right: clamp(28px, 7vw, 100px);
  top: 12px;
  width: 48px;
  height: 66px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 52% 48% 56% 44% / 45% 51% 49% 55%;
  background:
    radial-gradient(circle at 34% 26%, rgba(255, 255, 255, 0.95), transparent 18%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.7), rgba(186, 179, 226, 0.55) 48%, rgba(112, 132, 169, 0.45));
  box-shadow:
    inset 12px 8px 24px rgba(255, 255, 255, 0.5),
    0 22px 60px rgba(88, 83, 128, 0.17);
  transform: rotate(28deg);
}

.zc-shop-x-hero__copy,
.zc-shop-x-discovery {
  align-self: center;
  min-width: 0;
}

.zc-shop-x-eyebrow,
.zc-shop-x-drawer__header p,
.zc-shop-x-preview__eyebrow {
  margin: 0 0 6px;
  color: #70688e;
  font-family: 'Montserrat', 'Avenir Next', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-transform: uppercase;
}

.zc-shop-x-hero h2 {
  max-width: none;
  margin: 0;
  color: var(--zc-shop-ink);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(30px, 2.6vw, 38px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.9;
  text-wrap: balance;
}

.zc-shop-x-hero h2 em {
  color: #756c9e;
  font-weight: 500;
}

.zc-shop-x-lede {
  display: none;
}

.zc-shop-x-discovery {
  position: relative;
  z-index: 5;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 20px 50px rgba(33, 40, 65, 0.1);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
}

.zc-shop-x-search {
  position: relative;
  margin: 0;
}

.zc-shop-x-search > label {
  display: block;
  margin-bottom: 6px;
  color: var(--zc-shop-ink);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.zc-shop-x-search__field {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 4px 4px 4px 14px;
  border: 1px solid var(--zc-shop-line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.9);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.zc-shop-x-search__field:focus-within {
  border-color: rgba(117, 108, 158, 0.62);
  box-shadow: 0 0 0 4px rgba(158, 148, 216, 0.13);
}

.zc-shop-x-search__icon {
  position: relative;
  width: 15px;
  height: 15px;
  border: 1.7px solid var(--zc-shop-ink);
  border-radius: 50%;
}

.zc-shop-x-search__icon::after {
  content: '';
  position: absolute;
  right: -5px;
  bottom: -3px;
  width: 6px;
  height: 1.7px;
  border-radius: 999px;
  background: var(--zc-shop-ink);
  transform: rotate(45deg);
}

.zc-shop-x-search__field input[type='search'] {
  width: 100%;
  min-width: 0;
  height: 34px;
  padding: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--zc-shop-ink) !important;
  font-size: 12px !important;
}

.zc-shop-x-search__field input::placeholder {
  color: #8d919b;
}

.zc-shop-x-search__field button {
  min-height: 34px;
  padding: 0 15px;
  border: 0;
  border-radius: 10px;
  background: var(--zc-shop-ink);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease;
}

.zc-shop-x-search__field button:hover,
.zc-shop-x-search__field button:focus-visible {
  background: #30394a;
  outline: 0;
  transform: translateY(-1px);
}

.zc-shop-x-search-results {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  left: 0;
  z-index: 80;
  max-height: min(430px, 68vh);
  overflow-y: auto;
  padding: 8px;
  border: 1px solid var(--zc-shop-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.985);
  box-shadow: 0 24px 70px rgba(24, 32, 46, 0.2);
}

.zc-shop-x-search-result {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  min-height: 72px;
  padding: 7px;
  border-radius: 13px;
  color: var(--zc-shop-ink) !important;
  text-decoration: none !important;
}

.zc-shop-x-search-result:hover,
.zc-shop-x-search-result:focus-visible {
  outline: 0;
  background: #f2f0f7;
}

.zc-shop-x-search-result img {
  width: 58px;
  height: 58px;
  border-radius: 10px;
  object-fit: cover;
}

.zc-shop-x-search-result span,
.zc-shop-x-search-result strong,
.zc-shop-x-search-result small {
  display: block;
  min-width: 0;
}

.zc-shop-x-search-result strong {
  overflow: hidden;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.zc-shop-x-search-result small {
  margin-top: 4px;
  color: #6e7480;
  font-size: 12px;
}

.zc-shop-x-search-results__status,
.zc-shop-x-search-results__all {
  display: block;
  margin: 0;
  padding: 14px 12px;
  color: var(--zc-shop-ink-soft);
  font-size: 12px;
  line-height: 1.55;
  text-decoration: none !important;
}

.zc-shop-x-search-results__all {
  margin-top: 6px;
  border-radius: 12px;
  background: var(--zc-shop-ink);
  color: #fff !important;
  font-weight: 700;
  text-align: center;
}

.zc-shop-x-hero__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 8px;
}

.zc-shop-x-hero__links a {
  color: var(--zc-shop-ink) !important;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none !important;
  text-transform: uppercase;
}

.zc-shop-x-hero__links a span {
  display: inline-block;
  margin-left: 4px;
  transition: transform 180ms ease;
}

.zc-shop-x-hero__links a:hover span,
.zc-shop-x-hero__links a:focus-visible span {
  transform: translate(2px, -2px);
}

.zc-shop-x-mobile-tools {
  display: none;
  width: min(calc(100% - 30px), 1380px);
}

.zc-shop-x-wishlist-summary--desktop {
  display: none;
}

@media (min-width: 1000px) {
  .zc-shop-x-wishlist-summary--desktop {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    margin: 0 12px 0 auto;
    padding: 0 13px;
    border: 1px solid rgba(72, 66, 95, 0.16);
    border-radius: 999px;
    background: #f2eff8;
    color: #48425f;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.07em;
    line-height: 1;
    text-transform: uppercase;
    cursor: pointer;
    transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease, transform 180ms ease;
  }

  .zc-shop-x-wishlist-summary--desktop:hover,
  .zc-shop-x-wishlist-summary--desktop:focus-visible {
    outline: 0;
    border-color: rgba(72, 66, 95, 0.34);
    background: #eae5f4;
    transform: translateY(-1px);
  }

  .zc-shop-x-wishlist-summary--desktop > span:first-child {
    color: #8f5472;
    font-size: 16px;
    line-height: 1;
  }

  .zc-shop-x-wishlist-summary--desktop b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 21px;
    height: 21px;
    padding: 0 5px;
    border-radius: 999px;
    background: #fff;
    color: #48425f;
    font-size: 9px;
  }

  .zc-shop-x-wishlist-summary--desktop[aria-pressed="true"] {
    border-color: #272e3d;
    background: #272e3d;
    color: #fff;
  }
}

/* Product grid: existing titles, descriptions, prices, imagery and taxonomy remain untouched. */
body.post-type-archive-product ul.products,
body.tax-product_cat ul.products,
body.tax-product_tag ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(18px, 2.5vw, 30px) !important;
}

body.post-type-archive-product ul.products li.product[hidden],
body.tax-product_cat ul.products li.product[hidden],
body.tax-product_tag ul.products li.product[hidden] {
  display: none !important;
}

body.post-type-archive-product .ct-pagination[hidden],
body.tax-product_cat .ct-pagination[hidden],
body.tax-product_tag .ct-pagination[hidden] {
  display: none !important;
}

body.post-type-archive-product ul.products li.product,
body.tax-product_cat ul.products li.product,
body.tax-product_tag ul.products li.product {
  isolation: isolate;
  position: relative;
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  padding: 0 0 20px !important;
  overflow: hidden;
  border: 1px solid rgba(24, 32, 46, 0.08) !important;
  border-radius: 24px !important;
  background: rgba(255, 255, 255, 0.92) !important;
  box-shadow: 0 15px 44px rgba(34, 41, 61, 0.075) !important;
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

body.post-type-archive-product ul.products li.product:hover,
body.tax-product_cat ul.products li.product:hover,
body.tax-product_tag ul.products li.product:hover {
  z-index: 2;
  border-color: rgba(117, 108, 158, 0.2) !important;
  box-shadow: 0 28px 70px rgba(34, 41, 61, 0.14) !important;
  transform: translateY(-5px);
}

body.post-type-archive-product ul.products li.product figure,
body.tax-product_cat ul.products li.product figure,
body.tax-product_tag ul.products li.product figure,
body.post-type-archive-product ul.products li.product .ct-media-container,
body.tax-product_cat ul.products li.product .ct-media-container,
body.tax-product_tag ul.products li.product .ct-media-container {
  position: relative;
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  margin: 0 0 18px !important;
  overflow: hidden;
  border-radius: 23px 23px 0 0 !important;
  background: #eeedf1;
}

body.post-type-archive-product ul.products li.product figure > .ct-media-container,
body.tax-product_cat ul.products li.product figure > .ct-media-container,
body.tax-product_tag ul.products li.product figure > .ct-media-container {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 1 / 1 !important;
  margin: 0 !important;
  border-radius: inherit !important;
}

body.post-type-archive-product ul.products li.product figure img,
body.tax-product_cat ul.products li.product figure img,
body.tax-product_tag ul.products li.product figure img,
body.post-type-archive-product ul.products li.product .ct-media-container img,
body.tax-product_cat ul.products li.product .ct-media-container img,
body.tax-product_tag ul.products li.product .ct-media-container img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  display: block !important;
  transition: none !important;
}

body.post-type-archive-product ul.products li.product:hover figure img,
body.tax-product_cat ul.products li.product:hover figure img,
body.tax-product_tag ul.products li.product:hover figure img {
  transform: none !important;
}

body.post-type-archive-product ul.products li.product .onsale,
body.tax-product_cat ul.products li.product .onsale,
body.tax-product_tag ul.products li.product .onsale {
  top: 14px !important;
  right: auto !important;
  left: 14px !important;
  z-index: 5;
  min-width: 0 !important;
  min-height: 30px !important;
  padding: 7px 11px !important;
  border: 1px solid rgba(255, 255, 255, 0.75) !important;
  border-radius: 999px !important;
  background: rgba(248, 245, 238, 0.92) !important;
  box-shadow: 0 8px 22px rgba(24, 32, 46, 0.12) !important;
  color: #705c40 !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em !important;
  line-height: 1.2 !important;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

body.post-type-archive-product ul.products li.product .woocommerce-loop-product__title,
body.tax-product_cat ul.products li.product .woocommerce-loop-product__title,
body.tax-product_tag ul.products li.product .woocommerce-loop-product__title,
body.post-type-archive-product ul.products li.product .price,
body.tax-product_cat ul.products li.product .price,
body.tax-product_tag ul.products li.product .price,
body.post-type-archive-product ul.products li.product .product-categories,
body.tax-product_cat ul.products li.product .product-categories,
body.tax-product_tag ul.products li.product .product-categories,
body.post-type-archive-product ul.products li.product > .button,
body.tax-product_cat ul.products li.product > .button,
body.tax-product_tag ul.products li.product > .button {
  margin-right: 18px !important;
  margin-left: 18px !important;
}

body.post-type-archive-product ul.products li.product .woocommerce-loop-product__title,
body.tax-product_cat ul.products li.product .woocommerce-loop-product__title,
body.tax-product_tag ul.products li.product .woocommerce-loop-product__title {
  order: initial;
  margin-top: 0 !important;
}

body.post-type-archive-product ul.products li.product .woocommerce-loop-product__title a,
body.tax-product_cat ul.products li.product .woocommerce-loop-product__title a,
body.tax-product_tag ul.products li.product .woocommerce-loop-product__title a {
  display: block !important;
  min-height: 4.35em !important;
  max-height: 4.35em !important;
  margin: 0 !important;
  padding-right: 5px;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  color: var(--zc-shop-ink) !important;
  font-family: 'Montserrat', 'Avenir Next', sans-serif !important;
  font-size: clamp(12px, 1vw, 14px) !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  line-height: 1.45 !important;
  scrollbar-color: rgba(24, 32, 46, 0.28) transparent;
  scrollbar-width: thin;
  touch-action: pan-y;
  -webkit-box-orient: initial !important;
  -webkit-line-clamp: unset !important;
  -webkit-overflow-scrolling: touch;
}

body.post-type-archive-product ul.products li.product .woocommerce-loop-product__title a::-webkit-scrollbar,
body.tax-product_cat ul.products li.product .woocommerce-loop-product__title a::-webkit-scrollbar,
body.tax-product_tag ul.products li.product .woocommerce-loop-product__title a::-webkit-scrollbar {
  width: 4px;
}

body.post-type-archive-product ul.products li.product .woocommerce-loop-product__title a::-webkit-scrollbar-thumb,
body.tax-product_cat ul.products li.product .woocommerce-loop-product__title a::-webkit-scrollbar-thumb,
body.tax-product_tag ul.products li.product .woocommerce-loop-product__title a::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(24, 32, 46, 0.28);
}

body.post-type-archive-product ul.products li.product .price,
body.tax-product_cat ul.products li.product .price,
body.tax-product_tag ul.products li.product .price {
  margin-top: 2px !important;
  margin-bottom: 11px !important;
  color: var(--zc-shop-ink) !important;
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: 19px !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em;
}

body.post-type-archive-product ul.products li.product .price del,
body.tax-product_cat ul.products li.product .price del,
body.tax-product_tag ul.products li.product .price del {
  color: #9296a0 !important;
  font-size: 13px !important;
}

body.post-type-archive-product ul.products li.product .product-categories,
body.tax-product_cat ul.products li.product .product-categories,
body.tax-product_tag ul.products li.product .product-categories {
  display: none !important;
}

body.post-type-archive-product ul.products li.product > .entry-meta,
body.tax-product_cat ul.products li.product > .entry-meta,
body.tax-product_tag ul.products li.product > .entry-meta {
  display: none !important;
}

body.post-type-archive-product ul.products li.product > .ct-woo-card-actions,
body.tax-product_cat ul.products li.product > .ct-woo-card-actions,
body.tax-product_tag ul.products li.product > .ct-woo-card-actions {
  position: static !important;
  inset: auto !important;
  z-index: auto !important;
  display: none !important;
  width: auto !important;
  height: auto !important;
  min-height: 48px !important;
  margin: auto 18px 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: none !important;
}

body.post-type-archive-product ul.products li.product > .ct-woo-card-actions .button,
body.tax-product_cat ul.products li.product > .ct-woo-card-actions .button,
body.tax-product_tag ul.products li.product > .ct-woo-card-actions .button {
  position: static !important;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100% !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 0 16px !important;
  border: 1px solid var(--zc-shop-ink) !important;
  border-radius: 14px !important;
  background: var(--zc-shop-ink) !important;
  box-shadow: 0 8px 20px rgba(24, 32, 46, 0.12) !important;
  color: #fff !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  letter-spacing: 0.1em !important;
  line-height: 1.2 !important;
  text-align: left;
  text-transform: uppercase;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease !important;
}

body.post-type-archive-product ul.products li.product > .ct-woo-card-actions .button::after,
body.tax-product_cat ul.products li.product > .ct-woo-card-actions .button::after,
body.tax-product_tag ul.products li.product > .ct-woo-card-actions .button::after {
  content: '\2197';
  flex: 0 0 auto;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
}

body.post-type-archive-product ul.products li.product > .ct-woo-card-actions .button:hover,
body.post-type-archive-product ul.products li.product > .ct-woo-card-actions .button:focus-visible,
body.tax-product_cat ul.products li.product > .ct-woo-card-actions .button:hover,
body.tax-product_cat ul.products li.product > .ct-woo-card-actions .button:focus-visible,
body.tax-product_tag ul.products li.product > .ct-woo-card-actions .button:hover,
body.tax-product_tag ul.products li.product > .ct-woo-card-actions .button:focus-visible {
  outline: 0;
  border-color: #3b4558 !important;
  background: #3b4558 !important;
  box-shadow: 0 11px 24px rgba(24, 32, 46, 0.18) !important;
  transform: translateY(-1px) !important;
}

.zc-shop-x-wishlist {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 12;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 9px 24px rgba(24, 32, 46, 0.14);
  color: var(--zc-shop-ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.zc-shop-x-wishlist:hover,
.zc-shop-x-wishlist:focus-visible {
  outline: 0;
  background: #fff;
  transform: scale(1.06);
}

.zc-shop-x-wishlist.is-saved {
  background: #272e3d;
  color: #f2bfd0;
}

.zc-shop-x-quick-view {
  display: none !important;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: calc(100% - 36px);
  min-height: 48px;
  margin: 8px 18px 0;
  padding: 0 16px;
  border: 1px solid rgba(24, 32, 46, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--zc-shop-ink);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.zc-shop-x-quick-view:hover,
.zc-shop-x-quick-view:focus-visible {
  outline: 0;
  border-color: rgba(24, 32, 46, 0.32);
  background: #f5f3f8;
  color: var(--zc-shop-ink);
  transform: translateY(-1px);
}

body.post-type-archive-product ul.products li.product > .button,
body.tax-product_cat ul.products li.product > .button,
body.tax-product_tag ul.products li.product > .button {
  display: none !important;
  align-items: center;
  justify-content: center;
  min-height: 42px !important;
  margin-top: 8px !important;
  padding: 10px 12px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: #ebe8f5 !important;
  color: #3f3a59 !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-align: center;
  text-transform: uppercase;
}

body.post-type-archive-product .woocommerce-result-count,
body.tax-product_cat .woocommerce-result-count,
body.tax-product_tag .woocommerce-result-count {
  color: #757b87;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

body.post-type-archive-product .woocommerce-ordering select,
body.tax-product_cat .woocommerce-ordering select,
body.tax-product_tag .woocommerce-ordering select {
  min-height: 46px;
  padding: 0 44px 0 16px !important;
  border: 1px solid var(--zc-shop-line) !important;
  border-radius: 13px !important;
  background-color: rgba(255, 255, 255, 0.9) !important;
  color: var(--zc-shop-ink) !important;
  font-size: 11px !important;
  font-weight: 700;
}

/* Shared overlay, filter drawer and Quick View */
.zc-shop-x-lock {
  overflow: hidden !important;
}

.zc-shop-x-overlay {
  position: fixed;
  inset: 0;
  z-index: 100020;
  background: rgba(14, 18, 28, 0.48);
  opacity: 0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: opacity 220ms ease;
}

.zc-shop-x-overlay.is-visible {
  opacity: 1;
}

.zc-shop-x-filter-drawer,
.zc-shop-x-dialog {
  position: fixed;
  z-index: 100030;
  visibility: hidden;
  background: var(--zc-shop-paper);
  opacity: 0;
  transition: transform 260ms cubic-bezier(0.2, 0.7, 0.2, 1), opacity 220ms ease, visibility 220ms ease;
}

.zc-shop-x-filter-drawer {
  top: var(--zc-shop-drawer-top, 0px);
  right: 0;
  bottom: 0;
  width: min(440px, 94vw);
  padding: max(22px, env(safe-area-inset-top)) 22px max(24px, env(safe-area-inset-bottom));
  overflow: hidden;
  box-shadow: -30px 0 90px rgba(17, 22, 36, 0.22);
  transform: translateX(102%);
}

.zc-shop-x-overlay.is-filter-visible {
  top: var(--zc-shop-drawer-top, 0px);
}

.zc-shop-x-filter-drawer.is-open,
.zc-shop-x-dialog.is-open {
  visibility: visible;
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

.zc-shop-x-drawer__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--zc-shop-line);
}

.zc-shop-x-drawer__header p {
  margin-bottom: 6px;
}

.zc-shop-x-drawer__header h2 {
  margin: 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.zc-shop-x-drawer__close,
.zc-shop-x-dialog__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--zc-shop-line);
  border-radius: 50%;
  background: #fff;
  color: var(--zc-shop-ink);
  font-size: 26px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
}

.zc-shop-x-drawer__body {
  height: calc(100% - 88px);
  padding-top: 20px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.zc-shop-x-drawer__body .ct-sidebar,
.zc-shop-x-drawer__body .zc-shop-filters {
  display: grid !important;
}

.zc-shop-x-drawer__body .zc-shop-filter-panel {
  box-shadow: none;
}

.zc-shop-x-dialog {
  top: 50%;
  left: 50%;
  width: min(1020px, calc(100vw - 40px));
  max-height: min(760px, calc(100vh - 40px));
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 30px;
  box-shadow: 0 40px 120px rgba(14, 18, 28, 0.35);
  transform: translate(-50%, calc(-50% + 20px)) scale(0.985);
}

.zc-shop-x-dialog.is-open {
  transform: translate(-50%, -50%) scale(1);
}

.zc-shop-x-dialog__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 4;
}

.zc-shop-x-dialog__loading,
.zc-shop-x-dialog__error {
  display: grid;
  place-items: center;
  min-height: 320px;
  padding: 40px;
  color: var(--zc-shop-ink-soft);
  text-align: center;
}

.zc-shop-x-dialog__error a {
  display: inline-flex;
  margin-top: 16px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--zc-shop-ink);
  color: #fff !important;
  text-decoration: none !important;
}

.zc-shop-x-preview {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  min-height: 560px;
}

.zc-shop-x-preview__media {
  width: 100%;
  min-height: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #ecebf0;
}

.zc-shop-x-preview__media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.zc-shop-x-preview__copy {
  align-self: center;
  padding: clamp(42px, 6vw, 80px);
}

.zc-shop-x-preview__copy h2 {
  margin: 0;
  color: var(--zc-shop-ink);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(32px, 3.3vw, 45px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.zc-shop-x-preview__price {
  margin-top: 22px;
  color: var(--zc-shop-ink);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 24px;
  font-weight: 600;
}

.zc-shop-x-preview__summary {
  max-height: 150px;
  margin-top: 20px;
  overflow: auto;
  color: var(--zc-shop-ink-soft);
  font-size: 13px;
  line-height: 1.75;
}

.zc-shop-x-preview__summary > :last-child {
  margin-bottom: 0;
}

.zc-shop-x-preview__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 30px;
}

.zc-shop-x-preview__actions a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 15px !important;
  border: 1px solid var(--zc-shop-line) !important;
  border-radius: 13px !important;
  background: transparent !important;
  color: var(--zc-shop-ink) !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-align: center;
  text-decoration: none !important;
  text-transform: uppercase;
}

.zc-shop-x-preview__actions .zc-shop-x-preview__buy {
  border-color: var(--zc-shop-ink) !important;
  background: var(--zc-shop-ink) !important;
  color: #fff !important;
}

.zc-shop-x-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 100050;
  max-width: min(340px, calc(100vw - 40px));
  padding: 13px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(24, 32, 46, 0.94);
  box-shadow: 0 18px 50px rgba(14, 18, 28, 0.24);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.zc-shop-x-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 1000px) {
  body.post-type-archive-product .site-main > .ct-container,
  body.tax-product_cat .site-main > .ct-container,
  body.tax-product_tag .site-main > .ct-container {
    padding-top: 10px !important;
  }

  body.post-type-archive-product .woo-listing-top,
  body.tax-product_cat .woo-listing-top,
  body.tax-product_tag .woo-listing-top {
    margin-bottom: 14px !important;
  }

  .zc-shop-x-eyebrow {
    margin-bottom: 2px;
    font-size: 7px;
  }

  .zc-shop-x-hero h2 {
    white-space: nowrap;
  }

  .zc-shop-x-hero h2 br {
    display: none;
  }

  .zc-shop-x-discovery {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 6px 7px;
    border-radius: 14px;
  }

  .zc-shop-x-search > label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .zc-shop-x-search__field {
    min-height: 38px;
  }

  .zc-shop-x-search__field input[type='search'],
  .zc-shop-x-search__field button {
    min-height: 30px;
    height: 30px;
  }

  .zc-shop-x-hero__links {
    flex-wrap: nowrap;
    gap: 12px;
    margin-top: 0;
    padding-right: 5px;
    white-space: nowrap;
  }

  .zc-shop-x-gem {
    top: 17px;
    right: 30px;
    width: 32px;
    height: 44px;
    opacity: 0.58;
  }

  .zc-shop-x-hero::after {
    display: none;
  }

}

@media (max-width: 1280px) {
  body.post-type-archive-product ul.products,
  body.tax-product_cat ul.products,
  body.tax-product_tag ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 999px) {
  .zc-shop-x-wishlist-summary--desktop {
    display: none !important;
  }

  .zc-shop-x-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    margin-top: 6px;
  }

  .zc-shop-x-discovery {
    max-width: 660px;
  }

  .zc-shop-x-mobile-tools {
    position: sticky;
    top: 12px;
    z-index: 50;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 9px;
    margin: 0 auto 8px;
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, 0.88);
    border-radius: 16px;
    background: rgba(248, 247, 250, 0.88);
    box-shadow: 0 14px 42px rgba(28, 35, 53, 0.12);
    backdrop-filter: blur(16px) saturate(135%);
    -webkit-backdrop-filter: blur(16px) saturate(135%);
  }

  body.admin-bar .zc-shop-x-mobile-tools {
    top: 58px;
  }

  .zc-shop-x-filter-trigger,
  .zc-shop-x-wishlist-summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    padding: 0 15px;
    border: 0;
    border-radius: 11px;
    background: var(--zc-shop-ink);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .zc-shop-x-filter-trigger__icon {
    width: 15px;
    height: 12px;
    background:
      linear-gradient(#fff, #fff) 0 1px / 15px 1px no-repeat,
      linear-gradient(#fff, #fff) 0 6px / 15px 1px no-repeat,
      linear-gradient(#fff, #fff) 0 11px / 15px 1px no-repeat;
  }

  .zc-shop-x-wishlist-summary {
    min-width: 88px;
    background: #ece9f5;
    color: #48425f;
  }

  .zc-shop-x-wishlist-summary.has-items > span:first-child {
    color: #8f5472;
  }

  .zc-shop-x-wishlist-summary[aria-pressed="true"] {
    background: #272e3d;
    color: #fff;
    box-shadow: 0 8px 20px rgba(39, 46, 61, 0.22);
  }

  .zc-shop-x-wishlist-summary b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    background: #fff;
    font-size: 9px;
  }

  .zc-shop-x-mobile-tools .woocommerce-ordering {
    position: relative;
    display: block;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    margin: 0 !important;
    overflow: hidden;
    border: 1px solid rgba(24, 32, 46, 0.08);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.9);
  }

  .zc-shop-x-mobile-tools .woocommerce-ordering select {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    min-height: 44px;
    margin: 0;
    padding: 0 !important;
    cursor: pointer;
    opacity: 0;
  }

  .zc-shop-x-mobile-tools .woocommerce-ordering .ct-sort-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin: 0;
    color: var(--zc-shop-ink);
    pointer-events: none;
    transform: translate(-50%, -50%);
  }

  body.post-type-archive-product .woo-listing-top.is-ordering-moved,
  body.tax-product_cat .woo-listing-top.is-ordering-moved,
  body.tax-product_tag .woo-listing-top.is-ordering-moved {
    display: none !important;
  }

  body.post-type-archive-product .ct-sidebar,
  body.tax-product_cat .ct-sidebar,
  body.tax-product_tag .ct-sidebar {
    display: none !important;
  }

  .zc-shop-x-preview {
    grid-template-columns: 1fr 1fr;
  }
}

/* MIRLINKS Product Detail Experience
 * Amazon-inspired conversion hierarchy, expressed through a refined jewelry
 * editorial system. Every rule is scoped to WooCommerce product detail pages.
 */
body.single-product {
  --zc-pdp-ink: #1d2230;
  --zc-pdp-muted: #646a75;
  --zc-pdp-paper: #fffefd;
  --zc-pdp-pearl: #f5f3f1;
  --zc-pdp-lilac: #8c82b6;
  --zc-pdp-lilac-soft: #eeebf7;
  --zc-pdp-gold: #b8924f;
  --zc-pdp-line: rgba(29, 34, 48, 0.12);
  --zc-pdp-shadow: 0 24px 70px rgba(32, 38, 55, 0.1);
  background:
    radial-gradient(circle at 6% 14%, rgba(204, 197, 230, 0.18), transparent 28rem),
    linear-gradient(180deg, #f8f7f9 0, var(--zc-pdp-pearl) 42rem, #faf9f7 100%) !important;
  color: var(--zc-pdp-ink);
}

body.single-product .site-main {
  padding-bottom: clamp(80px, 9vw, 130px);
}

body.single-product .ct-breadcrumbs,
body.single-product .woocommerce-breadcrumb {
  width: min(calc(100% - 40px), 1250px);
  margin: 0 auto 22px !important;
  padding-top: 22px;
  overflow: hidden;
  color: #858995;
  font-family: 'Montserrat', 'Avenir Next', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

body.single-product .ct-breadcrumbs a,
body.single-product .woocommerce-breadcrumb a {
  color: #6e668e !important;
  text-decoration: none !important;
}

body.single-product div.product > .product-entry-wrapper {
  display: grid !important;
  grid-template-columns: minmax(0, 1.15fr) minmax(420px, 0.85fr) !important;
  align-items: start !important;
  gap: clamp(34px, 4.1vw, 58px) !important;
  width: min(calc(90% - 40px), 1250px) !important;
  margin-inline: auto !important;
}

body.single-product div.product > .product-entry-wrapper > .woocommerce-product-gallery,
body.single-product div.product > .product-entry-wrapper > .summary.entry-summary {
  width: 100% !important;
  max-width: none !important;
}

body.single-product .woocommerce-product-gallery {
  min-width: 0;
  padding: 14px;
  overflow: hidden;
  border: 1px solid rgba(29, 34, 48, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 55px rgba(31, 37, 55, 0.08);
}

body.single-product .woocommerce-product-gallery .flexy-container {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 14px;
}

body.single-product .woocommerce-product-gallery .flexy {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  overflow: hidden;
  border-radius: 16px;
  background: #f3f2f0;
}

body.single-product .woocommerce-product-gallery .flexy-view,
body.single-product .woocommerce-product-gallery .flexy-items,
body.single-product .woocommerce-product-gallery .flexy-item,
body.single-product .woocommerce-product-gallery .flexy-item figure {
  border-radius: inherit;
}

body.single-product .woocommerce-product-gallery .flexy-item img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

body.single-product .woocommerce-product-gallery .flexy-pills {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  max-height: 570px;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-color: rgba(72, 67, 97, 0.3) transparent;
  scrollbar-width: thin;
}

body.single-product .woocommerce-product-gallery .flexy-pills ol {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 9px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 3px 4px !important;
  box-sizing: border-box;
  transform: none !important;
}

body.single-product .woocommerce-product-gallery .flexy-pills li {
  flex: 0 0 80px !important;
  width: 80px !important;
  height: 80px !important;
  padding: 3px;
  overflow: hidden;
  border: 1px solid rgba(29, 34, 48, 0.1);
  border-radius: 12px;
  background: #fff;
  opacity: 0.68;
  transition: border-color 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

body.single-product .woocommerce-product-gallery .flexy-pills li:hover,
body.single-product .woocommerce-product-gallery .flexy-pills li.active {
  border-color: var(--zc-pdp-lilac) !important;
  box-shadow: 0 0 0 3px rgba(140, 130, 182, 0.13);
  opacity: 1;
}

body.single-product .woocommerce-product-gallery .flexy-pills img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  background: #faf9f7;
  object-fit: contain;
  object-position: center;
}

body.single-product .woocommerce-product-gallery__trigger {
  top: 26px !important;
  right: 26px !important;
  display: grid !important;
  place-items: center;
  width: 42px !important;
  height: 42px !important;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.84) !important;
  box-shadow: 0 8px 24px rgba(29, 34, 48, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

body.single-product div.product .summary.entry-summary {
  min-width: 0;
  margin: 0 !important;
  padding: clamp(24px, 2.5vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--zc-pdp-shadow);
  backdrop-filter: blur(18px) saturate(125%);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
}

.zc-pdp-kicker {
  order: -5;
  margin: 0 0 10px !important;
  color: #736b95;
  font-family: 'Montserrat', 'Avenir Next', sans-serif;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
}

.zc-pdp-kicker span {
  padding-inline: 4px;
  color: var(--zc-pdp-gold);
}

body.single-product div.product .product_title {
  margin: 0 0 12px !important;
  color: var(--zc-pdp-ink) !important;
  font-family: 'Cormorant Garamond', 'Times New Roman', serif !important;
  font-size: clamp(34px, 3vw, 44px) !important;
  font-weight: 550 !important;
  letter-spacing: -0.035em !important;
  line-height: 1.01 !important;
  text-wrap: balance;
}

.zc-pdp-social-proof {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 30px;
  margin: 0 0 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--zc-pdp-line);
  color: #535866;
  font-family: 'Montserrat', 'Avenir Next', sans-serif;
  font-size: 11px;
  line-height: 1.4;
}

.zc-pdp-social-proof__stars {
  color: #bf8f32;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.zc-pdp-social-proof .star-rating {
  width: 5.7em;
  margin: 0;
  color: #bf8f32;
  font-size: 11px;
  letter-spacing: 0.06em;
}

.zc-pdp-social-proof__stars--new {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: var(--zc-pdp-lilac-soft);
  color: #756c9e;
}

.zc-pdp-social-proof strong {
  color: var(--zc-pdp-ink);
  font-weight: 700;
}

.zc-pdp-social-proof a {
  margin-left: auto;
  color: #6d638e !important;
  font-weight: 650;
  text-decoration: underline !important;
  text-decoration-color: rgba(109, 99, 142, 0.35) !important;
  text-underline-offset: 3px;
}

body.single-product div.product .summary > .price {
  display: flex !important;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 17px !important;
  color: var(--zc-pdp-ink) !important;
  font-family: 'Montserrat', 'Avenir Next', sans-serif !important;
  font-size: 28px !important;
  font-weight: 760 !important;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

body.single-product div.product .summary > .price del {
  color: #8f939d !important;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
}

body.single-product div.product .summary > .price ins {
  color: #bb553b !important;
  text-decoration: none !important;
}

body.single-product .woocommerce-product-details__short-description {
  margin-bottom: 18px;
  color: #555b68;
  font-family: 'Montserrat', 'Avenir Next', sans-serif;
  font-size: 13px;
  line-height: 1.75;
}

body.single-product .woocommerce-product-details__short-description p {
  margin: 0;
}

.zc-pdp-promises {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 18px;
}

.zc-pdp-promises > span {
  position: relative;
  display: grid;
  align-content: start;
  min-height: 86px;
  padding: 13px 10px 11px 34px;
  border: 1px solid rgba(72, 67, 97, 0.1);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(247, 245, 251, 0.98), rgba(255, 255, 255, 0.96));
}

.zc-pdp-promises i {
  position: absolute;
  top: 13px;
  left: 11px;
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #756c9e;
  color: #fff;
  font-size: 10px;
  font-style: normal;
}

.zc-pdp-promises b,
.zc-pdp-promises small {
  display: block;
  font-family: 'Montserrat', 'Avenir Next', sans-serif;
}

.zc-pdp-promises b {
  color: #2d3240;
  font-size: 10px;
  font-weight: 750;
  line-height: 1.35;
}

.zc-pdp-promises small {
  margin-top: 4px;
  color: #7a7f89;
  font-size: 8.5px;
  line-height: 1.45;
}

body.single-product .ct-product-add-to-cart {
  margin: 0 !important;
  padding: 18px;
  border: 1px solid rgba(140, 130, 182, 0.2);
  border-radius: 17px;
  background: linear-gradient(145deg, #f5f2fa 0%, #fbfaf8 100%);
}

.zc-pdp-purchase-anchor {
  position: relative;
  top: -120px;
  display: block;
  visibility: hidden;
}

body.single-product div.product p.stock {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 14px !important;
  color: #32634e !important;
  font-family: 'Montserrat', 'Avenir Next', sans-serif;
  font-size: 11px !important;
  font-weight: 750;
  letter-spacing: 0.025em;
}

body.single-product div.product p.stock span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4a8a6a;
  box-shadow: 0 0 0 4px rgba(74, 138, 106, 0.12);
}

body.single-product div.product p.stock small {
  color: #737a83;
  font-size: 9px;
  font-weight: 550;
}

body.single-product div.product form.cart {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  margin: 0 !important;
}

body.single-product div.product form.cart .quantity {
  min-width: 104px;
  min-height: 52px;
  overflow: hidden;
  border: 1px solid rgba(29, 34, 48, 0.16) !important;
  border-radius: 13px !important;
  background: #fff;
}

body.single-product div.product form.cart .quantity input {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  padding: 0 32px !important;
  border: 0 !important;
  border-radius: inherit !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--zc-pdp-ink) !important;
  font-size: 13px !important;
  font-weight: 700;
  line-height: 1 !important;
}

body.single-product div.product form.cart .single_add_to_cart_button {
  min-height: 52px !important;
  padding: 0 24px !important;
  border: 1px solid var(--zc-pdp-ink) !important;
  border-radius: 13px !important;
  background: var(--zc-pdp-ink) !important;
  box-shadow: 0 12px 26px rgba(29, 34, 48, 0.2);
  color: #fff !important;
  font-family: 'Montserrat', 'Avenir Next', sans-serif !important;
  font-size: 11px !important;
  font-weight: 760 !important;
  letter-spacing: 0.09em !important;
  text-transform: uppercase;
  transition: background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease !important;
}

body.single-product div.product form.cart .single_add_to_cart_button:hover,
body.single-product div.product form.cart .single_add_to_cart_button:focus-visible {
  background: #353b4b !important;
  box-shadow: 0 15px 32px rgba(29, 34, 48, 0.24);
  outline: 0;
  transform: translateY(-1px);
}

body.single-product div.product form.cart .single_add_to_cart_button.disabled,
body.single-product div.product form.cart .single_add_to_cart_button:disabled {
  box-shadow: none !important;
}

body.single-product div.product form.variations_form {
  display: block !important;
}

body.single-product div.product form.variations_form table.variations,
body.single-product div.product form.variations_form .single_variation_wrap {
  width: 100%;
}

body.single-product div.product form.variations_form table.variations {
  margin-bottom: 12px;
}

body.single-product div.product form.variations_form table.variations tr {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: 7px;
  padding: 0;
}

body.single-product div.product form.variations_form table.variations th,
body.single-product div.product form.variations_form table.variations td {
  padding: 0 !important;
  border: 0 !important;
}

body.single-product div.product form.variations_form table.variations label {
  color: #383e4d;
  font-family: 'Montserrat', 'Avenir Next', sans-serif;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.single-product div.product form.variations_form table.variations td.value {
  display: block;
  min-width: 0;
}

body.single-product div.product form.variations_form select {
  width: 100% !important;
  min-height: 48px;
  padding-inline: 14px 42px;
  border: 1px solid rgba(29, 34, 48, 0.16);
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 22px rgba(35, 39, 53, 0.045);
  color: var(--zc-pdp-ink);
  font-size: 12px;
  font-weight: 600;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

body.single-product div.product form.variations_form select:hover,
body.single-product div.product form.variations_form select:focus-visible {
  border-color: rgba(117, 108, 158, 0.62);
  box-shadow: 0 0 0 3px rgba(140, 130, 182, 0.11), 0 10px 24px rgba(35, 39, 53, 0.06);
  outline: 0;
}

body.single-product div.product form.variations_form .reset_variations {
  position: absolute;
  top: -2px;
  right: 0;
  display: inline-flex !important;
  align-items: center;
  min-height: 20px;
  color: #6d648f !important;
  font-family: 'Montserrat', 'Avenir Next', sans-serif;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.025em;
  line-height: 1;
  text-decoration: underline !important;
  text-decoration-color: rgba(109, 100, 143, 0.32) !important;
  text-underline-offset: 3px;
}

body.single-product div.product form.variations_form .woocommerce-variation-add-to-cart {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
}

body.single-product .ppcp-messages,
body.single-product .ppc-button-wrapper {
  margin-top: 10px;
}

.zc-pdp-assurance {
  margin-top: 18px;
  border-top: 1px solid var(--zc-pdp-line);
}

.zc-pdp-assurance details {
  border-bottom: 1px solid var(--zc-pdp-line);
}

.zc-pdp-assurance summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  min-height: 49px;
  color: #303644;
  font-family: 'Montserrat', 'Avenir Next', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.015em;
  cursor: pointer;
  list-style: none;
}

.zc-pdp-assurance summary::-webkit-details-marker {
  display: none;
}

.zc-pdp-assurance summary i {
  color: #756c9e;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  transition: transform 180ms ease;
}

.zc-pdp-assurance details[open] summary i {
  transform: rotate(45deg);
}

.zc-pdp-assurance details > div {
  padding: 0 24px 15px 0;
  color: #666c77;
  font-family: 'Montserrat', 'Avenir Next', sans-serif;
  font-size: 10px;
  line-height: 1.65;
}

.zc-pdp-assurance details p {
  margin: 0 0 6px;
}

.zc-pdp-assurance details a {
  color: #655b88 !important;
  font-size: 9.5px;
  font-weight: 700;
  text-decoration: underline !important;
  text-decoration-color: rgba(101, 91, 136, 0.3) !important;
  text-underline-offset: 3px;
}

.zc-pdp-secure {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 15px 0 0 !important;
  color: #737985;
  font-family: 'Montserrat', 'Avenir Next', sans-serif;
  font-size: 9px;
  line-height: 1.5;
}

.zc-pdp-secure span {
  color: var(--zc-pdp-gold);
  font-size: 15px;
}

.zc-pdp-secure strong {
  color: #333947;
  font-weight: 750;
}

body.single-product div.product .product_meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 15px;
  margin-top: 18px !important;
  padding-top: 14px;
  border-top: 1px solid var(--zc-pdp-line);
  color: #858994;
  font-family: 'Montserrat', 'Avenir Next', sans-serif;
  font-size: 8.5px;
  letter-spacing: 0.04em;
  line-height: 1.5;
  text-transform: uppercase;
}

body.single-product div.product .product_meta a {
  color: #625981 !important;
  font-weight: 650;
  text-decoration: none !important;
}

body.single-product .woocommerce-tabs {
  margin-top: clamp(52px, 6vw, 84px) !important;
  padding: clamp(42px, 5vw, 68px) max(20px, calc((100% - 1180px) / 2)) !important;
  border: 0 !important;
  background:
    linear-gradient(135deg, rgba(246, 243, 251, 0.96), rgba(255, 254, 252, 0.98));
}

body.single-product .woocommerce-tabs ul.tabs {
  display: flex !important;
  justify-content: flex-start !important;
  gap: 7px;
  width: min(100%, 1180px) !important;
  margin: 0 auto 18px !important;
  padding: 0 !important;
  border: 0 !important;
}

body.single-product .woocommerce-tabs ul.tabs::before,
body.single-product .woocommerce-tabs ul.tabs::after {
  display: none !important;
}

body.single-product .woocommerce-tabs ul.tabs li {
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid rgba(29, 34, 48, 0.1) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.7) !important;
}

body.single-product .woocommerce-tabs ul.tabs li.active {
  border-color: var(--zc-pdp-ink) !important;
  background: var(--zc-pdp-ink) !important;
}

body.single-product .woocommerce-tabs ul.tabs li a {
  display: block;
  padding: 11px 18px !important;
  color: #545a66 !important;
  font-family: 'Montserrat', 'Avenir Next', sans-serif !important;
  font-size: 9px !important;
  font-weight: 750 !important;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-decoration: none !important;
  text-transform: uppercase;
}

body.single-product .woocommerce-tabs ul.tabs li.active a {
  color: #fff !important;
}

body.single-product .woocommerce-tabs > article,
body.single-product .woocommerce-tabs .woocommerce-Tabs-panel {
  width: min(100%, 1180px) !important;
  margin: 0 auto !important;
}

body.single-product .woocommerce-tabs > article {
  padding: clamp(24px, 3vw, 38px) !important;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 55px rgba(31, 37, 55, 0.07);
}

body.single-product .woocommerce-Tabs-panel h2 {
  margin: 0 0 18px !important;
  color: var(--zc-pdp-ink);
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 550;
  letter-spacing: -0.025em;
}

body.single-product .woocommerce-Tabs-panel,
body.single-product .woocommerce-Tabs-panel p,
body.single-product .woocommerce-Tabs-panel li,
body.single-product .woocommerce-Tabs-panel td,
body.single-product .woocommerce-Tabs-panel th {
  color: #575e6a;
  font-family: 'Montserrat', 'Avenir Next', sans-serif;
  font-size: 12px;
  line-height: 1.8;
}

body.single-product .woocommerce-Tabs-panel p {
  max-width: 880px;
}

body.single-product .woocommerce-Tabs-panel table {
  overflow: hidden;
  border: 1px solid var(--zc-pdp-line);
  border-radius: 14px;
}

body.single-product .woocommerce-Tabs-panel table th {
  width: 30%;
  background: rgba(238, 235, 247, 0.55);
  color: #333948;
  font-weight: 700;
}

/* Server-side filters remove these physical shipping fields. Keep a visual
   fallback for cached or third-party-rendered WooCommerce attribute tables. */
body.single-product .woocommerce-product-attributes-item--weight,
body.single-product .woocommerce-product-attributes-item--dimensions {
  display: none !important;
}

body.single-product .related.products {
  display: block !important;
  width: min(calc(100% - 40px), 1180px) !important;
  margin: clamp(58px, 7vw, 92px) auto 0 !important;
}

body.single-product .related.products > h2 {
  margin: 0 0 24px !important;
  color: var(--zc-pdp-ink);
  font-family: 'Cormorant Garamond', 'Times New Roman', serif !important;
  font-size: clamp(32px, 3.2vw, 44px) !important;
  font-weight: 550 !important;
  letter-spacing: -0.025em;
  text-align: left !important;
}

body.single-product .related.products ul.products {
  gap: 14px !important;
}

body.single-product .related.products li.product {
  padding-bottom: 14px !important;
  overflow: hidden;
  border: 1px solid rgba(29, 34, 48, 0.08);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(31, 37, 55, 0.06);
}

body.single-product .related.products li.product figure {
  margin-bottom: 13px !important;
  border-radius: 15px 15px 0 0 !important;
}

body.single-product .related.products li.product .woocommerce-loop-product__title,
body.single-product .related.products li.product .price,
body.single-product .related.products li.product .entry-meta,
body.single-product .related.products li.product .ct-woo-card-actions {
  margin-right: 14px !important;
  margin-left: 14px !important;
}

body.single-product .related.products li.product .woocommerce-loop-product__title {
  min-height: 2.8em;
  color: #2b313f;
  font-family: 'Montserrat', 'Avenir Next', sans-serif;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.4;
}

body.single-product .related.products li.product .price {
  color: #aa4f3a !important;
  font-family: 'Montserrat', 'Avenir Next', sans-serif;
  font-size: 16px !important;
  font-weight: 750 !important;
}

body.single-product .related.products li.product .entry-meta,
body.single-product .related.products li.product .ct-woo-card-actions {
  display: none !important;
}

@media (min-width: 1000px) {
  body.single-product div.product {
    display: grid !important;
    grid-template-columns: minmax(0, 1.15fr) minmax(420px, 0.85fr);
    align-items: start;
    column-gap: clamp(34px, 4.1vw, 58px);
    width: min(calc(90% - 40px), 1250px);
    margin-inline: auto;
  }

  body.single-product div.product > .product-entry-wrapper {
    display: contents !important;
  }

  body.single-product div.product > .product-entry-wrapper > .woocommerce-product-gallery {
    grid-column: 1;
    grid-row: 1;
    position: relative;
    top: auto;
    align-self: start;
  }

  body.single-product div.product > .product-entry-wrapper > .summary.entry-summary {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  body.single-product div.product > .woocommerce-tabs {
    grid-column: 1;
    grid-row: 2;
    min-width: 0;
    width: 100%;
    margin: 28px 0 0 !important;
    padding: 0 !important;
    background: transparent;
  }

  body.single-product div.product > .woocommerce-tabs ul.tabs {
    width: 100% !important;
  }

  body.single-product div.product > .woocommerce-tabs > article,
  body.single-product div.product > .woocommerce-tabs .woocommerce-Tabs-panel {
    width: 100% !important;
  }

  body.single-product div.product > .woocommerce-tabs > article {
    padding: clamp(24px, 2.5vw, 32px) !important;
  }
}

@media (max-width: 999px) {
  body.single-product .ct-breadcrumbs,
  body.single-product .woocommerce-breadcrumb {
    width: min(calc(100% - 28px), 720px);
    margin-bottom: 14px !important;
    padding-top: 14px;
    font-size: 8px;
  }

  body.single-product div.product > .product-entry-wrapper {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px !important;
    width: min(calc(100% - 24px), 720px) !important;
  }

  body.single-product .woocommerce-product-gallery {
    padding: 9px;
    border-radius: 18px;
  }

  body.single-product .woocommerce-product-gallery .flexy-container {
    display: flex;
    flex-direction: column;
    gap: 9px;
  }

  body.single-product .woocommerce-product-gallery .flexy {
    order: 1;
    width: 100%;
    border-radius: 12px;
  }

  body.single-product .woocommerce-product-gallery .flexy-pills {
    order: 2;
    width: 100%;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
  }

  body.single-product .woocommerce-product-gallery .flexy-pills ol {
    flex-direction: row;
    flex-wrap: nowrap !important;
    gap: 7px !important;
    width: max-content !important;
    min-width: 100%;
  }

  body.single-product .woocommerce-product-gallery .flexy-pills li {
    flex-basis: 58px !important;
    width: 58px !important;
    height: 58px !important;
    border-radius: 9px;
  }

  body.single-product .woocommerce-product-gallery__trigger {
    top: 18px !important;
    right: 18px !important;
    width: 38px !important;
    height: 38px !important;
  }

  body.single-product div.product .summary.entry-summary {
    padding: 22px 18px;
    border-radius: 18px;
  }

  body.single-product div.product .product_title {
    font-size: clamp(29px, 8.2vw, 38px) !important;
    line-height: 1.03 !important;
  }

  .zc-pdp-social-proof a {
    margin-left: 0;
  }

  .zc-pdp-promises {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .zc-pdp-promises > span {
    min-height: 57px;
    padding: 11px 10px 9px 38px;
  }

  .zc-pdp-promises i {
    top: 13px;
    left: 13px;
  }

  .zc-pdp-promises small {
    margin-top: 2px;
  }

  body.single-product .ct-product-add-to-cart {
    padding: 14px;
  }

  body.single-product div.product form.cart,
  body.single-product div.product form.variations_form .woocommerce-variation-add-to-cart {
    grid-template-columns: 94px minmax(0, 1fr);
  }

  body.single-product div.product form.cart .ct-cart-actions {
    display: grid !important;
    grid-column: 1 / -1;
    grid-template-columns: 94px minmax(0, 1fr);
    align-items: stretch;
    gap: 10px;
    width: 100%;
    min-width: 0;
  }

  body.single-product div.product form.cart .ct-cart-actions .quantity {
    width: 100%;
    min-width: 0;
  }

  body.single-product div.product form.cart .ct-cart-actions .single_add_to_cart_button {
    width: 100% !important;
    min-width: 0;
    align-self: stretch;
    justify-content: center;
    white-space: nowrap;
    transform: none !important;
  }

  body.single-product .woocommerce-tabs {
    margin-top: 38px !important;
    padding: 32px 12px !important;
  }

  body.single-product .woocommerce-tabs ul.tabs {
    justify-content: flex-start !important;
    margin-bottom: 12px !important;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  body.single-product .woocommerce-tabs ul.tabs::-webkit-scrollbar {
    display: none;
  }

  body.single-product .woocommerce-tabs ul.tabs li {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  body.single-product .woocommerce-tabs ul.tabs li a {
    padding: 10px 14px !important;
    font-size: 8px !important;
  }

  body.single-product .woocommerce-tabs > article {
    padding: 22px 18px !important;
    border-radius: 16px;
  }

  body.single-product .related.products {
    width: min(calc(100% - 24px), 720px) !important;
    margin-top: 48px !important;
  }

  body.single-product .related.products ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 9px !important;
  }

  body.single-product .related.products li.product {
    border-radius: 13px;
  }

  body.single-product .related.products li.product .woocommerce-loop-product__title,
  body.single-product .related.products li.product .price,
  body.single-product .related.products li.product .entry-meta,
  body.single-product .related.products li.product .ct-woo-card-actions {
    margin-right: 10px !important;
    margin-left: 10px !important;
  }
}

@media (max-width: 420px) {
  body.single-product div.product > .product-entry-wrapper {
    width: calc(100% - 16px) !important;
  }

  body.single-product div.product .summary.entry-summary {
    padding: 20px 15px;
  }

  .zc-pdp-kicker {
    font-size: 8px;
    letter-spacing: 0.11em;
  }

  body.single-product div.product .product_title {
    font-size: 29px !important;
  }

  body.single-product div.product form.cart,
  body.single-product div.product form.variations_form .woocommerce-variation-add-to-cart {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 8px;
  }

  body.single-product div.product form.cart .ct-cart-actions {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 8px;
  }

  body.single-product div.product form.cart .ct-cart-actions .single_add_to_cart_button {
    padding-inline: 10px !important;
    font-size: 10px !important;
  }

  body.single-product div.product form.variations_form table.variations tr {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.single-product *,
  body.single-product *::before,
  body.single-product *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* WordPress stops fixing the admin bar at 600px, so its sticky offset must
 * stop reserving space too. Otherwise scrolled product cards show through
 * above the mobile tools after the admin bar has left the viewport. */
@media (max-width: 600px) {
  body.post-type-archive-product .zc-shop-x-mobile-tools,
  body.tax-product_cat .zc-shop-x-mobile-tools,
  body.tax-product_tag .zc-shop-x-mobile-tools {
    top: 0;
    width: 100%;
    box-sizing: border-box;
    margin-inline: 0;
    padding: 5px 9px;
    border: 0;
    border-radius: 0;
    background: #f8f7fa;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  body.post-type-archive-product.admin-bar .zc-shop-x-mobile-tools,
  body.tax-product_cat.admin-bar .zc-shop-x-mobile-tools,
  body.tax-product_tag.admin-bar .zc-shop-x-mobile-tools {
    top: 0;
  }

  body.post-type-archive-product ul.products.is-wishlist-only.is-single-wishlist-result,
  body.tax-product_cat ul.products.is-wishlist-only.is-single-wishlist-result,
  body.tax-product_tag ul.products.is-wishlist-only.is-single-wishlist-result {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 767px) {
  body.post-type-archive-product,
  body.tax-product_cat,
  body.tax-product_tag {
    background:
      radial-gradient(circle at 0 4%, rgba(203, 197, 235, 0.18), transparent 22rem),
      #f8f7fa !important;
  }

  .zc-shop-x-hero {
    grid-template-columns: 185px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    min-height: 56px;
    width: calc(100% - 18px);
    margin: 6px auto 6px;
    padding: 8px 10px;
    border-radius: 16px;
  }

  body.post-type-archive-product .site-main > .ct-container,
  body.tax-product_cat .site-main > .ct-container,
  body.tax-product_tag .site-main > .ct-container {
    padding-top: 8px !important;
  }

  .zc-shop-x-hero::after {
    display: none;
  }

  .zc-shop-x-hero__atmosphere {
    display: none;
  }

  .zc-shop-x-eyebrow {
    display: none;
  }

  .zc-shop-x-hero h2 {
    max-width: none;
    overflow: hidden;
    font-size: 16px;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .zc-shop-x-hero h2 br {
    display: none;
  }

  .zc-shop-x-discovery {
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .zc-shop-x-search > label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .zc-shop-x-search__field {
    grid-template-columns: 18px minmax(0, 1fr);
    min-height: 40px;
    gap: 7px;
    padding: 3px 9px;
    border-radius: 11px;
  }

  .zc-shop-x-search__field input[type='search'] {
    height: 32px;
    font-size: 10px !important;
    text-overflow: ellipsis;
  }

  .zc-shop-x-search__field button {
    display: none;
  }

  .zc-shop-x-hero__links {
    display: none;
  }

  .zc-shop-x-filter-drawer {
    width: min(440px, 100vw);
    padding-top: 18px;
  }

  .zc-shop-x-mobile-tools {
    top: 8px;
    width: calc(100% - 18px);
  }

  body.post-type-archive-product .woo-listing-top,
  body.tax-product_cat .woo-listing-top,
  body.tax-product_tag .woo-listing-top {
    margin-bottom: 8px !important;
  }

  body.post-type-archive-product .woocommerce-ordering select,
  body.tax-product_cat .woocommerce-ordering select,
  body.tax-product_tag .woocommerce-ordering select {
    min-height: 44px;
  }

  body.admin-bar .zc-shop-x-mobile-tools {
    top: 54px;
  }

  .zc-shop-x-wishlist-summary > span:nth-of-type(2) {
    display: none;
  }

  .zc-shop-x-wishlist-summary {
    min-width: 62px;
    padding-inline: 10px;
  }

  body.post-type-archive-product ul.products,
  body.tax-product_cat ul.products,
  body.tax-product_tag ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  body.post-type-archive-product ul.products li.product,
  body.tax-product_cat ul.products li.product,
  body.tax-product_tag ul.products li.product {
    padding-bottom: 12px !important;
    border-radius: 17px !important;
  }

  body.post-type-archive-product ul.products li.product:hover,
  body.tax-product_cat ul.products li.product:hover,
  body.tax-product_tag ul.products li.product:hover {
    transform: none;
  }

  body.post-type-archive-product ul.products li.product figure,
  body.tax-product_cat ul.products li.product figure,
  body.tax-product_tag ul.products li.product figure {
    margin-bottom: 12px !important;
    border-radius: 16px 16px 0 0 !important;
  }

  body.post-type-archive-product ul.products li.product .woocommerce-loop-product__title,
  body.tax-product_cat ul.products li.product .woocommerce-loop-product__title,
  body.tax-product_tag ul.products li.product .woocommerce-loop-product__title,
  body.post-type-archive-product ul.products li.product .price,
  body.tax-product_cat ul.products li.product .price,
  body.tax-product_tag ul.products li.product .price,
  body.post-type-archive-product ul.products li.product .product-categories,
  body.tax-product_cat ul.products li.product .product-categories,
  body.tax-product_tag ul.products li.product .product-categories,
  body.post-type-archive-product ul.products li.product > .button,
  body.tax-product_cat ul.products li.product > .button,
  body.tax-product_tag ul.products li.product > .button {
    margin-right: 10px !important;
    margin-left: 10px !important;
  }

  body.post-type-archive-product ul.products li.product .woocommerce-loop-product__title a,
  body.tax-product_cat ul.products li.product .woocommerce-loop-product__title a,
  body.tax-product_tag ul.products li.product .woocommerce-loop-product__title a {
    -webkit-line-clamp: unset !important;
    min-height: 4.35em !important;
    max-height: 4.35em !important;
    font-size: 11px !important;
    line-height: 1.45 !important;
  }

  body.post-type-archive-product ul.products li.product .price,
  body.tax-product_cat ul.products li.product .price,
  body.tax-product_tag ul.products li.product .price {
    margin-bottom: 7px !important;
    font-size: 16px !important;
  }

  body.post-type-archive-product ul.products li.product .product-categories,
  body.tax-product_cat ul.products li.product .product-categories,
  body.tax-product_tag ul.products li.product .product-categories {
    display: none;
  }

  .zc-shop-x-wishlist {
    top: 9px;
    right: 9px;
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  body.post-type-archive-product ul.products li.product .onsale,
  body.tax-product_cat ul.products li.product .onsale,
  body.tax-product_tag ul.products li.product .onsale {
    top: 9px !important;
    left: 9px !important;
    min-height: 27px !important;
    padding: 6px 8px !important;
    font-size: 8px !important;
  }

  .zc-shop-x-quick-view {
    width: calc(100% - 20px);
    min-height: 42px;
    margin: 7px 10px 0;
    padding-inline: 10px;
    font-size: 8px;
    letter-spacing: 0.08em;
  }

  body.post-type-archive-product ul.products li.product > .ct-woo-card-actions,
  body.tax-product_cat ul.products li.product > .ct-woo-card-actions,
  body.tax-product_tag ul.products li.product > .ct-woo-card-actions {
    min-height: 42px !important;
    margin-right: 10px !important;
    margin-left: 10px !important;
  }

  body.post-type-archive-product ul.products li.product > .ct-woo-card-actions .button,
  body.tax-product_cat ul.products li.product > .ct-woo-card-actions .button,
  body.tax-product_tag ul.products li.product > .ct-woo-card-actions .button {
    min-height: 42px !important;
    padding-inline: 11px !important;
    border-radius: 12px !important;
    font-size: 8px !important;
    letter-spacing: 0.075em !important;
  }

  body.post-type-archive-product ul.products li.product > .ct-woo-card-actions .button::after,
  body.tax-product_cat ul.products li.product > .ct-woo-card-actions .button::after,
  body.tax-product_tag ul.products li.product > .ct-woo-card-actions .button::after {
    font-size: 13px;
  }

  body.post-type-archive-product ul.products li.product > .button,
  body.tax-product_cat ul.products li.product > .button,
  body.tax-product_tag ul.products li.product > .button {
    min-height: 38px !important;
    margin-top: 6px !important;
    padding: 8px !important;
    font-size: 8px !important;
  }

  .zc-shop-x-dialog {
    width: calc(100vw - 18px);
    max-height: calc(100dvh - 18px);
    border-radius: 23px;
  }

  .zc-shop-x-preview {
    display: block;
    min-height: 0;
  }

  .zc-shop-x-preview__media {
    min-height: 0;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .zc-shop-x-preview__copy {
    padding: 26px 20px 22px;
  }

  .zc-shop-x-preview__copy h2 {
    padding-right: 36px;
    font-size: 31px;
  }

  .zc-shop-x-preview__summary {
    max-height: 100px;
    font-size: 12px;
  }

  .zc-shop-x-preview__actions {
    margin-top: 22px;
  }

  .zc-shop-x-toast {
    right: 50%;
    bottom: max(16px, env(safe-area-inset-bottom));
    transform: translate(50%, 12px);
  }

  .zc-shop-x-toast.is-visible {
    transform: translate(50%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .zc-shop-x-hero *,
  .zc-shop-x-wishlist,
  .zc-shop-x-quick-view,
  .zc-shop-x-filter-drawer,
  .zc-shop-x-dialog,
  .zc-shop-x-overlay,
  .zc-shop-x-toast,
  body.post-type-archive-product ul.products li.product,
  body.tax-product_cat ul.products li.product,
  body.tax-product_tag ul.products li.product {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Taobao-inspired product merchandising
 * Scope is deliberately limited to the product grid and card descendants.
 * The Shop hero, listing controls, and category/attribute sidebar are unchanged.
 */
body.post-type-archive-product ul.products,
body.tax-product_cat ul.products,
body.tax-product_tag ul.products {
  gap: 14px !important;
}

@media (min-width: 1200px) {
  body.post-type-archive-product ul.products,
  body.tax-product_cat ul.products,
  body.tax-product_tag ul.products {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

body.post-type-archive-product ul.products li.product,
body.tax-product_cat ul.products li.product,
body.tax-product_tag ul.products li.product {
  padding-bottom: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(24, 32, 46, 0.075) !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 4px 18px rgba(31, 39, 58, 0.055) !important;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease !important;
}

body.post-type-archive-product ul.products li.product:hover,
body.tax-product_cat ul.products li.product:hover,
body.tax-product_tag ul.products li.product:hover {
  border-color: rgba(240, 91, 43, 0.24) !important;
  box-shadow: 0 13px 30px rgba(31, 39, 58, 0.11) !important;
  transform: translateY(-2px) !important;
}

body.post-type-archive-product ul.products li.product figure,
body.tax-product_cat ul.products li.product figure,
body.tax-product_tag ul.products li.product figure {
  margin-bottom: 10px !important;
  border-radius: 13px 13px 0 0 !important;
  background: #f6f5f3 !important;
}

body.post-type-archive-product ul.products li.product .onsale,
body.tax-product_cat ul.products li.product .onsale,
body.tax-product_tag ul.products li.product .onsale {
  display: none !important;
}

body.post-type-archive-product ul.products li.product .woocommerce-loop-product__title,
body.tax-product_cat ul.products li.product .woocommerce-loop-product__title,
body.tax-product_tag ul.products li.product .woocommerce-loop-product__title,
body.post-type-archive-product ul.products li.product .price,
body.tax-product_cat ul.products li.product .price,
body.tax-product_tag ul.products li.product .price {
  margin-right: 12px !important;
  margin-left: 12px !important;
}

body.post-type-archive-product ul.products li.product .woocommerce-loop-product__title a,
body.tax-product_cat ul.products li.product .woocommerce-loop-product__title a,
body.tax-product_tag ul.products li.product .woocommerce-loop-product__title a {
  display: -webkit-box !important;
  min-height: 2.8em !important;
  max-height: 2.8em !important;
  padding-right: 0 !important;
  overflow: hidden !important;
  color: #202633 !important;
  font-family: 'Montserrat', 'Avenir Next', sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  cursor: pointer;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
}

@media (min-width: 1000px) {
  body.post-type-archive-product ul.products li.product .woocommerce-loop-product__title:hover a,
  body.tax-product_cat ul.products li.product .woocommerce-loop-product__title:hover a,
  body.tax-product_tag ul.products li.product .woocommerce-loop-product__title:hover a,
  body.post-type-archive-product ul.products li.product .woocommerce-loop-product__title:focus-within a,
  body.tax-product_cat ul.products li.product .woocommerce-loop-product__title:focus-within a,
  body.tax-product_tag ul.products li.product .woocommerce-loop-product__title:focus-within a {
    display: block !important;
    max-height: none !important;
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
  }
}

body.post-type-archive-product ul.products li.product .price,
body.tax-product_cat ul.products li.product .price,
body.tax-product_tag ul.products li.product .price {
  order: 3;
  display: flex !important;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px;
  min-height: 27px;
  margin-top: 7px !important;
  margin-bottom: 5px !important;
  color: #f05b2b !important;
  font-family: 'Montserrat', 'Avenir Next', sans-serif !important;
  font-size: 19px !important;
  font-weight: 800 !important;
  letter-spacing: -0.035em !important;
  line-height: 1.2 !important;
}

body.post-type-archive-product ul.products li.product .price del,
body.tax-product_cat ul.products li.product .price del,
body.tax-product_tag ul.products li.product .price del {
  order: 2;
  color: #9a9da5 !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
}

body.post-type-archive-product ul.products li.product .price ins,
body.tax-product_cat ul.products li.product .price ins,
body.tax-product_tag ul.products li.product .price ins {
  order: 1;
  color: inherit !important;
  text-decoration: none !important;
}

.zc-shop-x-quick-view {
  justify-content: flex-start;
  width: auto;
  min-height: 32px;
  margin: 5px 12px 9px;
  padding: 0 !important;
  border: 0;
  background: transparent;
  color: #4c5360;
  font-size: 9px;
  letter-spacing: 0.06em;
}

.zc-shop-x-quick-view:hover,
.zc-shop-x-quick-view:focus-visible {
  background: transparent;
  color: #f05b2b;
  transform: none;
}

.zc-shop-x-wishlist {
  top: 9px;
  right: 9px;
  width: 34px;
  height: 34px;
  font-size: 17px;
}

@media (max-width: 1199px) and (min-width: 1000px) {
  body.post-type-archive-product ul.products,
  body.tax-product_cat ul.products,
  body.tax-product_tag ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 999px) {
  body.post-type-archive-product ul.products,
  body.tax-product_cat ul.products,
  body.tax-product_tag ul.products {
    gap: 9px !important;
  }

  body.post-type-archive-product ul.products li.product,
  body.tax-product_cat ul.products li.product,
  body.tax-product_tag ul.products li.product {
    border-radius: 12px !important;
  }

  body.post-type-archive-product ul.products li.product:hover,
  body.tax-product_cat ul.products li.product:hover,
  body.tax-product_tag ul.products li.product:hover {
    transform: none !important;
  }

  body.post-type-archive-product ul.products li.product figure,
  body.tax-product_cat ul.products li.product figure,
  body.tax-product_tag ul.products li.product figure {
    margin-bottom: 8px !important;
    border-radius: 11px 11px 0 0 !important;
  }

  body.post-type-archive-product ul.products li.product .woocommerce-loop-product__title,
  body.tax-product_cat ul.products li.product .woocommerce-loop-product__title,
  body.tax-product_tag ul.products li.product .woocommerce-loop-product__title {
    position: relative;
  }

  body.post-type-archive-product ul.products li.product .woocommerce-loop-product__title,
  body.tax-product_cat ul.products li.product .woocommerce-loop-product__title,
  body.tax-product_tag ul.products li.product .woocommerce-loop-product__title,
  body.post-type-archive-product ul.products li.product .price,
  body.tax-product_cat ul.products li.product .price,
  body.tax-product_tag ul.products li.product .price {
    margin-right: 9px !important;
    margin-left: 9px !important;
  }

  body.post-type-archive-product ul.products li.product .woocommerce-loop-product__title a,
  body.tax-product_cat ul.products li.product .woocommerce-loop-product__title a,
  body.tax-product_tag ul.products li.product .woocommerce-loop-product__title a {
    display: block !important;
    min-height: 2.8em !important;
    max-height: 2.8em !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    font-size: 10.5px !important;
    cursor: pointer;
    overscroll-behavior: contain;
    scrollbar-color: rgba(24, 32, 46, 0.32) transparent;
    scrollbar-width: thin;
    touch-action: pan-y;
    -webkit-box-orient: initial !important;
    -webkit-line-clamp: unset !important;
    -webkit-overflow-scrolling: touch;
  }

  body.post-type-archive-product ul.products li.product .woocommerce-loop-product__title.zc-shop-x-title-scrollable:not(.zc-shop-x-title-at-end)::after,
  body.tax-product_cat ul.products li.product .woocommerce-loop-product__title.zc-shop-x-title-scrollable:not(.zc-shop-x-title-at-end)::after,
  body.tax-product_tag ul.products li.product .woocommerce-loop-product__title.zc-shop-x-title-scrollable:not(.zc-shop-x-title-at-end)::after {
    content: '\2026';
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: grid;
    place-items: center end;
    width: 26px;
    height: 1.4em;
    padding-left: 9px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff 48%);
    color: #202633;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    pointer-events: none;
  }

  body.post-type-archive-product ul.products li.product .woocommerce-loop-product__title a::-webkit-scrollbar,
  body.tax-product_cat ul.products li.product .woocommerce-loop-product__title a::-webkit-scrollbar,
  body.tax-product_tag ul.products li.product .woocommerce-loop-product__title a::-webkit-scrollbar {
    width: 3px;
  }

  body.post-type-archive-product ul.products li.product .woocommerce-loop-product__title a::-webkit-scrollbar-thumb,
  body.tax-product_cat ul.products li.product .woocommerce-loop-product__title a::-webkit-scrollbar-thumb,
  body.tax-product_tag ul.products li.product .woocommerce-loop-product__title a::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(24, 32, 46, 0.32);
  }

  body.post-type-archive-product ul.products li.product .price,
  body.tax-product_cat ul.products li.product .price,
  body.tax-product_tag ul.products li.product .price {
    min-height: 22px;
    margin-top: 6px !important;
    margin-bottom: 4px !important;
    font-size: 16px !important;
  }

  .zc-shop-x-quick-view {
    min-height: 30px;
    margin: 4px 9px 6px;
    font-size: 8px;
  }

  .zc-shop-x-wishlist {
    top: 7px;
    right: 7px;
    width: 32px;
    height: 32px;
    font-size: 16px;
  }
}
