/* Reusable storefront card. Load with site/components/modern_product_card. */
.tnb-product-card {
  --card-ink: #171717;
  --card-paper: #fff;
  --card-brand: #ffd43b;
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #e6e1d8;
  border-radius: 15px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .055);
  background: #fff;
  color: var(--card-ink);
  text-align: left;
  transition: border-color .2s, box-shadow .2s;
}
.tnb-product-card *, .tnb-product-card *::before { box-sizing: border-box; }
.tnb-product-card [hidden] { display: none; }
.tnb-product-card__media { position: relative; padding: 0; background: var(--card-paper); }
.tnb-product-card__toolbar { position: absolute; z-index: 2; top: 8px; right: 8px; left: 8px; display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; min-height: 44px; margin: 0; pointer-events: none; }
.tnb-product-card__badges { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; min-width: 0; }
.tnb-product-card__badge, .tnb-product-card__stock { padding: 5px 8px; border-radius: 4px; color: #fff; background: var(--card-ink); font-size: 9px; font-weight: 600; line-height: 1.5; letter-spacing: .07em; text-transform: uppercase; overflow-wrap: anywhere; }
.tnb-product-card__stock { background: #e3e1dd; color: #625e57; }
.tnb-product-card .tnb-product-card__icon { display: inline-flex; flex: 0 0 40px; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .94); box-shadow: 0 2px 8px rgba(0, 0, 0, .14); color: var(--card-ink); font-size: 20px; cursor: pointer; }
.tnb-product-card__badges, .tnb-product-card .tnb-product-card__icon { pointer-events: auto; }
.tnb-product-card .tnb-product-card__icon.is-active { color: var(--card-ink); background: rgba(255, 255, 255, .94); }
.tnb-product-card__image-link { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 14px 14px 0 0; background: #fff; }
.tnb-product-card .tnb-product-card__image { display: block; width: 80%; height: 80%; margin: auto; object-fit: contain; object-position: center; transition: opacity .25s, transform .4s; }
.tnb-product-card .tnb-product-card__image--secondary { position: absolute; inset: 10%; width: 80%; height: 80%; margin: 0; opacity: 0; }
.tnb-product-card .tnb-product-card__image[hidden] { display: none; }
.tnb-product-card__placeholder { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; color: #a49b8d; font-size: 36px; }
.tnb-product-card__colors { display: flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 16px 10px; }
.tnb-product-card__colors--empty { pointer-events: none; }
.tnb-product-card__swatch { cursor: pointer; font: inherit; color: inherit; display: inline-flex; flex: 0 0 36px; width: 36px; height: 36px; align-items: center; justify-content: center; padding: 3px; border: 1px solid transparent; border-radius: 50%; background: #fff; text-decoration: none; }
.tnb-product-card__swatch > span { display: block; width: 100%; height: 100%; border: 1px solid #b8c0bc; border-radius: 50%; background-position: center; background-size: cover; }
.tnb-product-card__swatch.is-selected { border-color: #23483b; box-shadow: none; }
.tnb-product-card__swatch:focus-visible { outline: 2px solid #23483b; outline-offset: 2px; }
.tnb-product-card__more-colors { color: #171717; font-size: 12px; line-height: 1.4; text-decoration: none; white-space: nowrap; }
.tnb-product-card__more-colors:hover { text-decoration: underline; }
@media (max-width: 767px) { .tnb-product-card__colors { gap: 4px; min-height: 34px; padding: 2px 10px 4px; } .tnb-product-card__swatch { flex-basis: 30px; width: 30px; height: 30px; } .tnb-product-card__more-colors { font-size: 11px; } }

.tnb-product-card__saving { padding: 3px 5px; border-radius: 4px; background: #fff4bd; color: #171717; font-size: 10px; font-weight: 700; line-height: 16px; white-space: nowrap; }
.tnb-product-card__body { display: flex; flex: 1; min-width: 0; flex-direction: column; padding: 18px; }
.tnb-product-card .tnb-product-card__title { margin: 0; min-height: 44px; font: inherit; font-size: 17px; font-weight: 600; line-height: 23px; }
.tnb-product-card .tnb-product-card__title a { display: -webkit-box; min-width: 0; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; text-overflow: ellipsis; color: var(--card-ink); text-decoration: none; overflow-wrap: anywhere; }
.tnb-product-card__sku { display: block; position: relative; width: 100%; min-width: 0; margin: 0 0 8px; line-height: 1.4; overflow-wrap: anywhere; }
.tnb-product-card__rating { min-height: 0; margin: 0; font-size: 11px; color: #625e57; }
.tnb-product-card__rating i { color: #8b6900; }
.tnb-product-card__rating-total { color: #928b7f; }
.tnb-product-card__prices { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 8px; flex: 1 1 130px; min-width: 0; min-height: 28px; margin: 0; font-variant-numeric: tabular-nums; }
.tnb-product-card__price, .tnb-product-card__old-price { display: inline-flex; align-items: baseline; gap: 5px; white-space: nowrap; }
.tnb-product-card__price { color: #f04444; font-size: 14px; font-weight: 600; line-height: 20px; letter-spacing: 0; }
.tnb-product-card__price > span:first-child { font-size: .75em; }
.tnb-product-card__old-price { color: #777; font-size: 12px; line-height: 18px; }
.tnb-product-card .tnb-product-card__cta { display: flex; align-items: center; justify-content: center; flex: 1 1 120px; width: auto; min-height: 46px; margin-top: 0; padding: 11px 8px; border: 1px solid var(--card-ink); border-radius: 6px; background: var(--card-ink); color: #fff; font: inherit; font-size: 11px; font-weight: 600; line-height: 18px; letter-spacing: .07em; text-align: center; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s; }
.tnb-product-card .tnb-product-card__cta.btn_remove_cart { background: #fff; color: var(--card-ink); border-color: #cfc8bb; }
.tnb-product-card .tnb-product-card__cta:disabled { background: #ece9e2; border-color: #ece9e2; color: #777065; cursor: not-allowed; }
.tnb-product-card button, .tnb-product-card a { touch-action: manipulation; }
.tnb-product-card :focus-visible { outline: 2px solid #171717; outline-offset: -3px; }
@media (hover: hover) and (pointer: fine) {
  .tnb-product-card:hover { border-color: #cfc8bb; box-shadow: 0 10px 28px #2426260d; }
  .tnb-product-card__image-link:hover .tnb-product-card__image--secondary[data-image-ready="true"]:not([hidden]) { opacity: 1; }
  .tnb-product-card__image-link:hover:has(.tnb-product-card__image--secondary[data-image-ready="true"]:not([hidden])) .tnb-product-card__image:not(.tnb-product-card__image--secondary),
  .tnb-product-card__image-link:hover:has(.tnb-product-card__image--secondary[data-image-ready="true"]:not([hidden])) .tnb-product-card__placeholder { opacity: 0; }
  .tnb-product-card .tnb-product-card__title a:hover { color: #735800; }
  .tnb-product-card .tnb-product-card__cta:not(:disabled):hover { background: #333; border-color: #333; color: #fff; }
}
@media (max-width: 767px) {
  .tnb-product-card { border-radius: 10px; }
  .tnb-product-card__media { padding: 0; }
  .tnb-product-card__toolbar { top: 6px; right: 6px; left: 6px; gap: 6px; }
  .tnb-product-card__badge, .tnb-product-card__stock { padding: 4px 6px; font-size: 8px; letter-spacing: .025em; }
  .tnb-product-card__body { padding: 8px 10px 10px; }
  .tnb-product-card .tnb-product-card__title { min-height: 40px; font-size: 13px; line-height: 20px; }
  .tnb-product-card__prices { flex-basis: 100%; min-height: 0; align-content: flex-start; gap: 3px 5px; margin: 0; }
  .tnb-product-card__price { font-size: 14px; line-height: 20px; }
  .tnb-product-card__old-price { font-size: 10px; gap: 2px; }
  .tnb-product-card__price { gap: 3px; }
  .tnb-product-card__saving { font-size: 9px; padding: 1px 4px; }
  .tnb-product-card .tnb-product-card__cta { min-height: 44px; font-size: 10px; letter-spacing: .025em; }
}
@media (prefers-reduced-motion: reduce) {
  .tnb-product-card, .tnb-product-card .tnb-product-card__image, .tnb-product-card .tnb-product-card__cta { transition: none; }
}


.tnb-product-card__category { margin: 0 0 2px; color: #777065; font-size: 10px; font-weight: 600; line-height: 1.5; letter-spacing: .08em; text-transform: uppercase; overflow-wrap: anywhere; }
.tnb-product-card__description { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin: 9px 0 12px; color: #777065; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.tnb-product-card__features { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
.tnb-product-card__feature { min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 4px 8px; border-radius: 8px; background: #f4f3f0; color: #777065; font-size: 10px; line-height: 1.4; }
.tnb-product-card__purchase { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: auto; padding-top: 6px; }
.tnb-product-card__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; min-height: 36px; margin-top: 14px; padding-top: 12px; border-top: 1px solid #e6e1d8; }
.tnb-product-card__availability { flex: 0 0 100%; margin: 0; color: #625e57; font-size: 10px; font-weight: 600; line-height: 1.5; }
.tnb-product-card__sku { flex: 0 0 auto; margin: 4px 0 0; color: #777065; font-size: 10px; line-height: 1.5; overflow-wrap: anywhere; }
.tnb-product-card__availability.is-unavailable { color: #8a8378; }
@media (max-width: 767px) {
  .tnb-product-card__description { font-size: 11px; }
  .tnb-product-card__category { font-size: 9px; }
  .tnb-product-card__feature { font-size: 9px; padding: 3px 6px; }
  .tnb-product-card__purchase { gap: 4px; margin-top: 4px; padding-top: 2px; }
  .tnb-product-card .tnb-product-card__cta { flex-basis: 100%; }
  .tnb-product-card__meta { gap: 4px; margin-top: 12px; padding-top: 10px; }
}

/* Storefront layouts share the same card without inheriting legacy card skins. */
.product-list-grid-view-area .shop-product-area #grid-view .product-container,
.tnb-wishlist-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
}
.product-list-grid-view-area .shop-product-area #grid-view .product-container::before,
.product-list-grid-view-area .shop-product-area #grid-view .product-container::after { display: none; }
.product-list-grid-view-area #list-view .tnb-product-card { margin-bottom: 20px; }
.related-grid-item, .related-carousel-item, .recently-products .item-col { display: flex; }
.related-grid-item > .tnb-product-card,
.related-carousel-item > .tnb-product-card,
.recently-products .item-col > .tnb-product-card { flex: 1; }
.subcat-carousel .owl-stage,
.related-products-carousel .owl-stage,
.recently-products .owl-stage { display: flex; }
.subcat-carousel .owl-item,
.related-products-carousel .owl-item,
.recently-products .owl-item { display: flex; float: none; }
.subcat-carousel .owl-item > .tnb-product-card,
.related-products-carousel .owl-item > .related-carousel-item,
.recently-products .owl-item > .item-col { width: 100%; }
@media (min-width: 768px) {
  .product-list-grid-view-area #list-view .tnb-product-card { flex-direction: row; }
  .product-list-grid-view-area #list-view .tnb-product-card__media { flex: 0 0 260px; }
  .product-list-grid-view-area #list-view .tnb-product-card__body { padding: 28px; justify-content: center; }
  .product-list-grid-view-area #list-view .tnb-product-card__title { font-size: 20px; line-height: 28px; }
  .product-list-grid-view-area #list-view .tnb-product-card__cta { max-width: 260px; margin-top: 0; }
}
@media (max-width: 1199px) {
  .product-list-grid-view-area .shop-product-area #grid-view .product-container,
  .tnb-wishlist-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
}
@media (max-width: 767px) {
  .product-list-grid-view-area .shop-product-area #grid-view .product-container,
  .tnb-wishlist-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product-list-grid-view-area #list-view .tnb-product-card { max-width: 420px; margin-inline: auto; }
}
@media (max-width: 359px) {
  .product-list-grid-view-area .shop-product-area #grid-view .product-container,
  .tnb-wishlist-grid { grid-template-columns: 1fr; }
}

/* Product-card.html reference, using the storefront's live product content. */
.tnb-product-card {
  --card-ink: #18221d;
  --card-paper: #fcfaf6;
  --card-brand: #123e2d;
  border-color: #ded9cf;
  border-radius: 18px;
  background: var(--card-paper);
  box-shadow: 0 12px 40px #24291f08;
}
.tnb-product-card__media { padding: 0; background: #faf8f3; }
.tnb-product-card__toolbar { top: 16px; right: 18px; left: 20px; }
.tnb-product-card__badge { padding: 9px 11px; border-radius: 5px; background: #000; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; }
.tnb-product-card .tnb-product-card__icon { flex-basis: 38px; width: 38px; height: 38px; border: 1px solid #ded9cf; background: #ffffffa8; box-shadow: none; }
.tnb-product-card .tnb-product-card__icon.is-active { color: var(--card-brand); background: #ffffffa8; }
.tnb-product-card__image-link {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 5 / 4;
  border-radius: 0;
  background: transparent;
}
.tnb-product-card .tnb-product-card__image {
  width: 80%;
  height: 80%;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: multiply;
}
.tnb-product-card__body { padding: 12px 22px 14px; background: #fff; }
.tnb-product-card__body > .tnb-product-card__colors { flex-wrap: wrap; gap: 6px; min-height: 36px; margin: 0 0 10px; padding: 0; }
.tnb-product-card__body > .tnb-product-card__colors--empty { display: none; }
.tnb-product-card__swatch { flex-basis: 36px; width: 36px; height: 36px; background: transparent; }
.tnb-product-card__swatch.is-selected { border-color: var(--card-brand); }
.tnb-product-card__category { margin: 0 0 5px; color: #77736b; font-size: 10px; font-weight: 700; letter-spacing: 1.7px; }
.tnb-product-card .tnb-product-card__title { min-height: 0; margin: 0 0 8px; font-size: 21px; font-weight: 500; line-height: 1.35; letter-spacing: -.4px; }
.tnb-product-card__sku { margin-bottom: 8px; color: #77736b; font-size: 10px; letter-spacing: .3px; }
.tnb-product-card__features { gap: 7px; margin: 0; }
.tnb-product-card__feature { padding: 6px 10px; border-radius: 7px; background: #f0ede6; color: #625e56; font-size: 11px; }
.tnb-product-card__purchase { gap: 0; padding-top: 12px; }
.tnb-product-card__availability { display: flex; align-items: center; gap: 7px; margin: 0 0 6px; color: #18221d; font-size: 12px; }
.tnb-product-card__availability::before { content: ''; flex: 0 0 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--card-brand); }
.tnb-product-card__availability.is-unavailable::before { background: #8a8378; }
.tnb-product-card__prices { flex: 0 0 100%; align-items: center; flex-wrap: nowrap; gap: 7px; margin: 0 0 12px; min-height: 30px; }
.tnb-product-card__price { color: var(--card-brand); font-size: 20px; font-weight: 700; line-height: 1.2; letter-spacing: -.5px; white-space: nowrap; }
.tnb-product-card__price > span:first-child { font-size: .7em; letter-spacing: normal; }
.tnb-product-card__old-price { flex-shrink: 1; color: #77736b; font-size: 11px; min-width: 0; }
.tnb-product-card__saving { flex-shrink: 0; margin-left: auto; padding: 4px 6px; border-radius: 5px; background: #e7ecd8; color: var(--card-brand); font-size: 10px; white-space: nowrap; }
.tnb-product-card .tnb-product-card__cta { flex: 0 0 100%; width: 100%; min-height: 46px; gap: 10px; padding: 12px; border-color: var(--card-brand); border-radius: 8px; background: var(--card-brand); font-size: 13px; line-height: 21px; letter-spacing: normal; text-transform: none; }
.tnb-product-card .tnb-product-card__cta i { color: inherit; font-size: 21px; }
.tnb-product-card :focus-visible { outline: 2px solid #9a7227; outline-offset: -2px; }
.tnb-product-card .tnb-product-card__swatch:focus-visible { outline-offset: 2px; }
.tnb-product-card .tnb-whatsapp-enquiry {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  animation: tnb-card-entrance .8s cubic-bezier(.16, 1, .3, 1) both, tnb-card-glow 2.4s ease-in-out .8s infinite;
  transition: background .25s ease, transform .3s ease, box-shadow .3s ease;
}
.tnb-product-card .tnb-whatsapp-enquiry::after {
  content: '';
  position: absolute;
  inset: -80% -40%;
  z-index: -1;
  background: linear-gradient(110deg, transparent 35%, #ffffff40 49%, transparent 63%);
  transform: translateX(-120%);
  animation: tnb-card-shine 3.5s ease-in-out 1s infinite;
  pointer-events: none;
}
.tnb-product-card .tnb-whatsapp-enquiry i { animation: tnb-card-wiggle 3.5s ease-in-out 1s infinite; }
@media (hover: hover) and (pointer: fine) {
  .tnb-product-card .tnb-product-card__title a:hover { color: var(--card-brand); }
  .tnb-product-card .tnb-product-card__cta:not(:disabled):hover { background: #1e543e; border-color: #1e543e; }
  .tnb-product-card .tnb-whatsapp-enquiry:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 14px 26px #123e2d40; animation: tnb-card-glow 1.2s ease-in-out infinite; }
  .tnb-product-card .tnb-whatsapp-enquiry:hover i { animation: tnb-card-wiggle .8s ease-in-out infinite; }
}
.tnb-product-card .tnb-whatsapp-enquiry:active { transform: translateY(1px) scale(.96); animation: none; }
@keyframes tnb-card-entrance {
  from { opacity: 0; transform: translateY(26px) scale(.88); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes tnb-card-glow {
  0%, 100% { box-shadow: 0 0 0 0 #23734c00, 0 4px 12px #123e2d18; }
  50% { box-shadow: 0 0 0 7px #23734c20, 0 8px 24px #123e2d35; }
}
@keyframes tnb-card-shine {
  0%, 35% { transform: translateX(-120%); }
  70%, 100% { transform: translateX(120%); }
}
@keyframes tnb-card-wiggle {
  0%, 65%, 100% { transform: rotate(0) scale(1); }
  72% { transform: rotate(-16deg) scale(1.18); }
  80% { transform: rotate(13deg) scale(1.18); }
  88% { transform: rotate(-8deg) scale(1.1); }
}
@media (max-width: 767px) {
  .tnb-product-card { border-radius: 14px; }
  .tnb-product-card__media { padding: 0; }
  .tnb-product-card__toolbar { top: 10px; right: 10px; left: 10px; }
  .tnb-product-card__badge { padding: 6px; font-size: 8px; letter-spacing: .5px; }
  .tnb-product-card__body { padding: 10px 12px 12px; }
  .tnb-product-card__body > .tnb-product-card__colors { gap: 4px; margin-bottom: 8px; }
  .tnb-product-card__swatch { flex-basis: 30px; width: 30px; height: 30px; }
  .tnb-product-card .tnb-product-card__title { font-size: 16px; }
  .tnb-product-card__feature { padding: 5px 7px; font-size: 10px; }
  .tnb-product-card__price { font-size: 21px; }
  .tnb-product-card__prices { gap: 6px; margin-bottom: 10px; }
  .tnb-product-card .tnb-product-card__cta { padding: 12px 8px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .tnb-product-card .tnb-whatsapp-enquiry,
  .tnb-product-card .tnb-whatsapp-enquiry::after,
  .tnb-product-card .tnb-whatsapp-enquiry i { animation: none; transition: none; }
  .tnb-product-card .tnb-whatsapp-enquiry:hover,
  .tnb-product-card .tnb-whatsapp-enquiry:active { transform: none; animation: none; }
  .tnb-product-card .tnb-whatsapp-enquiry::after { display: none; }
}

/* Compact list-view tiles: small image, tight rows, inline price + CTA. */
@media (min-width: 768px) {
  .product-list-grid-view-area #list-view .tnb-product-card { flex-direction: row; margin-bottom: 12px; }
  .product-list-grid-view-area #list-view .tnb-product-card__media { flex: 0 0 132px; }
  .product-list-grid-view-area #list-view .tnb-product-card__colors { min-height: 30px; padding: 2px 8px 4px; }
  .product-list-grid-view-area #list-view .tnb-product-card__swatch { flex-basis: 24px; width: 24px; height: 24px; padding: 2px; }
  .product-list-grid-view-area #list-view .tnb-product-card__body {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 3px 16px;
    padding: 10px 16px 12px;
  }
  .product-list-grid-view-area #list-view .tnb-product-card__brand { flex: 1 1 100%; margin: 0; }
  .product-list-grid-view-area #list-view .tnb-product-card__category { flex: 1 1 auto; }
  .product-list-grid-view-area #list-view .tnb-product-card__sku { flex: 1 1 100%; margin: 0; font-size: 11px; }
  .product-list-grid-view-area #list-view .tnb-product-card__title { flex: 1 1 100%; min-height: 0; font-size: 15px; line-height: 20px; }
  .product-list-grid-view-area #list-view .tnb-product-card__features { flex: 1 1 100%; gap: 4px; margin: 0; }
  .product-list-grid-view-area #list-view .tnb-product-card__feature { padding: 2px 7px; font-size: 9px; }
  .product-list-grid-view-area #list-view .tnb-product-card__purchase { flex: 1 1 100%; align-items: center; gap: 16px; }
  .product-list-grid-view-area #list-view .tnb-product-card__prices { flex: 1 1 auto; min-width: 0; min-height: 0; align-content: center; }
  .product-list-grid-view-area #list-view .tnb-product-card__price { font-size: 15px; }
  .product-list-grid-view-area #list-view .tnb-product-card__cta { flex: 0 0 150px; margin-left: auto; min-height: 38px; padding: 7px 14px; font-size: 11px; }
}

/* Align the purchase controls across mobile grid rows, even when specs wrap. */
@media (max-width: 767px) {
  .tnb-product-card .tnb-product-card__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
  }
  .tnb-product-card .tnb-product-card__purchase {
    margin-top: auto;
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
  }
  .tnb-product-card .tnb-product-card__prices,
  .tnb-product-card .tnb-product-card__price-on-request {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    min-height: 32px;
    margin: 0 0 12px !important;
  }
  .tnb-product-card .tnb-product-card__prices { flex-wrap: wrap; }
  .tnb-product-card .tnb-product-card__features {
    min-height: 56px;
    align-content: flex-start;
    align-items: flex-start;
  }
  .tnb-product-card .tnb-product-card__feature {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .tnb-product-card .tnb-product-card__purchase .tnb-product-card__cta {
    flex: 0 0 auto;
    width: 100%;
    min-height: 46px;
    margin-top: 0;
  }
  .tnb-product-card .tnb-product-card__meta { min-height: 0; }
}

/* Let catalogue cards size to their content instead of inheriting a tall column. */
.product-list-grid-view-area .tnb-product-card {
  height: auto;
  min-height: 0;
}
@media (max-width: 767px) {
  .tnb-product-card { height: auto; min-height: 0; }
  .tnb-product-card .tnb-product-card__body { padding: 12px; }
  .tnb-product-card .tnb-product-card__title { min-height: 40px; font-size: 14px; line-height: 20px; margin-bottom: 8px; }
  .tnb-product-card .tnb-product-card__features { min-height: 48px; gap: 5px; }
  .tnb-product-card .tnb-product-card__purchase { padding-top: 10px; }
  .tnb-product-card .tnb-product-card__category { font-size: 9px; }
  .tnb-product-card .tnb-product-card__sku { margin: 0 0 8px; font-size: 9px; }
}

@media(max-width:767px){
 .tnb-product-card .tnb-product-card__body .tnb-product-card__features{display:none!important;min-height:0!important;margin:0!important;padding:0!important;}
}
