/* The product page's new design (layout from migration 008). White page, hairlines instead of cards, one soft grey for the
   picture and the price, green only where the eye should go. Corners of at most 10px. */
.tm-pd-page { --pd-ink: #1f2421; --pd-soft: #5d6661; --pd-mute: #7b847f; --pd-line: #e6e9e7; --pd-soft-bg: #f5f6f5; }
.tm-pd-page .elementor-section:is(.tm-pd-crumbs, .tm-pd-main, .tm-pd-info, .tm-pd-more) > .elementor-container { max-width: 1400px; }
.tm-pd-page :is(.tm-pd-crumbs, .tm-pd-main, .tm-pd-info, .tm-pd-more) .elementor-widget-wrap { padding: 0 !important; }

/* breadcrumb */
.tm-pd-page .elementor-section.tm-pd-crumbs { margin-top: -38px; padding-block: 12px 14px; color: var(--pd-mute); font-size: 13px; line-height: 1.8; }
.tm-pd-crumbs :is(.elementor-widget, div, p) { text-align: start !important; }
.tm-pd-crumbs p { margin: 0; }
.tm-pd-crumbs a { color: inherit; text-decoration: none; }
/* one line whatever the font: a breadcrumb that wraps once the web font arrives pushes the whole page down */
.tm-pd-crumbs :is(p, .rank-math-breadcrumb) { overflow: hidden; height: 24px; white-space: nowrap; text-overflow: ellipsis; }
.tm-pd-crumbs a:hover { color: var(--ps-primary); }

/* the two columns */
.tm-pd-main > .elementor-container { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 60px; }
.tm-pd-main .elementor-column.elementor-top-column { width: auto !important; min-width: 0; }
@media (min-width: 1025px) { .tm-pd-gallery { position: sticky; top: 20px; } }

/* the pictures: a soft ground, the product on it */
.tm-pd-page .ps-gallery__main { position: relative; overflow: hidden; border: 1px solid var(--pd-line); border-radius: 10px; background: #fff; }
.tm-pd-page .ps-gallery__slide img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.tm-pd-page .ps-gallery__nav { width: 40px; height: 40px; border: 0; border-radius: 10px; background: none; color: var(--pd-ink); box-shadow: none; opacity: 0; transition: opacity .2s ease, color .2s ease; }
.tm-pd-page .ps-gallery__main:hover .ps-gallery__nav { opacity: 1; }
.tm-pd-page .ps-gallery__nav:hover { color: var(--ps-primary); }
.tm-pd-page .ps-gallery__labels { top: 14px; inset-inline: auto 14px; }
.tm-pd-page .ps-gallery__labels .onsale { padding: 4px 12px; border-radius: 10px; background: #d92d3a; box-shadow: none; color: #fff; font-size: 13px; font-weight: 700; line-height: 1.7; }
.tm-pd-page .ps-gallery__thumbs { display: flex; flex-wrap: nowrap; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; }
.tm-pd-page .ps-gallery__thumbs::-webkit-scrollbar { display: none; }
.tm-pd-page .ps-gallery__thumb { flex: 0 0 84px; width: 84px; height: 84px; padding: 0; overflow: hidden; border: 1px solid var(--pd-line); border-radius: 10px; background: #fff; opacity: 1; cursor: pointer; transition: border-color .2s ease; }
.tm-pd-page .ps-gallery__thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
.tm-pd-page .ps-gallery__thumb:hover { border-color: #b9c6bf; }
.tm-pd-page .ps-gallery__thumb.is-active { border-color: var(--ps-primary); box-shadow: inset 0 0 0 1px var(--ps-primary); }
@media (min-width: 768px) {
	.tm-pd-page .ps-gallery { display: flex; flex-direction: row-reverse; align-items: flex-start; gap: 12px; }
	.tm-pd-page .ps-gallery__main { flex: 1 1 auto; min-width: 0; }
	.tm-pd-page .ps-gallery__thumbs { flex: 0 0 84px; flex-direction: column; align-self: stretch; max-height: 100%; margin-top: 0 !important; overflow: hidden auto; }
	.tm-pd-page .ps-gallery__thumb { flex: 0 0 84px; width: 84px !important; max-width: none !important; }
}

/* the buying side, top to bottom */
.tm-pd-buy .elementor-widget { margin: 0; }
.tm-pd-kicker { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; font-size: 13.5px; line-height: 1.8; }
.tm-pd-kicker a { color: var(--ps-primary); font-weight: 700; text-decoration: none; }
.tm-pd-kicker a:hover { color: #1a1a1a; }
.tm-pd-kicker span { color: var(--pd-mute); }
.tm-pd-buy h1.product_title { margin: 0; color: var(--pd-ink); font-size: clamp(22px, 2.1vw, 30px); font-weight: 700; line-height: 1.65; text-align: start; }
.tm-pd-buy .elementor-widget.elementor-widget-wd_single_product_short_description { margin-top: 10px; color: var(--pd-soft); font-size: 14.5px; line-height: 2; }
.tm-pd-buy .elementor-widget-wd_single_product_short_description p:last-child { margin-bottom: 0; }

/* the price */
.tm-pd-buy .elementor-widget.tm-pd-price { margin-top: 20px; padding: 18px 20px; border-radius: 10px; background: var(--pd-soft-bg); }
.tm-pd-price p.price { margin: 0; }
.tm-pd-price p.price > span[data-price-liveupdate], .tm-pd-price p.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.tm-pd-price p.price br { display: none; }
.tm-pd-price p.price ins { order: -1; color: var(--ps-primary); font-size: clamp(26px, 2.5vw, 32px); font-weight: 700; line-height: 1.5; text-decoration: none; }
.tm-pd-price p.price > .amount, .tm-pd-price p.price > span > .amount { color: var(--ps-primary); font-size: clamp(24px, 2.5vw, 30px); font-weight: 700; line-height: 1.5; }
.tm-pd-price p.price del { color: var(--pd-mute); font-size: 15px; font-weight: 500; }
.tm-pd-price .woocommerce-Price-currencySymbol { margin-inline-start: 2px; font-size: 14px; font-weight: 500; }

/* weight, number, button */
.tm-pd-buy .elementor-widget.tm-pd-cart { margin-top: 20px; }
.tm-pd-cart table.variations { display: block; width: 100%; margin: 0 0 16px; border: 0; }
.tm-pd-cart table.variations :is(tbody, tr, th, td) { display: block !important; width: 100% !important; padding: 0; border: 0; background: none; text-align: start; }
.tm-pd-cart table.variations tr + tr { margin-top: 12px; }
.tm-pd-cart table.variations th.label { margin-bottom: 8px; }
.tm-pd-cart table.variations th.label label { color: var(--pd-ink); font-size: 14px; font-weight: 700; line-height: 1.8; }
.tm-pd-cart .vi-wpvs-variation-wrap { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 8px; }
.tm-pd-cart .vi-wpvs-variation-wrap .vi-wpvs-option-wrap { display: inline-flex; align-items: center; justify-content: center; min-width: 64px; min-height: 42px; margin: 0 !important; padding: 0 14px !important; border: 1px solid #d9dfdb !important; border-radius: 10px !important; background: #fff !important; box-shadow: none !important; color: var(--pd-ink) !important; letter-spacing: 0; cursor: pointer; transition: border-color .15s ease, background-color .15s ease, color .15s ease; }
.tm-pd-cart .vi-wpvs-variation-wrap .vi-wpvs-option-wrap .vi-wpvs-option { padding: 0 !important; background: none !important; color: inherit !important; font-size: 14px !important; font-weight: 500 !important; line-height: 1 !important; }
.tm-pd-cart .vi-wpvs-variation-wrap .vi-wpvs-option-wrap:hover { border-color: var(--ps-primary) !important; color: var(--ps-primary) !important; }
.tm-pd-cart .vi-wpvs-variation-wrap .vi-wpvs-option-wrap.vi-wpvs-option-wrap-selected { border-color: var(--ps-primary) !important; background: var(--ps-primary) !important; color: #fff !important; }
.tm-pd-cart a.reset_variations { display: none !important; }
/* (the weights, then the button under them, before and after a weight is chosen) */
.tm-pd-cart form.variations_form { display: block !important; }
.tm-pd-cart form.variations_form table.variations { float: none !important; width: 100% !important; }
.tm-pd-cart form.variations_form .single_variation_wrap { display: block !important; float: none !important; clear: both; width: 100% !important; max-width: none !important; margin: 16px 0 0 !important; }
.tm-pd-cart form.variations_form .woocommerce-variation { display: block; width: 100%; margin: 0; }
/* the chosen weight's price is shown in the price box above (inc/product-design.php), not a second time here */
.tm-pd-cart .woocommerce-variation-price { display: none !important; }
.tm-pd-price.has-chosen p.price:not(.tm-pd-chosen) { display: none; }
.tm-pd-cart :is(form.cart:not(.variations_form), .woocommerce-variation-add-to-cart) { display: flex; align-items: stretch; gap: 10px; margin: 0; }
.tm-pd-cart .quantity { display: inline-flex; flex: none; align-items: stretch; height: 52px; margin: 0; overflow: hidden; border: 1px solid #d9dfdb; border-radius: 10px; background: #fff; }
.tm-pd-cart .quantity :is(input[type="button"], button, .minus, .plus) { width: 38px; height: 100%; padding: 0; border: 0; border-radius: 0; background: none; color: var(--pd-ink); font-size: 18px; line-height: 1; cursor: pointer; }
.tm-pd-cart .quantity :is(input[type="button"], button, .minus, .plus):hover { color: var(--ps-primary); }
.tm-pd-cart .quantity input.qty { width: 40px; height: 100%; padding: 0; border: 0; background: none; box-shadow: none; color: var(--pd-ink); font-size: 15px; font-weight: 700; text-align: center; }
/* (the same height as the button; site.css sets 42px for form.cart) */
.tm-pd-cart form.cart .quantity { box-sizing: border-box; height: 52px; }
.tm-pd-cart form.cart .quantity .ps-qty-btn { width: 38px; height: 50px; min-height: 50px; padding: 0; border: 0; background: none; color: var(--pd-ink); font-size: 18px; }
.tm-pd-cart form.cart .quantity input.qty { height: 50px; }
.tm-pd-cart form.cart .single_add_to_cart_button { box-sizing: border-box; flex: 1 1 auto; height: 52px; min-height: 52px; padding: 0 20px; border: 0; border-radius: 10px; background: var(--ps-primary); box-shadow: none; color: #fff; font-size: 16px; font-weight: 700; line-height: 1.4; transition: background-color .2s ease; }
.tm-pd-cart .single_add_to_cart_button:hover { background: #0d3a26; color: #fff; }

/* SnappPay: one slim line */
.tm-pd-buy .elementor-widget.tm-pd-snapp { margin-top: 12px; }
.tm-pd-snapp .woocommerce-Price-currencySymbol { margin-inline-start: 4px; }
.tm-pd-snapp .snapppay-widget { gap: 12px; padding: 10px 14px; border: 1px solid var(--pd-line); border-radius: 10px; }
.tm-pd-snapp .snapppay-widget-image { flex: none; width: 36px; height: 36px; border-radius: 8px; }
.tm-pd-snapp :is(.snapppay-widget-title, .snapppay-widget-description, .snapppay-widget-title *) { font-family: inherit !important; }
.tm-pd-snapp .snapppay-widget-title { color: var(--pd-ink); font-size: 14px; font-weight: 700; line-height: 1.8; }
.tm-pd-snapp .snapppay-widget-description { color: var(--pd-soft); font-size: 12.5px; line-height: 1.8; }

/* why here */
.tm-pd-trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 18px 0 0; padding: 16px 0; border-block: 1px solid var(--pd-line); list-style: none; }
.tm-pd-trust li { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--pd-soft); font-size: 12.5px; line-height: 1.7; }
.tm-pd-trust li .ps-icon { flex: none; color: var(--ps-primary); }
.tm-pd-trust b { display: block; color: var(--pd-ink); font-size: 13.5px; font-weight: 700; }

/* how the price is worked out, the guarantee */
.tm-pd-acc .ps-accordion__item { border-color: var(--pd-line); }
.tm-pd-acc .ps-accordion__title, .tm-pd-acc .ps-accordion__title:hover, .tm-pd-acc .ps-accordion__item.is-open > .ps-accordion__title { padding-block: 14px; color: var(--pd-ink) !important; }
.tm-pd-acc .ps-accordion__title:hover { color: var(--ps-primary) !important; }
.tm-pd-acc .ps-accordion__title-text { font-size: 14px; font-weight: 700 !important; }
.tm-pd-acc .ps-accordion__content { color: var(--pd-soft); font-size: 14px; line-height: 2; }

/* description, specifications, reviews: a segmented switch, each panel in its own right */
.tm-pd-info { margin-top: 60px; }
.tm-pd-info .ps-tabs__nav { display: inline-flex; gap: 4px; max-width: 100%; margin: 0; padding: 5px; overflow-x: auto; border: 0; border-radius: 10px; background: #f1f3f2; scrollbar-width: none; }
.tm-pd-info .ps-tabs__nav::-webkit-scrollbar { display: none; }
.tm-pd-info .ps-tabs__tab { flex: none; min-height: 44px; margin: 0; padding: 0 26px; border: 0 !important; border-radius: 8px; background: none; color: var(--pd-soft); font-size: 15px; font-weight: 700; line-height: 1.6; cursor: pointer; transition: color .2s ease, background-color .2s ease; }
.tm-pd-info .ps-tabs__tab::after { display: none !important; }
.tm-pd-info .ps-tabs__tab:hover { color: var(--pd-ink); }
.tm-pd-info .ps-tabs__tab.is-active { background: #fff; color: var(--ps-primary); }
.tm-pd-info .ps-tabs__panel { max-width: none; padding: 28px 0 0; color: #3f4743; font-size: 15.5px; line-height: 2.15; }
/* the description uses the panel's whole width, justified (the owner: no empty side) */
.tm-pd-info .woocommerce-Tabs-panel--description { text-align: justify; text-justify: inter-word; }
.tm-pd-info .woocommerce-Tabs-panel--description :is(p, li) { text-align: justify; }
.tm-pd-info .woocommerce-Tabs-panel--description :is(h2, h3, h4) { text-align: start; }
/* descriptions laid out with Elementor sections: their negative gap pushed the text 10px past the tabs on each side */
.tm-pd-info .woocommerce-Tabs-panel--description .elementor-section > .elementor-container { margin-inline: 0; }
.tm-pd-info .woocommerce-Tabs-panel--description > p:last-child { margin-bottom: 0; }
.tm-pd-info .woocommerce-Tabs-panel--description :is(h2, h3, h4) { margin: 24px 0 8px; color: var(--pd-ink); font-size: 18px; font-weight: 700; line-height: 1.8; }

/* the specifications */
.tm-pd-info .shop_attributes { display: block; width: 100%; max-width: 760px; margin: 0; overflow: hidden; border: 1px solid var(--pd-line); border-radius: 10px; border-collapse: separate; border-spacing: 0; }
.tm-pd-info .shop_attributes tbody { display: block; }
.tm-pd-info .shop_attributes tr { display: grid; grid-template-columns: minmax(110px, 30%) minmax(0, 1fr); align-items: center; }
.tm-pd-info .shop_attributes tr:nth-child(odd) { background: #f7f8f7; }
.tm-pd-info .shop_attributes tr + tr { border-top: 1px solid var(--pd-line); }
.tm-pd-info .shop_attributes :is(th, td) { display: block; padding: 15px 20px; border: 0; background: none; font-size: 14.5px; line-height: 1.9; text-align: start; }
.tm-pd-info .shop_attributes th { width: auto !important; color: var(--pd-soft); font-weight: 500; white-space: nowrap; }
.tm-pd-info .shop_attributes td { color: var(--pd-ink); font-weight: 700; }
.tm-pd-info .shop_attributes td p { margin: 0; }
.tm-pd-info .shop_attributes td a { color: var(--ps-primary); text-decoration: none; }
.tm-pd-info .shop_attributes td a:hover { color: #1a1a1a; }
.tm-pd-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tm-pd-tags span { display: inline-block; padding: 2px 10px; border: 1px solid #dfe4e1; border-radius: 8px; background: #fff; color: var(--pd-ink); font-size: 13px; font-weight: 500; line-height: 1.8; }

/* the reviews: the score and the list, the form on a soft ground beside them */
.tm-pd-info #reviews.tm-pd-rv { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; gap: 44px; }
.tm-pd-rv__score { display: flex; align-items: center; gap: 32px; margin-bottom: 18px; padding-bottom: 22px; border-bottom: 1px solid var(--pd-line); }
.tm-pd-rv__avg { display: flex; flex: none; flex-direction: column; align-items: center; gap: 4px; color: var(--pd-mute); font-size: 13px; line-height: 1.6; }
.tm-pd-rv__avg b { color: var(--pd-ink); font-size: 42px; font-weight: 700; line-height: 1.2; }
.tm-pd-rv__bars { flex: 1 1 auto; min-width: 0; max-width: 340px; margin: 0; padding: 0; list-style: none; }
.tm-pd-rv__bars li { display: grid; grid-template-columns: 14px minmax(0, 1fr) 26px; align-items: center; gap: 10px; color: var(--pd-mute); font-size: 12.5px; line-height: 1.9; }
.tm-pd-rv__bars i { display: block; height: 6px; overflow: hidden; border-radius: 3px; background: #e9ecea; }
.tm-pd-rv__bars u { display: block; height: 100%; border-radius: 3px; background: var(--ps-primary); text-decoration: none; }
.tm-pd-rv .star-rating { position: relative; display: block; float: none; width: 90px; height: 18px; margin: 0; overflow: hidden; background: #d9dfdb; color: transparent; font-size: 0; line-height: 0; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.6l2.9 6 6.6.9-4.8 4.6 1.2 6.5L12 17.5l-5.9 3.1 1.2-6.5L2.5 9.5l6.6-.9z'/%3E%3C/svg%3E") 0 0 / 18px 18px repeat-x; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.6l2.9 6 6.6.9-4.8 4.6 1.2 6.5L12 17.5l-5.9 3.1 1.2-6.5L2.5 9.5l6.6-.9z'/%3E%3C/svg%3E") 0 0 / 18px 18px repeat-x; }
.tm-pd-rv .star-rating::before { display: none; }
.tm-pd-rv .star-rating span { position: absolute; inset-block: 0; inset-inline-start: 0; height: 100%; padding: 0; overflow: hidden; background: var(--ps-primary); font-size: 0; }
.tm-pd-rv .star-rating span::before { display: none; }
.tm-pd-rv .commentlist, .tm-pd-rv .commentlist ul.children, .tm-pd-rv .commentlist ol.children { margin: 0; padding: 0; list-style: none; }
.tm-pd-rv .commentlist li.review { margin: 0; padding: 18px 0; border-bottom: 1px solid var(--pd-line); }
.tm-pd-rv .commentlist li.review:last-child { border-bottom: 0; }
.tm-pd-rv .comment_container { display: flex; align-items: flex-start; gap: 14px; }
.tm-pd-av { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: #e9f3ee; color: var(--ps-primary); font-size: 17px; font-weight: 700; line-height: 1; }
.tm-pd-rv .comment-text { flex: 1 1 auto; min-width: 0; margin: 0; padding: 0; border: 0; }
.tm-pd-rv .comment-text .star-rating { float: inline-end; width: 75px; height: 15px; -webkit-mask-size: 15px 15px; mask-size: 15px 15px; }
.tm-pd-rv .comment-text p.meta { margin: 0 0 6px; color: var(--pd-mute); font-size: 13px; line-height: 1.8; }
.tm-pd-rv .woocommerce-review__author { color: var(--pd-ink); font-size: 14.5px; font-weight: 700; }
.tm-pd-rv .woocommerce-review__dash { margin-inline: 6px; color: #c5cdc8; }
.tm-pd-rv :is(.woocommerce-review__author, .woocommerce-review__published-date) { unicode-bidi: isolate; }
.tm-pd-rv .comment-text .description { color: #3f4743; font-size: 14.5px; line-height: 2.05; }
.tm-pd-rv .comment-text .description p:last-child { margin-bottom: 0; }
.tm-pd-rv__empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 260px; padding: 28px; border: 1px dashed #d9dfdb; border-radius: 10px; color: var(--pd-mute); font-size: 13.5px; line-height: 1.9; text-align: center; }
.tm-pd-rv__empty .ps-icon { margin-bottom: 8px; color: var(--ps-primary); }
.tm-pd-rv__empty p { margin: 0; color: var(--pd-ink); font-size: 16px; font-weight: 700; }

.tm-pd-rv__form { padding: 24px 26px 26px; border-radius: 10px; background: #f5f6f5; }
.tm-pd-rv .comment-reply-title { display: block; margin: 0 0 4px; color: var(--pd-ink); font-size: 18px; font-weight: 700; line-height: 1.7; }
.tm-pd-rv .comment-notes { margin: 0 0 16px; color: var(--pd-mute); font-size: 13px; line-height: 1.8; }
.tm-pd-rv .comment-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; margin: 0; }
.tm-pd-rv .comment-form > * { margin: 0; }
.tm-pd-rv .comment-form > :is(.comment-notes, .comment-form-rating, .comment-form-comment, .comment-form-cookies-consent, .form-submit) { grid-column: 1 / -1; }
.tm-pd-rv .comment-form label { display: block; margin-bottom: 6px; color: var(--pd-ink); font-size: 13.5px; font-weight: 700; line-height: 1.7; }
.tm-pd-rv .comment-form .required { color: #c93a3a; text-decoration: none; }
.tm-pd-rv .comment-form :is(input[type="text"], input[type="email"], textarea) { display: block; width: 100%; padding: 11px 14px; border: 1px solid #dfe4e1; border-radius: 10px; background: #fff; box-shadow: none; color: var(--pd-ink); font: inherit; font-size: 14.5px; line-height: 1.8; transition: border-color .15s ease; }
.tm-pd-rv .comment-form :is(input[type="text"], input[type="email"]) { height: 46px; padding-block: 0; }
.tm-pd-rv .comment-form textarea { min-height: 112px; resize: vertical; }
.tm-pd-rv .comment-form :is(input[type="text"], input[type="email"], textarea):focus { border-color: var(--ps-primary); outline: 0; }
.tm-pd-rv .comment-form-cookies-consent { display: flex; align-items: center; gap: 8px; }
.tm-pd-rv .comment-form-cookies-consent input { flex: none; width: 17px; height: 17px; margin: 0; accent-color: var(--ps-primary); }
.tm-pd-rv .comment-form-cookies-consent label { margin: 0; color: var(--pd-soft); font-size: 12.5px; font-weight: 400; }
.tm-pd-rv .form-submit input[type="submit"] { width: 100%; min-height: 48px; border: 0; border-radius: 10px; background: var(--ps-primary); color: #fff; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; transition: background-color .2s ease; }
.tm-pd-rv .form-submit input[type="submit"]:hover { background: #0d3a26; }
/* the shop's answer to a review: under it, on a soft ground */
.tm-pd-rv .commentlist .children { margin-top: 12px; }
.tm-pd-rv .commentlist .children > li { padding: 12px 14px; border: 0; border-radius: 10px; background: #f5f6f5; list-style: none; }
.tm-pd-rv .commentlist .children .tm-pd-av { width: 36px; height: 36px; background: var(--ps-primary); color: #fff; font-size: 15px; }
.tm-pd-rv .commentlist .children .description p { margin-bottom: 4px; }

/* choosing the score: five stars, filled up to the one pointed at */
.tm-pd-rv p.stars { margin: 0; line-height: 0; }
.tm-pd-rv p.stars > span { display: inline-flex; gap: 4px; }
.tm-pd-rv p.stars a { position: relative; display: block; width: 28px; height: 28px; overflow: hidden; background: var(--ps-primary); color: transparent; font-size: 0; text-indent: -999em; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.6l2.9 6 6.6.9-4.8 4.6 1.2 6.5L12 17.5l-5.9 3.1 1.2-6.5L2.5 9.5l6.6-.9z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.6l2.9 6 6.6.9-4.8 4.6 1.2 6.5L12 17.5l-5.9 3.1 1.2-6.5L2.5 9.5l6.6-.9z'/%3E%3C/svg%3E") center / contain no-repeat; transition: background-color .12s ease; }
.tm-pd-rv p.stars a::before { display: none !important; }
.tm-pd-rv p.stars:not(:hover):not(.selected) a, .tm-pd-rv p.stars a:hover ~ a, .tm-pd-rv p.stars.selected:not(:hover) a.active ~ a { background: #d3d9d5; }

.tm-pd-more { margin-top: 64px; }
.tm-pd-more--products:not(:has(.ps-product)) { display: none; }
/* related products: every card the height of the tallest, the button on the same line */
.tm-pd-more--products .ps-carousel__track { align-items: stretch; }
.tm-pd-more--products .ps-carousel__item { display: flex; height: auto; }
.tm-pd-more--products .ps-product { display: flex; width: 100%; height: auto; }
.tm-pd-more--products .ps-product__inner { display: flex; flex-direction: column; width: 100%; height: 100%; }
.tm-pd-more--products .ps-product__body { display: flex; flex: 1 1 auto; flex-direction: column; }
.tm-pd-page .tm-title .ps-title__main::after { background: var(--ps-primary); }

@media (max-width: 1024px) {
	.tm-pd-main > .elementor-container { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
	.tm-pd-info { margin-top: 40px; }
	.tm-pd-info #reviews.tm-pd-rv { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.tm-pd-trust li { flex-direction: column; gap: 4px; font-size: 11.5px; text-align: center; }
	.tm-pd-trust b { font-size: 12.5px; }
	.tm-pd-more { margin-top: 44px; }
}
@media (max-width: 767px) {
	.tm-pd-page .elementor-section.tm-pd-crumbs { margin-top: -40px; padding-block: 8px 10px; font-size: 12.5px; }
	.tm-pd-crumbs .separator:has(+ .last), .tm-pd-crumbs .last { display: none; } /* (the title is just below) */
	.tm-pd-main > .elementor-container { grid-template-columns: minmax(0, 1fr); gap: 18px; }
	.tm-pd-page .ps-gallery__thumbs { margin-top: 10px; }
	.tm-pd-page .ps-gallery__nav { display: none; }
	.tm-pd-page .ps-gallery__thumb { flex-basis: 66px; width: 66px; height: 66px; }
	.tm-pd-price { padding: 14px 16px; }
	.tm-pd-trust { gap: 8px; }
	.tm-pd-info .ps-tabs__nav { display: flex; width: 100%; }
	.tm-pd-info .ps-tabs__tab { flex: 1 1 0; min-height: 42px; padding: 0 8px; font-size: 14px; }
	.tm-pd-info .ps-tabs__panel { padding-top: 20px; font-size: 14.5px; }
	.tm-pd-info .shop_attributes tr { grid-template-columns: minmax(92px, 34%) minmax(0, 1fr); }
	.tm-pd-info .shop_attributes :is(th, td) { padding: 12px 14px; font-size: 13.5px; }
	.tm-pd-rv__score { gap: 20px; }
	.tm-pd-rv__empty { min-height: 180px; }
	.tm-pd-rv__form { padding: 18px 16px 18px; }
	.tm-pd-rv .comment-form { grid-template-columns: minmax(0, 1fr); }
	.tm-pd-rv .comment-form :is(input[type="text"], input[type="email"], textarea) { font-size: 16px; }
}
