.tc-product-grid {
    display: grid;
    grid-template-columns: repeat(var(--tc-grid-columns, 4), minmax(0, 1fr));
    gap: 20px 14px;
    margin-inline: 0;
}

.tc-product-grid > [class^="ty-column"] {
    display: flex;
    width: auto;
    min-width: 0;
    margin: 0;
}

.dispatch-products-search:not(:has(.filtre_mobile)) .sort-filt .filtrebtnd {
    display: none;
}

.tc-product-grid .tc-product-card {
    flex: 1;
    align-self: stretch;
}

.grid-list .tc-product-card {
    display: flex;
    flex-direction: column;
    width: auto;
    min-width: 0;
    height: auto;
    margin: 0;
    padding: 6px 2px;
    border: 0;
    box-shadow: none;
}

.tc-product-carousel .tc-product-card {
    padding-inline: clamp(3px, .6vw, 10px);
}

.tc-product-card > form {
    display: flex;
    flex: 1 0 auto;
    flex-direction: column;
}

.tc-product-card .tc-product-card__body {
    display: grid;
    flex: 1 0 auto;
    grid-template-columns: minmax(0, 32%) minmax(0, 1fr);
    gap: clamp(8px, 1vw, 16px);
    min-height: 226px;
}

.tc-product-card .ty-grid-list__image {
    float: none;
    align-self: stretch;
    align-content: center;
    width: auto;
    height: auto;
    min-width: 0;
    max-width: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

.tc-product-card .ty-grid-list__image .ty-pict {
    max-width: 100%;
    max-height: 230px;
    height: auto;
    object-fit: cover;
}

.tc-product-card .d-cp {
    float: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: auto;
    min-width: 0;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 0;
}

.grid-list .tc-product-card .producator,
.grid-list .tc-product-card .producator a {
    display: block;
    min-height: 0;
    height: auto;
    margin: 0;
    color: #43618d;
    font-size: 13px;
    line-height: 1.32;
    white-space: normal;
    overflow-wrap: anywhere;
}

.tc-product-card .ty-grid-list__item-name {
    width: 100%;
    min-height: 40px;
    height: auto;
    margin: 3px 0 2px;
    overflow: visible;
}

.tc-product-card .ty-grid-list__item-name bdi {
    display: block;
}

.tc-product-card .ty-grid-list__item-name .product-title {
    display: block;
    max-width: 100%;
    height: auto;
    overflow: visible;
    white-space: normal;
    overflow-wrap: anywhere;
    text-overflow: clip;
    color: #25211e;
    font-size: 16px;
    line-height: 1.23;
}

.tc-product-card .ty-grid-list__price {
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0 0 4px;
    overflow: visible;
}

.tc-card-facts {
    width: 100%;
    margin: 2px 0 4px;
    color: #302a26;
    font-size: 13px;
    line-height: 1.35;
}

.tc-card-fact {
    display: grid;
    grid-template-columns: 14px minmax(0, 1fr);
    align-items: baseline;
    gap: 5px;
    min-width: 0;
    text-align: start;
}

.tc-card-fact > span {
    grid-column: 2;
    overflow-wrap: anywhere;
}

.tc-card-fact__icon {
    display: block;
    grid-column: 1;
    grid-row: 1;
    width: 14px;
    height: 14px;
    align-self: start;
    margin: 2px 0 0;
    object-fit: contain;
}

.tc-card-fact__icon.tc-card-flag {
    border-radius: 50%;
    object-fit: cover;
}

.cc-ds__label.tc-cc-ds-origin .tc-card-fact {
    align-items: center;
    grid-template-columns: auto minmax(0, 1fr);
}

.tc-cc-ds-origin .tc-card-fact__icon {
    margin: 0;
}

.tc-search-result-card {
    display: grid;
    grid-template-columns: minmax(60px, min(28%, 140px)) minmax(0, 1fr);
    gap: clamp(12px, 2vw, 24px);
    align-items: center;
}

.tc-search-result-card::before,
.tc-search-result-card::after {
    display: none;
}

.tc-search-result-card > :is(.product-image, .product-description) {
    float: none;
    width: auto;
    min-width: 0;
    margin: 0;
}

.tc-search-card-producer {
    color: #43618d;
    font-size: 13px;
}

.tc-search-result-card .product-title {
    color: #25211e;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.tc-search-result-card .product-image .ty-pict {
    width: 100%;
    height: clamp(166px, 40vw, 220px);
    object-fit: cover;
}

.tc-product-card .d-cp :is(.instocg, .ultimelestg, .momentanindg) {
    height: auto;
    min-height: 0;
    margin: 2px 0 5px;
}

.tc-product-card .d-cp :is(.instocg, .ultimelestg, .momentanindg) p {
    margin: 0;
    font-size: 13px;
    line-height: 1.35;
}

.tc-card-details {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 6px;
    box-sizing: border-box;
    max-width: 100%;
    min-height: 44px;
    margin-top: auto;
    padding-inline-end: 8px;
    color: #28211b;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
    transition: color 160ms ease;
}

.tc-card-details:focus-visible {
    outline: 2px solid #43618d !important;
    outline-offset: -2px;
}

.tc-card-details__label {
    position: relative;
}

.tc-card-details__label::after {
    position: absolute;
    inset: auto 0 -4px;
    height: 1px;
    background: #967047;
    content: "";
    transform: scaleX(.27);
    transform-origin: left;
    transition: transform 240ms cubic-bezier(.2,.7,.3,1);
}

.tc-card-details .fa-arrow-right {
    flex: none;
    transition: transform 240ms cubic-bezier(.2,.7,.3,1);
}

.tc-card-details:is(:hover, :focus-visible) {
    color: #77522d;
    text-decoration: none;
}

.tc-card-details:is(:hover, :focus-visible) .tc-card-details__label::after {
    transform: scaleX(1);
}

.tc-card-details:is(:hover, :focus-visible) .fa-arrow-right {
    transform: translateX(4px);
}

.tc-product-carousel.ty-scroller-advanced {
    position: relative;
    box-sizing: border-box;
    padding-inline: 44px !important;
}

.tc-product-carousel .owl-wrapper {
    display: flex !important;
}

.tc-product-carousel .owl-item {
    flex: 0 0 auto;
    min-width: 0;
}

.tc-product-carousel .owl-item .ty-scroller__item,
.tc-product-carousel > .ty-scroller__item {
    box-sizing: border-box;
    height: 100%;
}

.tc-product-carousel .tc-product-card {
    box-sizing: border-box;
    height: 100%;
}

.tc-product-carousel-nav[hidden] {
    display: none;
}

.tc-product-carousel-nav:not([hidden]) {
    position: absolute;
    z-index: 5;
    inset: 50% 0 auto;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
}

.tc-product-carousel-nav > button {
    display: inline-grid;
    place-items: center;
    box-sizing: border-box;
    flex: 0 0 44px;
    width: 44px;
    height: 56px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 2px;
    background: transparent;
    color: #34281b;
    cursor: pointer;
    pointer-events: auto;
}

.tc-product-carousel-nav > button:is(:hover, :focus-visible) {
    background: #f5efe5;
}

.tc-product-carousel-nav > button:focus-visible {
    outline: 2px solid #43618d !important;
    outline-offset: -2px;
}

.tc-product-carousel-nav > button::before {
    box-sizing: border-box;
    width: 9px;
    height: 9px;
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    content: "";
}

.tc-product-carousel-nav__prev::before,
.tc-product-carousel-nav[dir="rtl"] .tc-product-carousel-nav__next::before {
    transform: translateX(2px) rotate(135deg);
}

.tc-product-carousel-nav__next::before,
.tc-product-carousel-nav[dir="rtl"] .tc-product-carousel-nav__prev::before {
    transform: translateX(-2px) rotate(-45deg);
}

@media (max-width: 1100px) {
    .tc-product-grid { grid-template-columns: repeat(min(var(--tc-grid-columns, 4), 3), minmax(0, 1fr)); }
}

@media (max-width: 820px) {
    .tc-product-grid { grid-template-columns: repeat(min(var(--tc-grid-columns, 4), 2), minmax(0, 1fr)); }
}

@media (max-width: 540px) {
    .tc-product-grid { grid-template-columns: minmax(0, 1fr); gap: 13px; }
    .tc-product-grid .tc-product-card__body { grid-template-columns: minmax(0, 30%) minmax(0, 1fr); }
    .tc-product-card .tc-product-card__body { min-height: 204px; }
    .tc-product-card .ty-grid-list__image .ty-pict { max-height: 206px; }
}

@media (prefers-reduced-motion: reduce) {
    .tc-card-details,
    .tc-card-details__label::after,
    .tc-card-details .fa-arrow-right {
        transition: none;
    }
    .tc-card-details:is(:hover, :focus-visible) .fa-arrow-right { transform: none; }
}

.grid-list .tc-product-card .producator a.tc-card-brand,
.tc-search-card-producer .tc-card-brand {
    display: inline-block;
    width: fit-content;
    max-width: 100%;
    min-height: 24px;
    box-sizing: border-box;
    padding-block: 2px;
    color: #43618d;
    text-decoration-line: underline;
    text-decoration-color: #aab7ca;
    text-underline-offset: 3px;
    overflow-wrap: anywhere;
}

.grid-list .tc-product-card .producator a.tc-card-brand:is(:hover, :focus-visible),
.tc-search-card-producer .tc-card-brand:is(:hover, :focus-visible) {
    color: #734b27;
    text-decoration-color: currentColor;
}

.tc-card-brand:focus-visible,
.tc-category-pagination a:focus-visible,
.dispatch-categories-view .tc-category-guide a:focus-visible {
    outline: 2px solid #43618d !important;
    outline-offset: 2px;
}

.ty-pagination__bottom:has(.tc-category-pagination) {
    clear: both;
    width: 100%;
    box-sizing: border-box;
    margin: clamp(20px, 4vw, 42px) 0 0;
    padding: clamp(16px, 2.5vw, 26px) 0 0;
    border: 0;
    border-top: 1px solid #e7ded2;
}

.tc-category-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: clamp(3px, .6vw, 8px);
    margin-inline: auto;
    color: #281f19;
}

.tc-category-pagination__item {
    display: inline-grid;
    place-items: center;
    box-sizing: border-box;
    min-width: 44px;
    min-height: 44px;
    padding-inline: 6px;
    border: 1px solid transparent;
    border-radius: 2px;
    color: #281f19;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
}

a.tc-category-pagination__item:hover {
    border-color: #ddd0c1;
    background: #f8f4ef;
    color: #281f19;
    text-decoration: none;
}

.tc-category-pagination__direction {
    border-color: #d5c6b5;
}

.tc-category-pagination__disabled {
    border-color: #ebe4dc;
    color: #ad9d8e;
}

.tc-category-pagination__current {
    border-color: #281f19;
    background: #281f19;
    color: #fff;
}

.tc-category-pagination__gap {
    min-width: 18px;
    text-align: center;
    color: #715e4b;
}

[dir="rtl"] .tc-category-pagination__direction i {
    transform: scaleX(-1);
}

.dispatch-categories-view .tc-category-guide {
    box-sizing: border-box;
    width: 100%;
    max-width: 880px;
    margin: clamp(24px, 4vw, 46px) auto clamp(28px, 5vw, 60px);
    padding: clamp(17px, 3.6vw, 40px) clamp(16px, 4vw, 48px);
    border: 1px solid #e9e0d5;
    border-top: 2px solid #ac8559;
    border-radius: 2px;
    background: #faf8f5;
    color: #302821;
    font-size: clamp(15px, 1.2vw, 16px);
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.dispatch-categories-view .tc-category-guide :is(h2, h3) {
    margin: 1.15em 0 .45em;
    color: #281f19;
    font-size: clamp(19px, 2vw, 24px);
    line-height: 1.28;
    text-wrap: balance;
}

.dispatch-categories-view .tc-category-guide > :first-child {
    margin-top: 0;
}

.dispatch-categories-view .tc-category-guide p {
    margin: 0 0 .75em;
    font-size: inherit;
    line-height: inherit;
}

.dispatch-categories-view .tc-category-guide > :last-child {
    margin-bottom: 0;
}

.dispatch-categories-view .tc-category-guide a {
    color: #3d597d;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.dispatch-categories-view .tc-category-guide a:hover {
    color: #734b27;
}

@media (max-width: 540px) {
    .tc-category-pagination__wide { display: none; }
}

/* Christmas Deals storefront campaign. */
.dispatch-products-on_sale .banner-promotii,
.dispatch-products-on_sale .sort-filt {
    display: none;
}

.dispatch-products-on_sale .tc-christmas-title {
    margin: clamp(16px, 2.8vw, 38px) 0 clamp(7px, 1vw, 14px);
    color: #301b15;
    font-family: Georgia, serif !important;
    font-size: clamp(30px, 3.6vw, 51px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -.025em;
}

.dispatch-products-on_sale .tc-product-grid {
    row-gap: 0;
}

.dispatch-products-on_sale .tc-product-grid .tc-product-card {
    padding: clamp(10px, 1.2vw, 18px) 2px;
    border-bottom: 1px solid #eee3d9;
}

.dispatch-products-on_sale .tc-product-card .ty-strike,
.dispatch-products-on_sale .tc-product-card .ty-strike .ty-list-price {
    color: #68574f;
}

.dispatch-products-on_sale .grid-list .tc-product-card .ty-grid-list__price .ty-price-num {
    color: #771d32 !important;
}

.dispatch-products-on_sale .tc-product-card .ty-product-labels__item--discount,
.ty-product-bigpicture a.tc-christmas-product-badge {
    border-radius: 2px;
    background: #771d32;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
}

.dispatch-products-on_sale .tc-product-card .ty-product-labels__item--discount {
    padding: 0;
}

.dispatch-products-on_sale .tc-product-card .ty-product-labels--top-right {
    inset-inline: 0 auto;
    top: 3px;
}

.dispatch-products-on_sale .tc-product-card:has(.mdpp) .ty-product-labels--top-right {
    top: 57px;
}

.ty-product-bigpicture a.tc-christmas-product-badge {
    display: inline-flex;
    align-items: center;
    box-sizing: border-box;
    min-height: 36px;
    margin: 0 0 10px;
    padding: 5px 10px;
}

.ty-product-bigpicture a.tc-christmas-product-badge:hover {
    background: #571222;
    color: #fff;
    text-decoration: underline;
    text-underline-offset: .18em;
}

.ty-product-bigpicture a.tc-christmas-product-badge:focus-visible {
    outline: 2px solid #771d32;
    outline-offset: 3px;
}
