.qs-product-slider,
.qs-product-slider * {
box-sizing: border-box;
}
.qs-product-slider {
width: 100%;
padding: 0;
background: #fff;
}
.qs-product-slider__inner {
width: 100%;
max-width: 1580px;
margin: 0 auto;
}
.qs-product-slider__header {
display: flex;
align-items: flex-end;
justify-content: space-between;
gap: 30px;
margin-bottom: 32px;
}
.qs-product-slider__header--controls-only {
justify-content: flex-end;
margin-bottom: 14px;
}
.qs-product-slider--no-header .qs-product-slider__controls {
margin-left: auto;
}
.qs-product-slider__header > div:first-child {
max-width: 760px;
}
.qs-product-slider__eyebrow {
display: inline-flex;
align-items: center;
gap: 10px;
margin-bottom: 12px;
color: #8a541f;
font-size: 10px;
font-weight: 700;
line-height: 1;
letter-spacing: 2px;
text-transform: uppercase;
}
.qs-product-slider__eyebrow::before {
content: "";
width: 30px;
height: 2px;
background: #8a541f;
}
.qs-product-slider__header h2 {
margin: 0;
color: var(--theme-text-color, #17191d);
font-family: inherit;
font-size: clamp(30px, 2.45vw, 40px);
font-weight: 700;
line-height: 1.18;
letter-spacing: -.6px;
}
.qs-product-slider__header p {
max-width: 640px;
margin: 12px 0 0;
color: #666a70;
font-size: 14px;
line-height: 1.65;
}
.qs-product-slider__controls {
display: flex;
gap: 10px;
flex: 0 0 auto;
}
.qs-product-slider__arrow {
display: inline-flex;
width: 44px;
height: 44px;
align-items: center;
justify-content: center;
padding: 0;
background: #fff;
border: 1px solid #ded8d1;
border-radius: 50%;
color: #603813;
cursor: pointer;
transition: .22s ease;
}
.qs-product-slider__arrow:hover,
.qs-product-slider__arrow:focus-visible {
background: #603813;
border-color: #603813;
color: #fff;
transform: translateY(-2px);
}
.qs-product-slider__arrow svg {
width: 20px;
height: 20px;
fill: none;
stroke: currentColor;
stroke-width: 2;
stroke-linecap: round;
stroke-linejoin: round;
}
.qs-product-slider__viewport {
overflow: hidden;
}
.qs-product-slider__track {
--qs-gap: 20px;
display: flex;
gap: var(--qs-gap);
overflow-x: auto;
padding: 2px 2px 18px;
scroll-behavior: smooth;
scroll-snap-type: x mandatory;
scrollbar-width: none;
-ms-overflow-style: none;
}
.qs-product-slider__track::-webkit-scrollbar {
display: none;
}
.qs-product-card {
flex: 0 0 calc((100% - (var(--qs-gap) * (var(--qs-desktop) - 1))) / var(--qs-desktop));
min-width: 0;
scroll-snap-align: start;
background: #fff;
border: 1px solid #ebe7e2;
border-radius: 11px;
overflow: hidden;
box-shadow: 0 5px 18px rgba(24, 20, 17, .045);
transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.qs-product-card:hover {
transform: translateY(-4px);
border-color: #ddd3c9;
box-shadow: 0 14px 32px rgba(24, 20, 17, .09);
}
.qs-product-card__link {
display: flex;
height: 100%;
flex-direction: column;
color: inherit !important;
text-decoration: none !important;
}
.qs-product-card__media {
display: flex;
min-height: 245px;
align-items: center;
justify-content: center;
padding: 14px;
background: #fff;
overflow: hidden;
}
.qs-product-card__media img {
display: block;
width: 100%;
height: 220px;
object-fit: contain;
transition: transform .35s ease;
}
.qs-product-card:hover .qs-product-card__media img {
transform: scale(1.03);
}
.qs-product-card__body {
display: flex;
flex: 1;
flex-direction: column;
padding: 0 15px 17px;
}
.qs-product-card__body h3 {
display: -webkit-box;
min-height: 42px;
margin: 0;
overflow: hidden;
color: var(--theme-text-color, #202226);
font-family: inherit;
font-size: 14px;
font-weight: 700;
line-height: 1.48;
letter-spacing: 0;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
}
.qs-product-card__price {
margin-top: 10px;
color: #603813;
font-size: 17px;
font-weight: 700;
line-height: 1.3;
}
.qs-product-card__price del {
margin-right: 5px;
color: #8b8b8b;
font-size: 12px;
font-weight: 400;
opacity: .75;
}
.qs-product-card__price ins {
color: #603813;
font-weight: 700;
text-decoration: none;
}
.qs-product-card__cta {
display: inline-flex;
align-items: center;
gap: 7px;
margin-top: auto;
padding-top: 15px;
color: #603813;
font-size: 10px;
font-weight: 800;
letter-spacing: .5px;
text-transform: uppercase;
}
.qs-product-card__cta svg {
width: 15px;
height: 15px;
fill: none;
stroke: currentColor;
stroke-width: 2;
stroke-linecap: round;
stroke-linejoin: round;
transition: transform .2s ease;
}
.qs-product-card:hover .qs-product-card__cta svg {
transform: translateX(3px);
}
@media (max-width: 1024px) {
.qs-product-card {
flex-basis: calc((100% - (var(--qs-gap) * (var(--qs-tablet) - 1))) / var(--qs-tablet));
}
}
@media (max-width: 760px) {
.qs-product-slider__header {
align-items: center;
margin-bottom: 25px;
}
.qs-product-slider__header h2 {
font-size: 31px;
}
.qs-product-slider__header p {
font-size: 13.5px;
}
.qs-product-slider__controls {
gap: 7px;
}
.qs-product-slider__arrow {
width: 39px;
height: 39px;
}
.qs-product-slider__track {
--qs-gap: 13px;
padding-bottom: 14px;
}
.qs-product-card {
flex-basis: calc((100% - (var(--qs-gap) * (var(--qs-mobile) - 1))) / var(--qs-mobile));
}
.qs-product-card__media {
min-height: 180px;
padding: 10px;
}
.qs-product-card__media img {
height: 165px;
}
.qs-product-card__body {
padding: 0 11px 13px;
}
.qs-product-card__body h3 {
min-height: 39px;
font-size: 13px;
line-height: 1.45;
}
.qs-product-card__price {
font-size: 15px;
}
}
@media (max-width: 480px) {
.qs-product-slider__header {
align-items: flex-end;
gap: 14px;
}
.qs-product-slider__header > div:first-child {
min-width: 0;
}
.qs-product-slider__header h2 {
font-size: 30px;
line-height: 1.14;
}
.qs-product-slider__header p {
display: none;
}
.qs-product-slider__controls {
flex: 0 0 auto;
}
.qs-product-slider__track {
--qs-gap: 0px;
gap: 0;
padding: 2px 0 14px;
scroll-padding-inline: 0;
}
.qs-product-card {
flex: 0 0 100%;
width: 100%;
max-width: 100%;
scroll-snap-align: start;
scroll-snap-stop: always;
}
.qs-product-card__media {
min-height: 230px;
padding: 12px;
}
.qs-product-card__media img {
height: 215px;
}
.qs-product-card__body {
padding: 0 14px 16px;
}
.qs-product-card__body h3 {
min-height: 42px;
font-size: 14px;
}
.qs-product-card__price {
font-size: 17px;
}
.qs-product-card__cta {
font-size: 10.5px;
}
}