/* The WooCommerce card remains the same component in each of its native loops. */
.tdr-commerce-redesign #main ul.products > li.product.tdr-shop-card {
    --tdr-card-ink: #291b25;
    --tdr-card-muted: #584b54;
    --tdr-card-accent: #971637;
    --tdr-card-accent-hover: #75112b;
    --tdr-card-border: #e2d8d6;
    --tdr-card-gutter: clamp(10px, 1.15vw, 16px);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    width: 100%;
    min-width: 0;
    max-width: none;
    margin: 0;
    padding: var(--tdr-card-gutter);
    border: 1px solid var(--tdr-card-border);
    border-radius: 11px;
    background: #fffdfa;
    color: var(--tdr-card-ink);
    box-shadow: none;
    overflow: visible;
    transform: none;
    transition: border-color .18s ease;
}
.tdr-commerce-redesign #main ul.products > li.product.tdr-shop-card:hover {
    border-color: #c8a0ac;
}
.tdr-commerce-redesign #main ul.products > li.product.tdr-shop-card > * {
    min-width: 0;
}
.tdr-commerce-redesign #main ul.products > li.product.tdr-shop-card > figure {
    order: 0;
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 1.13;
    margin: 0 0 11px;
    padding: 6px;
    border-radius: 8px;
    background: #fff;
    isolation: isolate;
    overflow: visible;
}
.tdr-commerce-redesign #main ul.products > li.product.tdr-shop-card > figure > a.ct-media-container {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    overflow: hidden;
}
.tdr-commerce-redesign #main ul.products > li.product.tdr-shop-card > figure img {
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: 100%;
    aspect-ratio: auto !important;
    object-fit: contain;
    transform: none;
}
.tdr-commerce-redesign #main ul.products > li.product.tdr-shop-card > figure .onsale {
    inset: 1px auto auto 1px;
    padding: 4px 7px;
    border: 0;
    border-radius: 5px;
    background: var(--tdr-card-accent);
    color: #fff;
    font-size: clamp(9px, .85vw, 11px);
    line-height: 1.3;
    letter-spacing: .025em;
}
.tdr-commerce-redesign #main ul.products > li.product.tdr-shop-card > figure .out-of-stock-badge {
    display: none;
}
.tdr-commerce-redesign #main ul.products > li.product.tdr-shop-card > figure .ct-woo-card-extra {
    inset-block-start: 0;
    inset-inline-end: 0;
}
.tdr-commerce-redesign #main ul.products > li.product.tdr-shop-card :is(.ct-wishlist-button-archive,.ct-wishlist-button-single) {
    inline-size: 40px;
    block-size: 40px;
    color: var(--tdr-card-accent);
    background: #fffdfa;
    border: 1px solid #eedde1;
    box-shadow: none;
}
.tdr-commerce-redesign #main ul.products > li.product.tdr-shop-card .woocommerce-loop-product__title {
    order: 1;
    min-height: 0;
    margin: 0 0 4px;
    padding: 0;
    color: var(--tdr-card-ink);
    font-size: clamp(15px, 1.4vw, 19px);
    line-height: 1.23;
    letter-spacing: -.02em;
    overflow-wrap: anywhere;
}
.tdr-commerce-redesign #main ul.products > li.product.tdr-shop-card > .entry-meta {
    order: 2;
    margin: 0 0 6px;
    color: var(--tdr-card-muted);
    font-size: clamp(11px, 1.15vw, 13px);
    line-height: 1.35;
    overflow-wrap: anywhere;
}
.tdr-commerce-redesign #main ul.products > li.product.tdr-shop-card > .tdr-card-stock {
    order: 3;
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin: 0 0 5px;
    color: #226344;
    text-align: start;
    font-size: 12px;
    font-weight: 650;
    line-height: 1.3;
}
.tdr-commerce-redesign #main ul.products > li.product.tdr-shop-card > .tdr-card-stock[data-status]:not([data-status="instock"]) {
    color: #655861;
}
.tdr-commerce-redesign #main ul.products > li.product.tdr-shop-card > .tdr-card-stock::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: currentColor;
}
.tdr-commerce-redesign #main ul.products > li.product.tdr-shop-card > :is(.ct-woo-card-rating,.star-rating) {
    order: 4;
    display: flex;
    position: static;
    align-items: center;
    gap: 5px;
    margin: 0 0 6px;
    font-size: 12px;
    line-height: 1.25;
}
.tdr-commerce-redesign #main ul.products > li.product.tdr-shop-card .star-rating {
    margin: 0;
    --star-rating-color: #8c5b25;
}
.tdr-commerce-redesign #main ul.products > li.product.tdr-shop-card .tdr-card-review-count {
    color: var(--tdr-card-muted);
}
.tdr-commerce-redesign #main ul.products > li.product.tdr-shop-card .ct-woo-card-rating:has(.ct-rating-count) .tdr-card-review-count,
.tdr-commerce-redesign #main ul.products > li.product.tdr-shop-card > :is(.tdr-card-excerpt,.tdr-product-condition) {
    display: none;
}
.tdr-commerce-redesign #main ul.products > li.product.tdr-shop-card > .price {
    order: 5;
    width: 100%;
    margin: 0 0 10px;
    color: var(--tdr-card-ink);
    font-size: clamp(16px, 1.75vw, 23px);
    font-weight: 780;
    line-height: 1.15;
    text-align: start;
    overflow-wrap: anywhere;
}
.tdr-commerce-redesign #main ul.products > li.product.tdr-shop-card .price .sale-price {
    gap: 3px 7px;
    justify-content: flex-start;
}
.tdr-commerce-redesign #main ul.products > li.product.tdr-shop-card .price ins {
    color: var(--tdr-card-accent);
}
.tdr-commerce-redesign #main ul.products > li.product.tdr-shop-card > .ct-woo-card-actions {
    order: 6;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    align-self: stretch;
    justify-content: flex-end;
    gap: 4px;
    width: 100%;
    margin: auto 0 0;
    padding: 0;
}
.tdr-commerce-redesign #main ul.products > li.product.tdr-shop-card :is(.ct-woo-card-actions a.button, a.button.tdr-compact-cart) {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    inline-size: 100%;
    min-inline-size: 0;
    min-block-size: 44px;
    flex: none;
    margin: 0;
    padding: 6px 8px;
    border: 1px solid var(--tdr-card-accent);
    border-radius: 7px;
    background: var(--tdr-card-accent);
    color: #fff;
    font-size: clamp(12px, 1.1vw, 14px);
    font-weight: 710;
    line-height: 1.2;
    text-align: center;
    white-space: normal;
    opacity: 1;
    visibility: visible;
    transform: none;
}
.tdr-commerce-redesign #main ul.products > li.product.tdr-shop-card :is(.ct-woo-card-actions a.button, a.button.tdr-compact-cart):hover {
    background: var(--tdr-card-accent-hover);
    border-color: var(--tdr-card-accent-hover);
}
.tdr-commerce-redesign #main ul.products > li.product.tdr-shop-card .tdr-cart-glyph {
    inline-size: 21px;
    block-size: 16px;
}

.tdr-shop-template #main,
body.tdr-product-template #main {
    background: #f8f4f0;
}
.tdr-shop-template #main > .hero-section {
    display: none;
}
.tdr-shop-template #main > .ct-container:has(.tdr-shop-heading) {
    --content-vertical-spacing: clamp(19px,3.3vw,42px);
    width: min(1280px, calc(100% - 2 * clamp(14px, 3vw, 38px)));
}
.tdr-shop-template #main > .ct-container > section:has(> .tdr-catalog-results) {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    align-content: start;
    align-items: start;
    gap: 0;
    min-width: 0;
}
.tdr-shop-template #main > .ct-container > section:has(> .tdr-catalog-results) > * {
    grid-column: 1;
    grid-row: auto;
    min-width: 0;
}
.tdr-shop-template #main .woocommerce-products-header:has(.tdr-shop-heading) {
    display: block;
    margin: 0 0 clamp(17px, 2.5vw, 30px);
}
.tdr-shop-heading {
    color: #291b25;
}
.tdr-shop-breadcrumb {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-block-end: clamp(10px, 1.8vw, 20px);
    font-size: 13px;
    line-height: 1.4;
}
.tdr-shop-breadcrumb [aria-current="page"] {
    color: #971637;
    font-weight: 700;
}
.tdr-shop-heading h1 {
    margin: 0;
    color: #291b25;
    font-size: clamp(32px, 4vw, 55px);
    line-height: 1.04;
    letter-spacing: -.045em;
}
.tdr-shop-heading p {
    margin: 7px 0 0;
    color: #564951;
    font-size: clamp(14px, 1.6vw, 19px);
    line-height: 1.4;
}
.tdr-shop-template #main .tdr-filter-sidebar {
    padding: clamp(14px,1.7vw,22px);
    border-color: #e2d8d6;
    background: #fffdfa;
}
.tdr-shop-template #main .tdr-filter-form fieldset {
    margin-block-start: 11px;
}
.tdr-shop-template #main .tdr-filter-form legend {
    font-size: 15px;
}
.tdr-shop-template #main .tdr-catalog-results > .woocommerce-notices-wrapper:empty {
    display: none;
}
.tdr-shop-template #main .tdr-catalog-results > .woo-listing-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 8px 14px;
    min-height: 55px;
    margin: 0 0 13px;
    padding: 8px 10px 8px 13px;
    border: 1px solid #e5dbd8;
    border-radius: 9px;
    background: #f4eeea;
}
.tdr-shop-template #main .woo-listing-top .woocommerce-result-count {
    display: block !important;
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    color: #473743;
    font-size: 13px;
}
.tdr-shop-template #main .woo-listing-top .woocommerce-ordering {
    flex: 0 1 auto;
    width: min(100%, 245px);
    margin: 0;
}
.tdr-shop-template #main .woo-listing-top .woocommerce-ordering select {
    width: 100%;
    min-height: 42px;
    padding-inline: 11px 32px;
    border: 1px solid #ded1d0;
    border-radius: 7px;
    color: #291b25;
    background-color: #fffdfa;
    text-align: start;
}
.tdr-shop-template #main .woo-listing-top .ct-sort-icon {
    display: none;
}
.tdr-shop-active-filters,
.tdr-shop-active-filters ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 9px;
}
.tdr-shop-active-filters {
    margin: 0 0 13px;
}
.tdr-shop-active-filters ul {
    padding: 0;
    margin: 0;
    list-style: none;
}
.tdr-shop-active-filters li {
    padding: 4px 9px;
    border: 1px solid #e6cdd5;
    border-radius: 6px;
    background: #f8e9ee;
    color: #64122b;
    font-size: 12px;
}
.tdr-shop-active-filters a {
    padding: 5px 0;
    color: #971637;
    font-size: 13px;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.tdr-shop-template #main .tdr-catalog-results .woocommerce-pagination {
    margin-block-start: 20px;
}

.tdr-commerce-redesign:is(.tdr-shop-template,.post-type-archive-product,.tax-product_cat,.tax-product_tag,.tax-product_brand,.search-results) #main ul.products:has(> li.tdr-shop-card) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    justify-items: stretch;
    gap: clamp(9px, 1.35vw, 18px);
    margin-block-start: 0;
}
body.tdr-product-template #main .related.products {
    display: block !important;
}
body.tdr-product-template #main :is(.related.products,.up-sells.products) ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: clamp(10px, 1.5vw, 18px);
}

@media (min-width: 1000px) {
    .tdr-shop-template #main > .ct-container > section:has(> .tdr-catalog-results) {
        grid-template-columns: clamp(240px, 20vw, 268px) minmax(0, 1fr);
        column-gap: clamp(16px, 2vw, 27px);
    }
    .tdr-shop-template #main > .ct-container > section > .woocommerce-products-header:has(.tdr-shop-heading) {
        grid-column: 1 / -1;
        grid-row: 1;
    }
    .tdr-shop-template #main > .ct-container > section > .tdr-catalogue-filters {
        grid-column: 1;
        grid-row: 2;
    }
    .tdr-shop-template #main > .ct-container > section > .tdr-catalog-results {
        grid-column: 2;
        grid-row: 2;
    }
    .tdr-commerce-redesign:is(.tdr-shop-template,.post-type-archive-product,.tax-product_cat,.tax-product_tag,.tax-product_brand,.search-results) #main ul.products:has(> li.tdr-shop-card) {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    body.tdr-product-template #main :is(.related.products,.up-sells.products) ul.products {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
@media (max-width: 520px) {
    .tdr-shop-template #main .tdr-catalog-results > .woo-listing-top,
    .tdr-shop-template #main .woo-listing-top .woocommerce-ordering {
        width: 100%;
    }
    .tdr-shop-template #main .woo-listing-top .woocommerce-ordering select {
        max-width: none;
    }
    .tdr-commerce-redesign #main ul.products > li.product.tdr-shop-card :is(.ct-wishlist-button-archive,.ct-wishlist-button-single) {
        inline-size: 44px;
        block-size: 44px;
    }
}
@media (max-width: 335px) {
    .tdr-commerce-redesign:is(.tdr-shop-template,.post-type-archive-product,.tax-product_cat,.tax-product_tag,.tax-product_brand,.search-results) #main ul.products:has(> li.tdr-shop-card),
    body.tdr-product-template #main :is(.related.products,.up-sells.products) ul.products {
        grid-template-columns: minmax(0, 1fr);
    }
}

body.tdr-product-template #main {
    --tdr-commerce-width: min(1280px, calc(100% - 2 * clamp(14px, 3vw, 37px)));
    --tdr-product-gallery-height: clamp(295px, 35vw, 495px);
    --tdr-commerce-surface: #fffdfa;
    --tdr-commerce-accent: #971637;
    --tdr-commerce-hover: #75112b;
}
body.tdr-product-template #main > .ct-container-full[data-vertical-spacing] {
    padding-block-start: clamp(25px, 3.4vw, 45px);
}
body.tdr-product-template #main .ct-breadcrumbs :is(a, span) {
    text-transform: none;
    letter-spacing: 0;
}
body.tdr-product-template #main .hero-section:has(.ct-breadcrumbs) {
    margin-block-end: clamp(12px, 1.7vw, 21px);
}
body.tdr-product-template #main .ct-breadcrumbs {
    color: var(--tdr-commerce-muted);
    font-size: 13px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}
body.tdr-product-template #main .product-entry-wrapper:has(> .woocommerce-product-gallery):has(> .summary) {
    width: var(--tdr-commerce-width);
    grid-template-columns: minmax(0, 1.17fr) minmax(0, 1fr);
    align-items: start;
    gap: clamp(13px, 2vw, 24px);
}
body.tdr-product-template #main .woocommerce-product-gallery .ct-product-gallery-container {
    padding: clamp(10px, 1.35vw, 17px);
    border: 1px solid var(--tdr-commerce-border);
    border-radius: 12px;
    background: var(--tdr-commerce-surface);
}
body.tdr-product-template #main .woocommerce-product-gallery .ct-product-gallery-container > figure:only-of-type,
body.tdr-product-template #main .woocommerce-product-gallery .flexy-items .ct-media-container {
    width: 100%;
    height: var(--tdr-product-gallery-height);
    min-height: 0;
    max-height: none;
    margin: 0;
    padding: clamp(8px,1.2vw,15px);
    border: 0;
    border-radius: 8px;
    background: #fff;
}
body.tdr-product-template #main .woocommerce-product-gallery .ct-product-gallery-container :is(figure:only-of-type,.flexy-items .ct-media-container) img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: 100%;
    max-width: 100%;
    aspect-ratio: auto !important;
    object-fit: contain;
}
body.tdr-product-template #main .woocommerce-product-gallery .flexy-pills ol {
    display: flex;
    flex-wrap: nowrap;
    justify-content: safe center;
    gap: 8px;
    max-width: 100%;
    margin: 9px 0 0;
    padding: 3px;
    overflow-x: auto;
}
body.tdr-product-template #main .woocommerce-product-gallery .flexy-pills ol li {
    flex: 0 0 clamp(55px, 7vw, 88px);
    width: clamp(55px, 7vw, 88px);
    min-width: 0;
    height: clamp(55px, 7vw, 88px);
    margin: 0;
}
body.tdr-product-template #main .woocommerce-product-gallery .flexy-pills .ct-media-container {
    display: grid;
    width: 100%;
    height: 100%;
    border: 1px solid var(--tdr-commerce-border);
    border-radius: 6px;
    background: #fff;
    padding: 4px;
    cursor: pointer;
}
body.tdr-product-template #main .woocommerce-product-gallery .flexy-pills .ct-media-container img {
    width: 100%;
    height: 100%;
    max-height: 100%;
    aspect-ratio: auto !important;
    object-fit: contain;
}
body.tdr-product-template #main .woocommerce-product-gallery .flexy-pills li.active .ct-media-container,
body.tdr-product-template #main .woocommerce-product-gallery .flexy-pills .ct-media-container:focus-visible {
    border-color: var(--tdr-commerce-accent);
    outline: 1px solid var(--tdr-commerce-accent);
    outline-offset: 0;
}
body.tdr-product-template #main :is(.woocommerce-product-gallery .onsale,.summary .tdr-summary-sale) {
    align-self: flex-start;
    margin: 0;
    padding: 5px 9px;
    border: 0;
    border-radius: 6px;
    background: var(--tdr-commerce-accent);
    color: #fff;
    font-size: 11px;
    line-height: 1.25;
    font-weight: 760;
    letter-spacing: .025em;
}
body.tdr-product-template #main .summary.entry-summary {
    gap: clamp(8px, 1vw, 13px);
    padding: clamp(15px, 2.2vw, 29px);
    border-radius: 12px;
}
body.tdr-product-template #main .summary.entry-summary .product_title {
    font-size: clamp(25px, 2.75vw, 39px);
    line-height: 1.12;
    letter-spacing: -.035em;
}
body.tdr-product-template #main .summary.entry-summary:has(> .tdr-summary-sale) .product_title {
    padding-inline-end: 0;
}
body.tdr-product-template #main .summary.entry-summary > .price {
    color: var(--tdr-commerce-accent);
    font-size: clamp(28px, 3vw, 41px);
    font-weight: 780;
}
body.tdr-product-template #main .summary .ct-product-add-to-cart .stock {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-block: 0 9px;
}
body.tdr-product-template #main .summary .stock::before {
    content: "";
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}
body.tdr-product-template #main .summary.entry-summary .ct-cart-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    width: 100%;
    min-width: 0;
}
body.tdr-product-template #main .summary.entry-summary .ct-cart-actions .quantity {
    flex: none;
    min-height: 44px;
}
body.tdr-product-template #main .summary.entry-summary .single_add_to_cart_button {
    flex: none;
    align-self: stretch;
    width: 100%;
    min-width: 0;
    white-space: normal;
}
body.tdr-product-template #main .summary.entry-summary .tdr-guarantee-link a {
    text-decoration: underline;
    text-underline-offset: 3px;
}
body.tdr-product-template #main .summary.entry-summary .product_meta {
    display: grid;
    gap: 4px;
}
body.tdr-product-template #main .woocommerce-tabs.wc-tabs-wrapper {
    width: var(--tdr-commerce-width);
    border-radius: 12px;
}
body.tdr-product-template #main .woocommerce-tabs.wc-tabs-wrapper ul.tabs {
    width: 100%;
    max-width: none;
    gap: 5px;
    background: #f1eae6;
}
body.tdr-product-template #main .woocommerce-tabs.wc-tabs-wrapper ul.tabs li a {
    font-weight: 690;
    font-size: clamp(12px, 1.35vw, 15px);
    line-height: 1.2;
}
body.tdr-product-template #main .woocommerce-tabs.wc-tabs-wrapper ul.tabs li.active a {
    background: var(--tdr-commerce-accent);
    color: #fff;
}
body.tdr-product-template #main .woocommerce-tabs.wc-tabs-wrapper .woocommerce-Tabs-panel {
    min-width: 0;
    overflow-wrap: anywhere;
}
body.tdr-product-template #main .woocommerce-tabs .woocommerce-Tabs-panel > .ct-container {
    width: 100%;
}
body.tdr-product-template #main .woocommerce-tabs .woocommerce-product-attributes {
    width: 100%;
    margin: 0;
    table-layout: fixed;
    border-collapse: collapse;
}
body.tdr-product-template #main .woocommerce-tabs table :is(th,td) {
    overflow-wrap: anywhere;
    white-space: normal;
}
body.tdr-product-template #main .woocommerce-tabs .woocommerce-product-attributes :is(th,td) {
    padding: 9px clamp(8px, 1.5vw, 17px);
    text-align: start;
    vertical-align: top;
    border-color: #eadfda;
}
body.tdr-product-template #main .woocommerce-tabs .woocommerce-product-attributes tr:nth-child(odd) {
    background: #f5efeb;
}
body.tdr-product-template #main .woocommerce-tabs .woocommerce-product-attributes th {
    width: 37%;
    font-weight: 680;
}
body.tdr-product-template #main .woocommerce-tabs .woocommerce-product-attributes p,
body.tdr-product-template #main .woocommerce-tabs .tdr-specs-empty {
    margin: 0;
}
body.tdr-product-template #main :is(.related.products,.up-sells.products) {
    width: var(--tdr-commerce-width);
    max-width: none;
    margin-inline: auto;
}
@media (max-width: 820px) {
    body.tdr-product-template #main {
        --tdr-product-gallery-height: clamp(235px, 70vw, 420px);
    }
    body.tdr-product-template #main .product-entry-wrapper:has(> .woocommerce-product-gallery):has(> .summary) {
        grid-template-columns: minmax(0, 1fr);
    }
}
@media (max-width: 430px) {
    body.tdr-product-template #main .woocommerce-tabs.wc-tabs-wrapper ul.tabs li {
        flex: 1 1 auto;
    }
    body.tdr-product-template #main .woocommerce-tabs.wc-tabs-wrapper ul.tabs li a {
        justify-content: center;
        padding-inline: 8px;
    }
}

body.tdr-product-template #main .summary .tdr-product-cart-status:empty {
    position: absolute;
    inset: auto;
    inline-size: 1px;
    block-size: 1px;
    overflow: hidden;
    clip-path: inset(50%);
}
body.tdr-product-template #main .summary .tdr-product-cart-status:not(:empty) {
    padding: 9px 11px;
    border: 1px solid #d3e3d8;
    border-radius: 7px;
    background: #eef6f0;
    color: #215b40;
    font-size: 13px;
    font-weight: 650;
}
