/** Shopify CDN: Minification failed

Line 1541:0 Unexpected "}"
Line 2328:0 Unexpected "}"
Line 2335:0 Unexpected "}"

**/
.tdg-collection-page {
  padding: 28px 0 80px;
}

/* ===== COLLECTION TITLE ===== */
.tdg-collection-title-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-bottom: 20px;
}

.tdg-collection-title {
  margin: 0;
  flex: 0 0 auto;
  font-size: 36px;
  line-height: 1;
  font-weight: 400;
  color: #4f6b5b;
  text-align: center;
  white-space: nowrap;
  padding: 0 6px;
}

.tdg-collection-title-line {
  position: relative;
  flex: 1 1 0;
  height: 2px;
}

.tdg-collection-title-line:first-child::before,
.tdg-collection-title-line:last-child::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
}

.tdg-collection-title-line:first-child::before {
  background: linear-gradient(
    to right,
    rgba(79, 107, 91, 0.08) 0%,
    rgba(92, 116, 103, 0.2) 30%,
    rgba(99, 130, 112, 0.65) 68%,
    rgb(102, 131, 114) 100%
  );
}

.tdg-collection-title-line:last-child::before {
  background: linear-gradient(
    to left,
    rgba(79, 107, 91, 0.08) 0%,
    rgba(79, 107, 91, 0.2) 30%,
    rgba(99, 128, 112, 0.65) 68%,
    rgb(122, 150, 133) 100%
  );
}

/* ===== MAIN LAYOUT ===== */
.tdg-collection-layout {
  display: grid;
  grid-template-columns: 263px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.tdg-collection-sidebar {
  width: 263px;
  max-width: 263px;
  min-width: 263px;
  position: sticky;
  top: 20px;
  padding-right: 8px;
}

.tdg-collection-content {
  min-width: 0;
}

/* ===== HERO ===== */
.tdg-collection-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 22px;
  height: 348px;
  min-height: 348px;
  max-height: 348px;
  border-radius: 0;
  background: #f3f3f3;
}

.tdg-collection-hero__image {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 348px;
}

.tdg-collection-hero__image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 348px;
  object-fit: cover;
  object-position: center center;
}

.tdg-collection-hero__content {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 2;
  width: 36%;
  min-width: 320px;
  height: 100%;
  padding: 34px 28px 28px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: #fff;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.62) 0%,
    rgba(0, 0, 0, 0.38) 48%,
    rgba(0, 0, 0, 0.12) 78%,
    rgba(0, 0, 0, 0) 100%
  );
}

.tdg-hero-subheading {
  margin: 0 0 100px;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 500;
  color: #fff;
}

.tdg-hero-heading {
  margin: 0 0 10px;
  font-size: 36px;
  line-height: 1.08;
  font-weight: 400;
  color: #fff;
}

.tdg-hero-text {
  margin: 0 0 22px;
  font-size: 18px;
    font-weight: 400;
  line-height: 1.25;
  color: #fff;
}

.tdg-hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 247px;
  height: 50px;
  padding: 14 70px;
  border-radius: 999px;
  background: #39793F;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  line-height: 1;
  font-weight: 400;
  transition: opacity 0.2s ease;
}

.tdg-hero-button:hover {
  opacity: 0.92;
}

/* ===== SIDEBAR ===== */
.tdg-sidebar-title {
  margin: 0 0 18px;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
  color: #1f1f1f;
}

.tdg-facets-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tdg-filter-group {
  border-bottom: 1px solid #dcdcdc;
  padding-bottom: 12px;
}

.tdg-filter-group[open] {
  padding-bottom: 12px;
}

.tdg-filter-group__title {
  list-style: none;
  cursor: pointer;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 500;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding-right: 28px;
}

.tdg-filter-group__title::-webkit-details-marker {
  display: none;
}

.tdg-filter-group__title::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid #43584b;
  border-bottom: 2px solid #43584b;
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.22s ease;
}

.tdg-filter-group[open] .tdg-filter-group__title::after {
  transform: translateY(-30%) rotate(-135deg);
}

.tdg-filter-group__body {
  padding-top: 12px;
}

.tdg-filter-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  color: #4f6b5b;
  margin-bottom: 10px;
  cursor: pointer;
}

.tdg-filter-checkbox input {
  margin: 0;
  width: 14px;
  height: 14px;
  accent-color: #4f8a46;
}

.tdg-filter-count {
  color: #8b8b8b;
  font-size: 11px;
}

.tdg-price-range {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.tdg-price-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tdg-price-field label {
  font-size: 11px;
  color: #666;
}

.tdg-price-field input {
  width: 100%;
  height: 36px;
  border: 1px solid #d8d8d8;
  padding: 0 10px;
  font-size: 13px;
  outline: none;
  background: #fff;
  box-shadow: none;
}

.tdg-filter-apply {
  grid-column: 1 / -1;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: #4f8a46;
  color: #fff;
  font-size: 12px;
  cursor: pointer;
}

/* ===== SIDEBAR LOGO ===== */
.tdg-sidebar-logo-wrap {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #e5e5e5;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tdg-sidebar-logo {
  display: block;
  max-width: 90px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.tdg-sidebar-logo-text {
  font-size: 22px;
  line-height: 1;
  color: #4f6b5b;
  text-align: center;
}

/* ===== PRODUCT GRID ===== */
.tdg-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 16px;
}

.tdg-product-grid--extra {
  margin-top: 10px;
}

.tdg-product-card {
  min-width: 0;
}

/* ===== PRODUCT CARD ===== */
.tdgc-card {
  position: relative;
}

.tdgc-card__media-wrap {
  position: relative;
  overflow: hidden;
  background: #f6f6f6;
  margin-bottom: 10px;
}

.tdgc-card__media-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.tdgc-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 275 / 257;
  overflow: hidden;
  background: #f2f2f2;
}

.tdgc-card__image,
.tdgc-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.tdgc-card:hover .tdgc-card__image,
.tdgc-card:hover .tdgc-card__media img {
  transform: scale(1.03);
}

.tdgc-card__badge {
  position: absolute;
  right: 0;
  bottom: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 5px 12px 5px 14px;
  background: #111;
  color: #fff;
  font-size: 11px;
  line-height: 1;
  font-weight: 500;
  clip-path: polygon(12px 0, 100% 0, 100% 100%, 12px 100%, 0 50%);
}

.tdgc-card__wish {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color:rgb(123, 154, 174);
}

.tdgc-card__wish svg {
  width: 18px;
  height: 18px;
}

.tdgc-card__content {
  padding: 0;
}

.tdgc-card__title {
  display: block;
  margin: 0 0 4px;
  color: #1f1f1f;
  text-decoration: none;
  font-size: 20px;
  font-family: Epilogue;
  line-height: 1.3;
  font-weight: 500;
}

.tdgc-card__title:hover {
  text-decoration: underline;
}

.tdgc-card__subtitle {
  margin: 0 0 10px;
  color: #777;
  font-size: 16px;
  font-family: Baskervville;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 30px;
}

.tdgc-card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 4px;
}

.tdgc-card__price-wrap {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0;
  flex: 1 1 auto;
}

.tdgc-card__price {
  color: #111;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
  white-space: nowrap;
}

.tdgc-card__compare {
  color: #8f98a3;
  font-size: 11px;
  line-height: 1.2;
  text-decoration: line-through;
  white-space: nowrap;
}

.tdgc-card__actions {
  flex: 0 0 auto;
}

.tdgc-card__actions form {
  margin: 0;
}

.tdgc-card__btn {
  min-width: 92px;
  height: 28px;
  border: none;
  border-radius: 999px;
  background: #4b8d3f;
  color: #fff;
  font-size: 13px;
  font-family: Baskervville;
  line-height: 1;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  text-decoration: none;
  padding: 0 12px;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.tdgc-card__btn:hover {
  opacity: 0.92;
}

.tdgc-card__btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

/* ===== EXTRA SECTIONS ===== */
.tdg-extra-products-section {
  margin-top: 34px;
}

.tdg-section-heading {
  margin: 50px 0 30px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 400;
  color: #9a5b4d;
}

/* ===== PAGINATION ===== */
.tdg-pagination {
  margin-top: 24px;
}

.tdg-pagination .pagination {
  justify-content: center;
}

/* ===== LARGE TABLET ===== */
@media screen and (max-width: 1199px) {
  .tdg-collection-layout {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 18px;
  }

  .tdg-collection-sidebar {
    width: 240px;
    max-width: 240px;
    min-width: 240px;
  }

  .tdg-collection-hero {
    height: 300px;
    min-height: 300px;
    max-height: 300px;
  }

  .tdg-collection-hero__image,
  .tdg-collection-hero__image img {
    min-height: 300px;
  }

  .tdg-collection-hero__content {
    width: 42%;
    min-width: 280px;
    padding: 26px 22px;
  }

  .tdg-hero-heading {
    font-size: 24px;
  }

  .tdg-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ===== MOBILE ===== */
@media screen and (max-width: 767px) {
  .tdg-collection-page {
    padding: 20px 0 56px;
  }

  .tdg-collection-title {
    font-size: 34px;
  }

  .tdg-collection-layout {
    grid-template-columns: 1fr;
  }

  .tdg-collection-sidebar {
    width: 100%;
    max-width: 100%;
    min-width: 100%;
    position: static;
    padding-right: 0;
    margin-bottom: 14px;
  }

  .tdg-collection-hero {
    height: 260px;
    min-height: 260px;
    max-height: 260px;
    margin-bottom: 18px;
  }

  .tdg-collection-hero__image,
  .tdg-collection-hero__image img {
    min-height: 260px;
  }

  .tdg-collection-hero__content {
    width: 100%;
    min-width: 100%;
    padding: 20px 18px;
    background: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.58) 0%,
      rgba(0, 0, 0, 0.28) 58%,
      rgba(0, 0, 0, 0) 100%
    );
  }

  .tdg-hero-subheading {
    margin-bottom: 32px !important;
    font-size: 22px;
  }

  .tdg-hero-heading {
    font-size: 26px !important;
    margin-bottom: 8px;
  }

  .tdg-hero-text {
    font-size: 16px !important;
    margin-bottom: 16px;
  }

  .tdg-hero-button {
    min-width: 140px;
    height: 36px;
    padding: 0 18px;
    font-size: 14px !important;
  }

  .tdg-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
  }

  .tdg-section-heading {
    font-size: 22px;
  }

  .tdgc-card__title {
    font-size: 13px;
  }

  .tdgc-card__subtitle {
    font-size: 10px;
    min-height: 28px;
  }

  .tdgc-card__price {
    font-size: 14px;
  }

  .tdgc-card__btn {
    min-width: 84px;
    height: 28px;
    font-size: 10px;
    padding: 0 10px;
  }
}

@media screen and (max-width: 479px) {
  .tdg-product-grid {
    grid-template-columns: 1fr;
  }
}



/* ===== RECOMMENDED / TRENDING CAROUSEL ===== */
.tdg-carousel-wrap {
  overflow: hidden;
}

.tdg-carousel-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 6px;
}

.tdg-carousel-track::-webkit-scrollbar {
  display: none;
}

.tdg-carousel-item {
  flex: 0 0 calc((100% - 36px) / 3);
  min-width: 0;
}

@media screen and (max-width: 1199px) {
  .tdg-carousel-item {
    flex: 0 0 calc((100% - 18px) / 2);
  }
}

@media screen and (max-width: 767px) {
  .tdg-carousel-item {
    flex: 0 0 78%;
  }
}

/* =========================================================
   MOBILE COLLECTION VIEW
========================================================= */
.tdg-mobile-toolbar,
.tdg-mobile-filter-overlay,
.tdg-mobile-filter-drawer {
  display: none;
}

@media screen and (max-width: 767px) {
  .tdg-collection-page {
    padding: 18px 0 40px;
  }

  .tdg-collection-title-wrap {
    margin-bottom: 18px;
    gap: 8px;
    padding: 0 16px;
  }

  .tdg-collection-title {
    font-size: 34px;
    line-height: 1.05;
    padding: 0 10px;
  }

  .tdg-collection-title-line {
    height: 2px;
  }

  /* Desktop sidebar hide on mobile */
  .tdg-collection-sidebar {
    display: none !important;
  }

  .tdg-collection-layout {
    display: block;
  }

  .tdg-collection-content {
    width: 100%;
  }

  /* HERO */
  .tdg-collection-hero {
    height: 280px;
    min-height: 280px;
    max-height: 280px;
    margin-bottom: 18px;
    border-radius: 0;
  }

  .tdg-collection-hero__image,
  .tdg-collection-hero__image img {
    min-height: 280px;
    height: 100%;
  }

  .tdg-collection-hero__content {
    width: 100%;
    min-width: 100%;
    padding: 24px 18px 20px;
    background: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.52) 0%,
      rgba(0, 0, 0, 0.26) 58%,
      rgba(0, 0, 0, 0) 100%
    );
  }

  .tdg-hero-subheading {
    font-size: 12px;
    line-height: 1.2;
    margin-bottom: 90px;
  }

  .tdg-hero-heading {
    font-size: 24px;
    line-height: 1.1;
    margin-bottom: 10px;
  }

  .tdg-hero-text {
    font-size: 12px;
    line-height: 1.25;
    margin-bottom: 18px;
  }

  .tdg-hero-button {
    min-width: 150px;
    height: 38px;
    padding: 0 18px;
    font-size: 11px;
  }

  /* MOBILE TOOLBAR */
  .tdg-mobile-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 0 14px;
    margin-bottom: 18px;
    border-bottom: 1px solid #ececec;
  }

  .tdg-mobile-toolbar__count {
    font-size: 14px;
    line-height: 1.3;
    color: #6c6c6c;
  }

  .tdg-mobile-filter-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #4f6b5b;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
  }

  .tdg-mobile-filter-toggle__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .tdg-mobile-filter-toggle__icon svg {
    display: block;
  }

  /* GRID */
  .tdg-product-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .tdg-product-grid--extra {
    margin-top: 10px;
  }

  /* PRODUCT CARD MOBILE */
  .tdgc-card__media {
    aspect-ratio: 1 / 1.18;
  }

  .tdgc-card__badge {
    right: 0;
    bottom: 12px;
    min-height: 26px;
    padding: 5px 12px 5px 14px;
    font-size: 11px;
  }

  .tdgc-card__wish {
    top: 10px;
    right: 10px;
    width: 42px;
    height: 42px;
  }

  .tdgc-card__wish svg {
    width: 18px;
    height: 18px;
  }

  .tdgc-card__content {
    padding-top: 8px;
  }

  .tdgc-card__title {
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 4px;
  }

  .tdgc-card__subtitle {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 10px;
    min-height: auto;
  }

  .tdgc-card__bottom {
    align-items: center;
    gap: 10px;
  }

  .tdgc-card__price {
    font-size: 24px;
    line-height: 1.2;
  }

  .tdgc-card__btn {
    min-width: 98px;
    height: 30px;
    font-size: 13px;
    padding: 0 12px;
  }

  .tdgc-card__btn svg {
    width: 18px;
    height: 18px;
  }

  /* SECTION HEADINGS */
  .tdg-extra-products-section {
    margin-top: 28px;
  }

  .tdg-section-heading {
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 14px;
  }

  /* horizontal cards in mobile for recommended/trending if carousel row is used */
  .tdg-carousel-track {
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .tdg-carousel-item {
    flex: 0 0 72%;
  }

  /* FILTER DRAWER OVERLAY */
  .tdg-mobile-filter-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.22);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s ease;
    z-index: 48;
  }

  /* FILTER DRAWER */
  .tdg-mobile-filter-drawer {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    width: min(88vw, 360px);
    height: 100vh;
    background: #fff;
    z-index: 49;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -8px 0 24px rgba(0, 0, 0, 0.12);
  }

  .tdg-mobile-filter-drawer__inner {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .tdg-mobile-filter-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 18px 12px;
    border-bottom: 1px solid #e8e8e8;
  }

  .tdg-mobile-filter-drawer__title {
    margin: 0;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 700;
    color: #1e2d35;
  }

  .tdg-mobile-filter-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 0;
    background: transparent;
    color: #334a3d;
    cursor: pointer;
  }

  .tdg-mobile-filter-drawer__body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 0 18px 18px;
  }

  .tdg-mobile-filter-drawer__footer {
    padding: 16px 18px 22px;
    border-top: 1px solid #ececec;
    background: #fff;
  }

  .tdg-mobile-filter-apply {
    width: 100%;
    height: 54px;
    border: 0;
    border-radius: 999px;
    background: #6c9255;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
  }

  /* BODY LOCK WHEN DRAWER OPEN */
  body.tdg-mobile-filter-open {
    overflow: hidden;
  }

  body.tdg-mobile-filter-open .tdg-mobile-filter-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  body.tdg-mobile-filter-open .tdg-mobile-filter-drawer {
    transform: translateX(0);
  }

  /* FACETS INSIDE DRAWER */
  /* .tdg-mobile-filter-drawer .facets-container,
  .tdg-mobile-filter-drawer .facets,
  .tdg-mobile-filter-drawer .facets-vertical {
    display: block;
  }

  .tdg-mobile-filter-drawer .facets__heading,
  .tdg-mobile-filter-drawer .facets__summary {
    font-size: 14px;
  }

  .tdg-mobile-filter-drawer details {
    border-bottom: 1px solid #e6e6e6;
    padding: 0;
  }

  .tdg-mobile-filter-drawer summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 0;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 500;
    color: #395447;
    position: relative;
  }

  .tdg-mobile-filter-drawer summary::-webkit-details-marker {
    display: none;
  }

  .tdg-mobile-filter-drawer summary::after {
    content: "";
    position: absolute;
    right: 4px;
    top: 50%;
    width: 10px;
    height: 10px;
    border-right: 2px solid #43584b;
    border-bottom: 2px solid #43584b;
    transform: translateY(-65%) rotate(45deg);
    transition: transform 0.22s ease;
  }

  .tdg-mobile-filter-drawer details[open] summary::after {
    transform: translateY(-30%) rotate(-135deg);
  }

  .tdg-mobile-filter-drawer .facet-checkbox,
  .tdg-mobile-filter-drawer .facets__label {
    font-size: 16px;
    line-height: 1.4;
    color: #4f6b5b;
  } */



  /* ===== MOBILE CUSTOM FILTER DRAWER ===== */
@media screen and (max-width: 767px) {
  .tdg-mobile-facets-form {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .tdg-mobile-filter-group {
    border-bottom: 1px solid #e6e6e6;
    padding: 0;
  }

  .tdg-mobile-filter-group__title {
    list-style: none;
    cursor: pointer;
    padding: 18px 0;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 500;
    color: #395447;
    position: relative;
    padding-right: 28px;
  }

  .tdg-mobile-filter-group__title::-webkit-details-marker {
    display: none;
  }

  .tdg-mobile-filter-group__title::after {
    content: "";
    position: absolute;
    right: 4px;
    top: 50%;
    width: 11px;
    height: 11px;
    border-right: 2px solid #43584b;
    border-bottom: 2px solid #43584b;
    transform: translateY(-65%) rotate(45deg);
    transition: transform 0.22s ease;
  }

  .tdg-mobile-filter-group[open] .tdg-mobile-filter-group__title::after {
    transform: translateY(-30%) rotate(-135deg);
  }

  .tdg-mobile-filter-group__body {
    padding: 2px 0 18px;
  }

  .tdg-mobile-filter-group__body {
  overflow: visible;
}

  .tdg-mobile-filter-checkbox {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 17px;
    line-height: 1.45;
    color: #4f6b5b;
    margin-bottom: 16px;
    cursor: pointer;
  }

  .tdg-mobile-filter-checkbox input {
    margin: 0;
    width: 18px;
    height: 18px;
    accent-color: #6c9255;
    flex: 0 0 auto;
  }

  .tdg-mobile-filter-count {
    color: #8b8b8b;
    font-size: 13px;
  }

  .tdg-mobile-price-range {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding-top: 4px;
  }

  .tdg-mobile-price-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .tdg-mobile-price-field label {
    font-size: 13px;
    color: #666;
  }

  .tdg-mobile-price-field input {
    width: 100%;
    height: 42px;
    border: 1px solid #d8d8d8;
    padding: 0 12px;
    font-size: 14px;
    outline: none;
    background: #fff;
    box-shadow: none;
  }

  .tdg-mobile-filter-drawer__body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 0 18px 18px;
  }

  .tdg-mobile-filter-drawer__footer {
    padding: 16px 18px 22px;
    border-top: 1px solid #ececec;
    background: #fff;
  }

  .tdg-mobile-filter-apply {
    width: 100%;
    height: 54px;
    border: 0;
    border-radius: 999px;
    background: #6c9255;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
  }
}

  .tdg-mobile-filter-drawer input[type="checkbox"] {
    accent-color: #6c9255;
  }

  /* optional: hide footer on very tiny screens if needed */
}

@media screen and (max-width: 479px) {
  .tdg-collection-title {
    font-size: 28px;
  }

  .tdg-collection-hero {
    height: 250px;
    min-height: 250px;
    max-height: 250px;
  }

  .tdg-collection-hero__image,
  .tdg-collection-hero__image img {
    min-height: 250px;
  }

  .tdg-hero-heading {
    font-size: 22px;
  }

  .tdg-carousel-item {
    flex: 0 0 82%;
  }
}


/* new css for mobile filter*/

/* @media screen and (max-width: 767px) {
  .tdg-mobile-price-heading {
    font-size: 14px;
    line-height: 1.3;
    color: #5c685f;
    margin-bottom: 14px;
  }

  .tdg-mobile-price-visual {
    position: relative;
    height: 82px;
    margin-bottom: 18px;
  }

  .tdg-mobile-price-visual__track {
    position: absolute;
    left: 0;
    right: 0;
    top: 34px;
    height: 2px;
    background: #8a8a8a;
  }

  .tdg-mobile-price-visual__range {
    position: absolute;
    left: 20%;
    right: 20%;
    top: 34px;
    height: 3px;
    background: #90d37a;
  }

  .tdg-mobile-price-visual__dot {
    position: absolute;
    top: 26px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #90d37a;
  }

  .tdg-mobile-price-visual__dot--left {
    left: 18%;
  }

  .tdg-mobile-price-visual__dot--right {
    right: 18%;
  }

  .tdg-mobile-price-visual__top,
  .tdg-mobile-price-visual__bottom {
    position: absolute;
    font-size: 12px;
    color: #777;
    line-height: 1.2;
  }

  .tdg-mobile-price-visual__top--left {
    left: 16%;
    top: 0;
  }

  .tdg-mobile-price-visual__top--right {
    right: 16%;
    top: 0;
  }

  .tdg-mobile-price-visual__bottom--left {
    left: 0;
    top: 50px;
  }

  .tdg-mobile-price-visual__bottom--right {
    right: 0;
    top: 50px;
  } */


  @media screen and (max-width: 767px) {
  .tdg-mobile-price-heading {
    font-family: "IvyPresto Display", serif;
    font-size: 14px;
    line-height: 1.3;
    color: #4d5f52;
    margin-bottom: 14px;
  }

  .tdg-mobile-price-visual {
    position: relative;
    height: 92px;
    margin-bottom: 18px;
  }

  /* full grey line */
  .tdg-mobile-price-visual__track {
    position: absolute;
    left: 0;
    right: 0;
    top: 39px;
    height: 2px;
    background: #9b9b9b;
    border-radius: 999px;
    z-index: 1;

     overflow: visible !important;
  }

  /* selected green line */
  .tdg-mobile-price-visual__range {
    position: absolute;
    left: 22%;
    right: 22%;
    top: 39px;
    height: 3px;
    background: #94cf78;
    border-radius: 999px;
    z-index: 2;
  overflow: visible !important;

  }

  .tdg-mobile-price-visual__dot {
    position: absolute;
    top: 31px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #94cf78;
    z-index: 3;
  }

  .tdg-mobile-price-visual__dot--left {
    left: calc(22% - 9px);
  }

  .tdg-mobile-price-visual__dot--right {
    left: calc(78% - 9px);
  }

  /* .tdg-mobile-price-visual__top,
  .tdg-mobile-price-visual__bottom {
    position: absolute;
    font-size: 12px;
    line-height: 1.2;
    color: #7a7a7a;
    white-space: nowrap;
  } */

  .tdg-mobile-price-visual__top,
.tdg-mobile-price-visual__bottom {
  position: absolute;
  font-size: 12px;
  line-height: 1.2;
  color: #7a7a7a;
  white-space: nowrap;
  z-index: 4;
}

  /* .tdg-mobile-price-visual__top--left {
    left: 18%;
    top: 0;
  }

  .tdg-mobile-price-visual__top--right {
    right: 18%;
    top: 0;
  } */

  .tdg-mobile-price-visual__top--left,
.tdg-mobile-price-visual__top--right {
  top: 0;
  transform: translateX(-50%);
}

  .tdg-mobile-price-visual__bottom--left {
    left: 0;
    top: 52px;
  }

  .tdg-mobile-price-visual__bottom--right {
    right: 0;
    top: 52px;
  }
}

  .tdg-mobile-filter-group__title--score {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .tdg-mobile-score-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #5fc85c;
    display: inline-block;
    flex: 0 0 auto;
  }

  .tdg-mobile-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid #e6e6e6;
    font-size: 16px;
    color: #395447;
  }

  .tdg-mobile-toggle {
    width: 32px;
    height: 18px;
    border-radius: 999px;
    background: #d7d7d7;
    position: relative;
    flex: 0 0 auto;
  }

  .tdg-mobile-toggle::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
  }

  .tdg-mobile-filter-logo {
    padding: 24px 0 8px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .tdg-mobile-filter-logo img {
    max-width: 82px;
    height: auto;
    display: block;
  }
}

@media screen and (max-width: 767px) {
  .tdg-mobile-price-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 10px;
    margin-bottom: 16px;
  }

  .tdg-mobile-price-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .tdg-mobile-price-field label {
    font-size: 12px;
    color: #6e6e6e;
  }

  .tdg-mobile-price-field input {
    width: 100%;
    height: 40px;
    border: 1px solid #d8d8d8;
    padding: 0 12px;
    font-size: 14px;
    background: #fff;
    outline: none;
  }

  .tdg-mobile-price-options {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 8px;
  }
}



@media screen and (max-width: 767px) {
  .tdg-mobile-price-visual {
    position: relative;
    height: 92px;
    margin-bottom: 18px;
    overflow: visible;
  }

  .tdg-mobile-price-visual__track {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: 39px !important;
    height: 2px !important;
    background: #8f8f8f !important;
    border-radius: 999px !important;
    z-index: 1 !important;
    display: block !important;
  }

  .tdg-mobile-price-visual__range {
    position: absolute !important;
    top: 39px !important;
    height: 3px !important;
    background: #8fd06f !important;
    border-radius: 999px !important;
    z-index: 2 !important;
    display: block !important;
    left: 22%;
    right: 22%;
  }

  .tdg-mobile-price-visual__dot {
    position: absolute !important;
    top: 31px !important;
    width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;
    background: #8fd06f !important;
    z-index: 3 !important;
    cursor: pointer;
    touch-action: none;
  }

  .tdg-mobile-price-visual__dot--left {
    left: calc(22% - 9px);
  }

  .tdg-mobile-price-visual__dot--right {
    left: calc(78% - 9px);
  }

 .tdg-mobile-price-visual__top,
.tdg-mobile-price-visual__bottom {
  position: absolute;
  font-size: 12px;
  line-height: 1.2;
  color: #7a7a7a;
  white-space: nowrap;
  z-index: 4;
}

  /* .tdg-mobile-price-visual__top--left {
    left: 14%;
    top: 0;
  }

  .tdg-mobile-price-visual__top--right {
    right: 14%;
    top: 0;
  } */


  .tdg-mobile-price-visual__top--left,
.tdg-mobile-price-visual__top--right {
  top: 0;
  transform: translateX(-50%);
}

  .tdg-mobile-price-visual__bottom--left {
    left: 0;
    top: 52px;
  }

  .tdg-mobile-price-visual__bottom--right {
    right: 0;
    top: 52px;
  }
}


@media screen and (max-width: 767px) {
  .tdg-mobile-price-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 18px;
  }

  .tdg-mobile-price-option {
    margin-bottom: 0;
  }
}

/* filter toggle option */

.tdg-mobile-toggle-row--switch {
  cursor: pointer;
  position: relative;
}

.tdg-mobile-toggle-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.tdg-mobile-toggle {
  width: 32px;
  height: 18px;
  border-radius: 999px;
  background: #d7d7d7;
  position: relative;
  flex: 0 0 auto;
  transition: background 0.2s ease;
}

.tdg-mobile-toggle::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s ease;
}

.tdg-mobile-toggle-input:checked + .tdg-mobile-toggle {
  background: #6c9255;
}

.tdg-mobile-toggle-input:checked + .tdg-mobile-toggle::after {
  transform: translateX(14px);
}


/* UPDATED MOBILE VIEW DESIGN OF THE 2 COLUMN */

@media screen and (max-width: 767px) {
  /* ===== PAGE WIDTH / SPACING ===== */
  .tdg-collection-page .page-width {
    padding-left: 12px;
    padding-right: 12px;
  }

  .tdg-collection-page {
    padding: 12px 0 34px;
  }

  .tdg-collection-title-wrap {
    margin-bottom: 14px;
    gap: 8px;
    padding: 0;
  }

  .tdg-collection-title {
    font-size: 24px !important;
    line-height: 1.1;
    padding: 0 8px;
  }

  .tdg-collection-title-line {
    height: 1px;
  }

  /* ===== HERO ===== */
  .tdg-collection-hero {
    height: 188px !important;
    min-height: 188px !important;
    max-height: 188px !important;
    margin-bottom: 14px;
  }

  .tdg-collection-hero__image,
  .tdg-collection-hero__image img {
    min-height: 188px !important;
    height: 100%;
  }

  .tdg-collection-hero__content {
    padding: 16px 14px 14px !important;
    width: 100%;
    min-width: 100%;
    background: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.54) 0%,
      rgba(0, 0, 0, 0.24) 60%,
      rgba(0, 0, 0, 0) 100%
    ) !important;
  }

  .tdg-hero-subheading {
    font-size: 20px !important;
    line-height: 1.2;
    margin: 0 0 90px !important;
  }

  .tdg-hero-heading {
    font-size: 36px !important;
    line-height: 1.08;
    margin: 0 0 6px !important;
  }

  .tdg-hero-text {
    font-size: 18px !important;
    line-height: 1.2;
    margin: 0 0 12px !important;
  }

  .tdg-hero-button {
    min-width: 240px !important;
    height: 30px !important;
    padding: 10px 14px !important;
    font-size: 16px !important;
    font-family: Baskervville !important;
  }

  /* ===== MOBILE TOOLBAR ===== */
  .tdg-mobile-toolbar {
    padding: 0 0 10px;
    margin-bottom: 8px;
    border-bottom: 0;
  }

  .tdg-mobile-toolbar__count {
    font-size: 11px;
    line-height: 1.3;
    color: #6c6c6c;
  }

  .tdg-mobile-filter-toggle {
    gap: 6px;
    font-size: 12px;
    line-height: 1;
  }

  .tdg-mobile-filter-toggle__icon svg {
    width: 16px;
    height: 16px;
  }

  /* ===== ACTIVE FILTER CHIPS ===== */
  .tdg-mobile-active-filters {
    margin-bottom: 14px;
  }

  .tdg-mobile-active-filters__list {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 2px;
  }

  .tdg-mobile-active-filters__list::-webkit-scrollbar {
    display: none;
  }

  .tdg-mobile-filter-chip {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    background: #eef5ea;
    border: 1px solid #9eb792;
    color: #4f6b5b;
    text-decoration: none;
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
  }

  .tdg-mobile-filter-chip__close {
    font-size: 12px;
    line-height: 1;
  }

  .tdg-mobile-filter-clear-all {
    flex: 0 0 auto;
    color: #4f6b5b;
    text-decoration: none;
    font-size: 10px;
    line-height: 1;
    white-space: nowrap;
    padding-left: 2px;
  }

  /* ===== MAIN GRID: 2 PRODUCTS PER ROW ===== */
  .tdg-product-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px 10px !important;
  }

  .tdg-product-card {
    min-width: 0;
  }

  /* ===== CARD ===== */
  .tdgc-card__media-wrap {
    margin-bottom: 8px;
  }

  .tdgc-card__media {
    aspect-ratio: 0.84 / 1 !important;
  }

  .tdgc-card__wish {
    width: 34px !important;
    height: 34px !important;
    top: 8px !important;
    right: 8px !important;
  }

  .tdgc-card__wish svg {
    width: 16px !important;
    height: 16px !important;
  }

  .tdgc-card__badge {
    min-height: 22px !important;
    padding: 4px 10px 4px 12px !important;
    font-size: 9px !important;
    bottom: 10px !important;
  }

  .tdgc-card__content {
    padding-top: 0 !important;
  }

  .tdgc-card__title {
    font-size: 16px !important;
    line-height: 1.2 !important;
    margin: 0 0 4px !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 26px;

    font-family: Baskervville !important;
  }

  .tdgc-card__subtitle {
    font-size: 14px !important;
    line-height: 1.25 !important;
    margin: 0 0 8px !important;
    min-height: 24px !important;
    -webkit-line-clamp: 2;
  }

  .tdgc-card__bottom {
    display: block !important;
    margin-top: 0 !important;
  }

  .tdgc-card__price-wrap {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 8px;
  }

  .tdgc-card__price {
    font-size: 18px !important;
    line-height: 1.2 !important;
  }

  .tdgc-card__compare {
    font-size: 14px !important;
  }

  .tdgc-card__actions {
    width: 100%;
  }

  .tdgc-card__actions form {
    width: 100%;
  }

  .tdgc-card__btn,
  .tdgc-card__btn--link {
    width: 100%;
    min-width: 0 !important;
    height: 28px !important;
    font-size: 13px !important;
    padding: 0 10px !important;
    gap: 5px !important;
  }

  .tdgc-card__btn svg,
  .tdgc-card__btn--link svg {
    width: 18px !important;
    height: 18px !important;
  }

  /* ===== SECTION SPACING ===== */
  .tdg-extra-products-section {
    margin-top: 26px !important;
  }

  .tdg-section-heading {
    margin: 0 0 14px !important;
    font-size: 20px !important;
    line-height: 1.2 !important;
  }

  /* ===== RECOMMENDED / TRENDING MOBILE ===== */
  .tdg-carousel-wrap {
    overflow: visible;
  }

  .tdg-carousel-track {
    gap: 10px !important;
    padding-bottom: 2px !important;
  }

  .tdg-carousel-item {
    flex: 0 0 46% !important;
  }

  /* ===== DRAWER WIDTH ===== */
  .tdg-mobile-filter-drawer {
    width: min(86vw, 320px) !important;
  }

  .tdg-mobile-filter-drawer__header {
    padding: 14px 14px 10px !important;
  }

  .tdg-mobile-filter-drawer__body {
    padding: 0 14px 14px !important;
  }

  .tdg-mobile-filter-drawer__footer {
    padding: 14px !important;
  }

  .tdg-mobile-filter-drawer__title {
    font-size: 16px !important;
  }

  .tdg-mobile-filter-apply {
    height: 46px !important;
    font-size: 16px !important;
  }
}

@media screen and (max-width: 389px) {
  .tdg-collection-page .page-width {
    padding-left: 10px;
    padding-right: 10px;
  }

  .tdg-product-grid {
    gap: 16px 8px !important;
  }

  .tdg-carousel-item {
    flex: 0 0 48% !important;
  }

  .tdgc-card__title {
    font-size: 10.5px !important;
  }

  .tdgc-card__subtitle {
    font-size: 9px !important;
  }

  .tdgc-card__price {
    font-size: 11px !important;
  }

  .tdgc-card__btn,
  .tdgc-card__btn--link {
    font-size: 9px !important;
  }
}


/* ===== DESKTOP FILTER + CHIPS MATCH MOBILE ===== */
/* @media screen and (min-width: 768px) {
  .tdg-collection-layout {
    grid-template-columns: 263px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
  }

  .tdg-collection-sidebar {
    position: sticky;
    top: 20px;
    align-self: start;
    background: #f8f8f6;
    padding: 20px 16px 18px;
    border: 1px solid #e7e7e2;
  }


  .tdg-facets-form {
    gap: 0;
  }

  .tdg-filter-group {
    border-bottom: 1px solid #d8ddd7;
    padding: 0;
  }



  /* desktop price */
  .tdg-desktop-price-heading {
    font-size: 13px;
    line-height: 1.3;
    color: #4d5f52;
    margin-bottom: 14px;
    font-family: "IvyPresto Display", serif;
  }

  .tdg-desktop-price-visual {
    position: relative;
    height: 92px;
    margin-bottom: 18px;
    overflow: visible;
  }


   .tdg-desktop-price-visual__track {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: 39px !important;
    height: 2px !important;
    background: #9b9b9b !important;
    border-radius: 999px !important;
    z-index: 1 !important;
    display: block !important;
  }

 .tdg-desktop-price-visual__range {
    position: absolute !important;
    top: 39px !important;
    height: 3px !important;
    background: #94cf78 !important;
    border-radius: 999px !important;
    z-index: 2 !important;
    display: block !important;
    left: 22%;
    right: 22%;
  }

   .tdg-desktop-price-visual__dot {
    position: absolute !important;
    top: 31px !important;
    width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;
    background: #94cf78 !important;
    z-index: 3 !important;
    cursor: pointer;
    touch-action: none;
  }

    .tdg-desktop-price-visual__dot--left {
    left: calc(22% - 9px);
  }

  .tdg-desktop-price-visual__dot--right {
    left: calc(78% - 9px);
  }


   .tdg-desktop-price-visual__top,
  .tdg-desktop-price-visual__bottom {
    position: absolute;
    font-size: 12px;
    line-height: 1.2;
    color: #7a7a7a;
    white-space: nowrap;
  }

  /* .tdg-desktop-price-visual__top--left {
    left: 14%;
    top: 0;
  }

    .tdg-desktop-price-visual__top--right {
    right: 14%;
    top: 0;
  } */

  .tdg-desktop-price-visual__top--left,
.tdg-desktop-price-visual__top--right {
  top: 0;
  transform: translateX(-50%);
}

  .tdg-desktop-price-visual__bottom--left {
    left: 0;
    top: 52px;
  }

  .tdg-desktop-price-visual__bottom--right {
    right: 0;
    top: 52px;
  }

  .tdg-desktop-price-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
  }

 .tdg-desktop-price-option {
    margin-bottom: 0;
  }


  /* desktop chips */
  .tdg-desktop-active-filters {
    margin: 12px 0 14px;
  }

  .tdg-desktop-active-filters__list {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
  }


  .tdg-desktop-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #eef5ea;
    border: 1px solid #9eb792;
    color: #4f6b5b;
    text-decoration: none;
    font-size: 11px;
    line-height: 1;
    white-space: nowrap;
  }

   .tdg-desktop-filter-chip__close {
    font-size: 13px;
    line-height: 1;
  }

  .tdg-desktop-filter-clear-all {
    color: #4f6b5b;
    text-decoration: none;
    font-size: 11px;
    line-height: 1;
    white-space: nowrap;
  }
  
  /* score */
    .tdg-filter-group__title--score {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .tdg-desktop-score-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #5fc85c;
    display: inline-block;
    flex: 0 0 auto;
  }



  /* toggles */
  .tdg-desktop-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid #d8ddd7;
    font-size: 14px;
    color: #395447;
    cursor: pointer;
    position: relative;
  }

  .tdg-desktop-toggle-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }

  .tdg-desktop-toggle {
    width: 32px;
    height: 18px;
    border-radius: 999px;
    background: #d7d7d7;
    position: relative;
    flex: 0 0 auto;
    transition: background 0.2s ease;
  }

  .tdg-desktop-toggle::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    transition: transform 0.2s ease;
  }

    .tdg-desktop-toggle-input:checked + .tdg-desktop-toggle {
    background: #6c9255;
  }

  .tdg-desktop-toggle-input:checked + .tdg-desktop-toggle::after {
    transform: translateX(14px);
  }
}

  .tdg-sidebar-logo-wrap {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #d8ddd7;
  }
} */



@media screen and (min-width: 768px) {
  .tdg-collection-sidebar {
    position: sticky;
    top: 20px;
    align-self: start;
    background: #f8f8f6;
    padding: 20px 16px 18px;
    border: 1px solid #e7e7e2;
    width: 263px;
    max-width: 263px;
    min-width: 263px;
  }

  .tdg-facets-form {
    gap: 0;
  }

  .tdg-filter-group {
    border-bottom: 1px solid #d8ddd7;
    padding: 0 0 12px;
  }

  .tdg-filter-group[open] {
    padding-bottom: 12px;
  }

  .tdg-sidebar-logo-wrap {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #d8ddd7;
  }

  /* desktop price */
  .tdg-desktop-price-heading {
    font-family: "IvyPresto Display", serif;
    font-size: 13px;
    line-height: 1.3;
    color: #4d5f52;
    margin-bottom: 14px;
  }

  .tdg-desktop-price-visual {
    position: relative;
    height: 92px;
    margin-bottom: 18px;
    overflow: visible;
  }

  .tdg-desktop-price-visual__track {
    position: absolute;
    left: 0;
    right: 0;
    top: 39px;
    height: 2px;
    background: #9b9b9b;
    border-radius: 999px;
    z-index: 1;
  }

  .tdg-desktop-price-visual__range {
    position: absolute;
    top: 39px;
    height: 3px;
    background: #94cf78;
    border-radius: 999px;
    z-index: 2;
    left: 22%;
    right: 22%;
  }

  .tdg-desktop-price-visual__dot {
    position: absolute;
    top: 31px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #94cf78;
    z-index: 3;
    cursor: pointer;
    touch-action: none;
  }

  .tdg-desktop-price-visual__dot--left {
    left: calc(22% - 9px);
  }

  .tdg-desktop-price-visual__dot--right {
    left: calc(78% - 9px);
  }

  .tdg-desktop-price-visual__top,
  .tdg-desktop-price-visual__bottom {
    position: absolute;
    font-size: 12px;
    line-height: 1.2;
    color: #7a7a7a;
    white-space: nowrap;
  }

  /* .tdg-desktop-price-visual__top--left {
    left: 14%;
    top: 0;
  }

  .tdg-desktop-price-visual__top--right {
    right: 14%;
    top: 0;
  } */

  .tdg-desktop-price-visual__top--left,
.tdg-desktop-price-visual__top--right {
  top: 0;
  transform: translateX(-50%);
}

  .tdg-desktop-price-visual__bottom--left {
    left: 0;
    top: 52px;
  }

  .tdg-desktop-price-visual__bottom--right {
    right: 0;
    top: 52px;
  }

  .tdg-desktop-price-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
  }

  .tdg-desktop-price-option {
    margin-bottom: 0;
  }

  /* desktop chips */
  .tdg-desktop-active-filters {
    margin: 12px 0 14px;
  }

  .tdg-desktop-active-filters__list {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
  }

  .tdg-desktop-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #eef5ea;
    border: 1px solid #9eb792;
    color: #4f6b5b;
    text-decoration: none;
    font-size: 11px;
    line-height: 1;
    white-space: nowrap;
  }

  .tdg-desktop-filter-chip__close {
    font-size: 13px;
    line-height: 1;
  }

  .tdg-desktop-filter-clear-all {
    color: #4f6b5b;
    text-decoration: none;
    font-size: 11px;
    line-height: 1;
    white-space: nowrap;
  }

  /* score */
  .tdg-filter-group__title--score {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .tdg-desktop-score-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #5fc85c;
    display: inline-block;
    flex: 0 0 auto;
  }

  /* toggles */
  .tdg-desktop-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid #d8ddd7;
    font-size: 14px;
    color: #395447;
    cursor: pointer;
    position: relative;
  }

  .tdg-desktop-toggle-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }

  .tdg-desktop-toggle {
    width: 32px;
    height: 18px;
    border-radius: 999px;
    background: #d7d7d7;
    position: relative;
    flex: 0 0 auto;
    transition: background 0.2s ease;
  }

  .tdg-desktop-toggle::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    transition: transform 0.2s ease;
  }

  .tdg-desktop-toggle-input:checked + .tdg-desktop-toggle {
    background: #6c9255;
  }

  .tdg-desktop-toggle-input:checked + .tdg-desktop-toggle::after {
    transform: translateX(14px);
  }
}


/* for soft loader of page  */

.tdg-collection-page.is-filter-loading {
  pointer-events: none;
}

.tdg-collection-page.is-filter-loading #tdg-collection-content {
  opacity: 0.35;
  transition: opacity 0.2s ease;
}

#tdg-collection-content {
  transition: opacity 0.2s ease;
}

/* hero section and product image resize */

/* =========================
   MOBILE HERO + PRODUCT IMAGE SIZE
   ========================= */
@media screen and (max-width: 749px) {

  /* Hero section height */
  .tdg-collection-hero,
  .tdg-collection-hero__media,
  .tdg-collection-hero__image-wrapper,
  .tdg-collection-hero__image {
    height: 260px !important;
    min-height: 260px !important;
    max-height: 260px !important;
    overflow: hidden;
  }

  .tdg-collection-hero img,
  .tdg-collection-hero__image img,
  .tdg-collection-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  /* Product grid: 2 items in one row */
  .tdg-collection-products-grid,
  .tdg-product-grid,
  .collection .product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 18px !important;
  }

  /* Product image size */
  .tdgc-card__media-wrap,
  .tdgc-card__media {
    height: 200px !important;
    min-height: 200px !important;
    max-height: 0px !important;
    overflow: hidden;
    position: relative;
  }

  .tdgc-card__media img,
  .tdgc-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  /* Better spacing for mobile card */
  .tdgc-card__content {
    padding-top: 10px;
  }

  .tdgc-card__title {
    font-size: 16px;
    line-height: 1.2;
    margin-bottom: 6px;
  }

  .tdgc-card__subtitle {
    font-size: 12px;
    line-height: 1.35;
    margin-bottom: 10px;
  }

  .tdgc-card__price {
    font-size: 16px;
    line-height: 1.2;
  }

  .tdgc-card__btn {
    min-height: 36px;
    font-size: 12px;
    padding: 0 14px;
    border-radius: 999px;
  }

  .tdgc-card__wish {
    width: 40px;
    height: 40px;
    top: 8px;
    right: 8px;
  }

  .tdgc-card__badge {
    font-size: 12px;
    padding: 4px 8px;
    right: 8px;
    bottom: 8px;
  }
}