.dfyfortune-products,
.dfyfortune-products * {
box-sizing: border-box;
}
.dfyfortune-products {
--dfyfortune-card-radius: 8px;
--dfyfortune-card-border: rgba(16, 24, 40, 0.09);
--dfyfortune-card-shadow: 0 16px 36px rgba(16, 24, 40, 0.08);
--dfyfortune-mobile-header-offset: 85px;
--dfyfortune-primary: var(--gcid-primary-color, #0e4cda);
position: relative;
width: 100%;
}
.dfyfortune-product-feature-strip,
.dfyfortune-product-feature-strip * {
box-sizing: border-box;
}
.dfyfortune-product-feature-strip {
--dfyfortune-primary: var(--gcid-primary-color, #0e4cda);
display: flex;
align-items: center;
justify-content: space-between;
gap: 14px;
width: 100%;
}
.dfyfortune-product-feature-strip__item {
display: flex;
flex: 0 1 auto;
flex-direction: column;
align-items: center;
justify-content: flex-start;
gap: 6px;
min-width: 0;
color: #263143;
text-align: center;
}
.dfyfortune-product-feature-strip__icon {
flex: 0 0 auto;
width: 23px;
height: 23px;
color: var(--dfyfortune-primary);
fill: none;
stroke: currentColor;
stroke-linecap: round;
stroke-linejoin: round;
stroke-width: 2;
}
.dfyfortune-product-feature-strip__text {
display: grid;
gap: 1px;
min-width: 0;
line-height: 1.15;
text-align: center;
}
.dfyfortune-product-feature-strip__line {
display: block;
color: #263143;
font-size: 15px;
font-weight: 700;
letter-spacing: 0;
white-space: nowrap;
}
.dfyfortune-product-feature-strip__line + .dfyfortune-product-feature-strip__line {
color: #647084;
font-size: 13px;
font-weight: 650;
}
.dfyfortune-product-category-pill {
display: inline-flex;
align-items: center;
justify-content: center;
max-width: 100%;
border-radius: 999px;
background: var(--dfyfortune-category-color, var(--gcid-primary-color));
color: #fff;
font-size: 15px;
font-weight: 700;
letter-spacing: 0;
line-height: 1.2;
padding: 8px 12px;
text-align: center;
text-decoration: none;
white-space: nowrap;
}
.dfyfortune-products.is-loading::after {
position: absolute;
z-index: 12;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
border-radius: 8px;
background: rgba(255, 255, 255, 0.72);
color: #172033;
content: "Loading products...";
font-size: 14px;
font-weight: 700;
}
.dfyfortune-product-grid {
display: grid;
grid-template-columns: repeat(var(--dfyfortune-columns, 4), minmax(0, 1fr));
gap: 22px;
}
.dfyfortune-product-card {
container-type: inline-size;
position: relative;
display: flex;
min-width: 0;
flex-direction: column;
overflow: hidden;
border: 1px solid var(--dfyfortune-card-border);
border-radius: var(--dfyfortune-card-radius);
background: #fff;
box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
transition: box-shadow 180ms ease, transform 180ms ease;
}
.dfyfortune-product-card:hover,
.dfyfortune-product-card:focus-within {
box-shadow: var(--dfyfortune-card-shadow);
transform: translateY(-2px);
}
.dfyfortune-product-card__image-wrap {
position: relative;
overflow: hidden;
aspect-ratio: 1 / 1;
background: #f4f6fb;
}
.dfyfortune-product-card__image-link,
.dfyfortune-product-card__image-link:hover {
display: block;
width: 100%;
height: 100%;
text-decoration: none;
}
.dfyfortune-product-card__image {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 260ms ease;
}
.dfyfortune-product-card:hover .dfyfortune-product-card__image,
.dfyfortune-product-card:focus-within .dfyfortune-product-card__image {
transform: scale(1.1);
}
.dfyfortune-product-card__badge {
position: absolute;
top: 12px;
left: 12px;
max-width: calc(100% - 24px);
border-radius: 5px;
background: var(--dfyfortune-category-color, var(--dfyfortune-primary));
color: #fff;
font-size: 12px;
font-weight: 800;
line-height: 1.2;
padding: 6px 9px;
white-space: nowrap;
}
.dfyfortune-product-card__price-box {
position: absolute;
right: 12px;
bottom: 12px;
display: flex;
align-items: center;
gap: 7px;
border-radius: 5px;
background: rgba(255, 255, 255, 0.95);
box-shadow: 0 10px 24px rgba(16, 24, 40, 0.14);
line-height: 1;
padding: 7px 9px;
pointer-events: none;
}
.dfyfortune-product-card__price-values {
display: flex;
align-items: flex-end;
gap: 5px;
white-space: nowrap;
}
.dfyfortune-product-card__price-current {
color: var(--gcid-primary-color);
font-size: 16px;
font-weight: 800;
}
.dfyfortune-product-card__price-regular {
color: #8a94a6;
font-size: 12px;
font-weight: 700;
text-decoration: line-through;
}
.dfyfortune-product-card__sale-badge {
border-radius: 999px;
background: #f97316;
color: #fff;
font-size: 9px;
font-weight: 800;
letter-spacing: 0.02em;
line-height: 1;
padding: 4px 5px;
text-transform: uppercase;
}
.dfyfortune-product-card__body {
position: relative;
display: flex;
flex: 1 1 auto;
flex-direction: column;
gap: 10px;
background: var(--dfyfortune-card-body-bg, #fff);
padding: 15px;
}
.dfyfortune-product-card--compact .dfyfortune-product-card__body {
min-height: 124px;
padding-bottom: 70px;
}
.dfyfortune-product-card__title {
margin: 0;
padding-bottom: 0;
color: var(--gcid-heading-color);
font-family: var(--et_global_body_font) !important;
font-size: 16px;
font-weight: 700;
letter-spacing: 0;
line-height: 1.4;
}
.dfyfortune-product-card__title a,
.dfyfortune-product-card__title a:hover,
.dfyfortune-product-card__title a:focus {
color: inherit;
text-decoration: none;
}
.dfyfortune-product-card__title a:hover,
.dfyfortune-product-card__title a:focus {
color: var(--gcid-primary-color);
}
.dfyfortune-product-card__type {
color: #647084;
font-size: 14px;
font-weight: 650;
line-height: 1.3;
}
.dfyfortune-product-card__features {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 5px;
border-top: 1px solid #f0f0f0;
border-bottom: 1px solid #f0f0f0;
padding: 10px 0;
}
.dfyfortune-product-card__feature {
display: flex;
flex: 1 1 0;
min-width: 0;
max-width: 33.333%;
flex-direction: column;
align-items: center;
justify-content: flex-start;
gap: 5px;
color: #374151;
font-size: 12px;
font-weight: 750;
line-height: 1.2;
text-align: center;
}
.dfyfortune-product-card__feature span {
display: block;
max-width: 100%;
overflow-wrap: break-word;
}
.dfyfortune-product-card svg {
width: 18px;
height: 18px;
color: var(--gcid-primary-color);
fill: none;
stroke: currentColor;
stroke-linecap: round;
stroke-linejoin: round;
stroke-width: 2;
}
.dfyfortune-product-card__bottom {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
margin-top: auto;
min-height: 42px;
transition: opacity 180ms ease, transform 180ms ease;
}
.dfyfortune-product-card__bottom-item {
display: flex;
align-items: center;
gap: 6px;
color: #263143;
font-size: 13px;
font-weight: 700;
line-height: 1.2;
min-width: 0;
white-space: nowrap;
}
.dfyfortune-product-card__templates {
flex: 1 1 auto;
overflow: hidden;
}
.dfyfortune-product-card__templates span {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.dfyfortune-product-card__rating {
flex: 0 0 auto;
margin-left: auto;
}
.dfyfortune-product-card__star {
color: var(--gcid-primary-color);
fill: currentColor !important;
stroke: currentColor !important;
}
.dfyfortune-product-card__actions {
position: absolute;
right: 16px;
bottom: 16px;
left: 16px;
display: grid;
gap: 7px;
opacity: 0;
pointer-events: none;
transform: translateY(8px);
transition: opacity 180ms ease, transform 180ms ease;
text-align: center;
}
.dfyfortune-product-card:hover .dfyfortune-product-card__actions,
.dfyfortune-product-card:focus-within .dfyfortune-product-card__actions {
opacity: 1;
pointer-events: auto;
transform: translateY(0);
}
.dfyfortune-product-card:hover .dfyfortune-product-card__bottom,
.dfyfortune-product-card:focus-within .dfyfortune-product-card__bottom {
opacity: 0;
transform: translateY(4px);
}
.dfyfortune-product-card__cart-button,
.dfyfortune-product-card__cart-button:hover,
.dfyfortune-product-card__cart-button:focus,
body .dfyfortune-product-card .dfyfortune-product-card__cart-button,
.et-db #et-boc .et-l .dfyfortune-product-card .dfyfortune-product-card__cart-button {
display: flex !important;
align-items: center !important;
gap: 7px !important;
justify-content: center !important;
width: 100% !important;
border: 0 !important;
border-radius: 6px !important;
background: var(--dfyfortune-primary) !important;
color: #fff !important;
cursor: pointer !important;
font-size: 14px !important;
font-weight: 600 !important;
line-height: 1 !important;
min-height: 42px !important;
padding: 0 14px !important;
text-decoration: none !important;
}
.dfyfortune-product-card__cart-button svg {
width: 16px;
height: 16px;
color: currentColor;
flex: 0 0 auto;
stroke-width: 2.2;
}
.dfyfortune-products .dfyfortune-product-card a.button.dfyfortune-product-card__cart-button::before,
.dfyfortune-products .dfyfortune-product-card a.button.dfyfortune-product-card__cart-button::after,
.woocommerce .dfyfortune-products .dfyfortune-product-card a.button.dfyfortune-product-card__cart-button::before,
.woocommerce .dfyfortune-products .dfyfortune-product-card a.button.dfyfortune-product-card__cart-button::after,
.woocommerce-page .dfyfortune-products .dfyfortune-product-card a.button.dfyfortune-product-card__cart-button::before,
.woocommerce-page .dfyfortune-products .dfyfortune-product-card a.button.dfyfortune-product-card__cart-button::after,
.et-db #et-boc .et-l .dfyfortune-products .dfyfortune-product-card a.button.dfyfortune-product-card__cart-button::before,
.et-db #et-boc .et-l .dfyfortune-products .dfyfortune-product-card a.button.dfyfortune-product-card__cart-button::after {
display: none !important;
content: none !important;
}
.dfyfortune-product-card__cart-button--added,
.dfyfortune-product-card__cart-button--added:hover,
.dfyfortune-product-card__cart-button--added:focus {
background: #1f2937 !important;
}
.dfyfortune-product-card__actions .added_to_cart.wc-forward:not(.dfyfortune-product-card__cart-button),
.dfyfortune-product-card__view-cart,
body .dfyfortune-product-card__actions .added_to_cart.wc-forward:not(.dfyfortune-product-card__cart-button),
.et-db #et-boc .et-l .dfyfortune-product-card__actions .added_to_cart.wc-forward:not(.dfyfortune-product-card__cart-button) {
display: block !important;
color: var(--dfyfortune-primary) !important;
font-size: 13px !important;
font-weight: 800 !important;
line-height: 1.2 !important;
text-align: center !important;
text-decoration: none !important;
}
.dfyfortune-product-card__actions .added_to_cart.wc-forward:not(.dfyfortune-product-card__cart-button):hover,
.dfyfortune-product-card__view-cart:hover,
body .dfyfortune-product-card__actions .added_to_cart.wc-forward:not(.dfyfortune-product-card__cart-button):hover,
.et-db #et-boc .et-l .dfyfortune-product-card__actions .added_to_cart.wc-forward:not(.dfyfortune-product-card__cart-button):hover {
color: var(--dfyfortune-primary) !important;
text-decoration: underline !important;
}
.dfyfortune-product-carousel {
position: relative;
max-width: 100%;
min-width: 0;
overflow: visible;
padding: 0;
}
.dfyfortune-product-carousel__viewport {
width: 100%;
min-width: 0;
overflow: hidden;
}
.dfyfortune-product-carousel__track {
display: flex;
gap: 22px;
width: 100%;
min-width: 0;
overflow-x: auto;
scroll-behavior: smooth;
scroll-snap-type: x proximity;
scrollbar-width: none;
-ms-overflow-style: none;
}
.dfyfortune-product-carousel__track::-webkit-scrollbar {
display: none;
}
.dfyfortune-product-carousel__track .dfyfortune-product-card {
flex: 0 0 calc(var(--dfyfortune-carousel-card-percent, 20%) - var(--dfyfortune-carousel-gap-adjust, 17.6px));
max-width: calc(var(--dfyfortune-carousel-card-percent, 20%) - var(--dfyfortune-carousel-gap-adjust, 17.6px));
scroll-snap-align: start;
}
.dfyfortune-product-carousel__arrow {
position: absolute;
z-index: 5;
top: 50%;
display: flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
border: 0;
border-radius: 999px;
background: #fff;
box-shadow: 0 10px 28px rgba(16, 24, 40, 0.16);
color: #172033;
cursor: pointer;
line-height: 0;
padding: 0;
transform: translateY(-50%);
}
.dfyfortune-product-carousel__arrow svg {
display: block;
width: 21px;
height: 21px;
fill: none;
stroke: currentColor;
stroke-linecap: round;
stroke-linejoin: round;
stroke-width: 2.35;
}
.dfyfortune-product-carousel__arrow:hover,
.dfyfortune-product-carousel__arrow:focus {
background: var(--dfyfortune-primary);
color: #fff;
outline: none;
}
.dfyfortune-product-carousel__arrow--prev {
left: -14px;
}
.dfyfortune-product-carousel__arrow--next {
right: -14px;
}
.dfyfortune-products__empty {
border-radius: 8px;
background: #f6f8fc;
color: #647084;
font-size: 15px;
font-weight: 650;
margin-top: 16px;
padding: 18px;
text-align: center;
}
.dfyfortune-products__load-more {
display: flex;
align-items: center;
justify-content: center;
gap: 7px;
margin: 22px auto 0;
border: 0;
border-radius: 6px;
background: var(--dfyfortune-primary);
color: #fff;
cursor: pointer;
font-size: 15px;
font-weight: 800;
min-height: 42px;
padding: 0 18px;
transform: translateY(0);
transition: box-shadow 180ms ease, transform 180ms ease, filter 180ms ease;
}
.dfyfortune-products__load-more:hover,
.dfyfortune-products__load-more:focus {
box-shadow: 0 10px 22px color-mix(in srgb, var(--dfyfortune-primary) 22%, transparent);
filter: brightness(1.03);
transform: translateY(-2px);
}
.dfyfortune-products__load-more-icon {
width: 17px;
height: 17px;
color: currentColor;
fill: none;
flex: 0 0 auto;
stroke: currentColor;
stroke-linecap: round;
stroke-linejoin: round;
stroke-width: 2.2;
}
.dfyfortune-filter-pills__list {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 10px;
margin-bottom: 20px;
}
.dfyfortune-filter-pill {
border-radius: 999px;
background: #fff;
color: #172033;
font-size: 15px;
font-weight: 600;
padding: 9px 14px;
text-decoration: none;
}
.dfyfortune-filter-pill:hover,
.dfyfortune-filter-pill.is-active {
background: var(--dfyfortune-primary);
color: #fff;
text-decoration: none;
}
.dfyfortune-filter-sidebar__form {
display: grid;
grid-template-columns: 280px minmax(0, 1fr);
align-items: start;
gap: 26px;
}
.dfyfortune-filter-sidebar__drawer {
width: 100%;
border: 1px solid var(--dfyfortune-card-border);
border-radius: 8px;
background: #fff;
padding: 18px;
}
.dfyfortune-filter-sidebar__backdrop,
.dfyfortune-filter-sidebar__drawer-header {
display: none;
}
.dfyfortune-filter-sidebar__drawer-close,
.dfyfortune-filter-sidebar__drawer-toggle {
display: none;
}
.dfyfortune-filter-sidebar__section {
display: grid;
gap: 10px;
margin-bottom: 18px;
border-bottom: 1px solid color-mix(in srgb, var(--dfyfortune-primary) 12%, #fff);
padding-bottom: 18px;
}
.dfyfortune-filter-sidebar__section h3 {
display: flex;
align-items: center;
gap: 8px;
margin: 0;
color: #172033;
font-size: 18px;
font-weight: 850;
line-height: 1.2;
}
.dfyfortune-filter-sidebar__section--switch {
display: block;
}
.dfyfortune-filter-sidebar__switch {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
color: #172033;
cursor: pointer;
}
.dfyfortune-filter-sidebar__switch-label {
display: flex;
align-items: center;
gap: 8px;
min-width: 0;
font-size: 18px;
font-weight: 850;
line-height: 1.2;
}
.dfyfortune-filter-sidebar__switch input {
position: absolute;
opacity: 0;
pointer-events: none;
}
.dfyfortune-filter-sidebar__switch-control {
position: relative;
display: inline-flex;
flex: 0 0 auto;
width: 40px;
height: 20px;
border-radius: 999px;
background: #e8edf6;
box-shadow: inset 0 0 0 1px rgba(16, 24, 40, 0.06);
transition: background 180ms ease, box-shadow 180ms ease;
}
.dfyfortune-filter-sidebar__switch-control::after {
position: absolute;
top: 2px;
left: 2px;
width: 16px;
height: 16px;
border-radius: 999px;
background: #fff;
box-shadow: 0 6px 14px rgba(16, 24, 40, 0.18);
content: "";
transition: transform 180ms ease;
}
.dfyfortune-filter-sidebar__switch input:checked + .dfyfortune-filter-sidebar__switch-control {
background: linear-gradient(90deg, var(--dfyfortune-primary), color-mix(in srgb, var(--dfyfortune-primary) 65%, #c026d3));
box-shadow: 0 8px 18px color-mix(in srgb, var(--dfyfortune-primary) 22%, transparent);
}
.dfyfortune-filter-sidebar__switch input:checked + .dfyfortune-filter-sidebar__switch-control::after {
transform: translateX(20px);
}
.dfyfortune-filter-sidebar__switch input:focus-visible + .dfyfortune-filter-sidebar__switch-control {
outline: 2px solid color-mix(in srgb, var(--dfyfortune-primary) 45%, #fff);
outline-offset: 3px;
}
.dfyfortune-filter-sidebar__title-icon {
width: 18px;
height: 18px;
color: var(--dfyfortune-primary);
fill: none;
flex: 0 0 auto;
stroke: currentColor;
stroke-linecap: round;
stroke-linejoin: round;
stroke-width: 2;
}
.dfyfortune-filter-sidebar__section input[type="number"],
.dfyfortune-filter-sidebar__section select,
.dfyfortune-filter-sidebar__sort select {
width: 100%;
border: 1px solid #dce2ed;
border-radius: 5px;
background: #fff;
color: #172033;
font-size: 14px;
padding: 9px 10px;
}
.dfyfortune-filter-sidebar__price {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 8px;
}
.dfyfortune-filter-sidebar__check,
.dfyfortune-filter-sidebar__tag {
display: flex;
align-items: center;
gap: 8px;
color: #374151;
cursor: pointer;
font-size: 15px;
font-weight: 600;
line-height: 1.3;
}
.dfyfortune-filter-sidebar__tags {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.dfyfortune-filter-sidebar__tag {
position: relative;
font-size: 14px;
font-weight: 600;
}
.dfyfortune-filter-sidebar__tag input,
.dfyfortune-filter-sidebar__toggle-pill input {
position: absolute;
opacity: 0;
pointer-events: none;
}
.dfyfortune-filter-sidebar__tag span,
.dfyfortune-filter-sidebar__toggle-pill span {
border-radius: 999px;
background: #f2f5fa;
padding: 7px 10px;
transition: background 160ms ease, color 160ms ease;
}
.dfyfortune-filter-sidebar__tag input:checked + span,
.dfyfortune-filter-sidebar__toggle-pill input:checked + span {
background: var(--dfyfortune-primary);
color: #fff;
}
.dfyfortune-filter-sidebar__checkbox-list,
.dfyfortune-filter-sidebar__toggle-pills {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.dfyfortune-filter-sidebar__toggle-pill {
position: relative;
display: inline-flex;
align-items: center;
color: #374151;
cursor: pointer;
font-size: 14px;
font-weight: 700;
line-height: 1.2;
}
.dfyfortune-filter-sidebar__meta-check {
width: 100%;
}
.dfyfortune-filter-sidebar__apply {
width: 100%;
border: 0;
border-radius: 6px;
background: var(--dfyfortune-primary);
color: #fff;
cursor: pointer;
font-size: 15px;
font-weight: 800;
min-height: 42px;
}
.dfyfortune-filter-sidebar__sort {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
margin-bottom: 16px;
}
.dfyfortune-filter-sidebar__sort label {
display: flex;
flex: 0 0 auto;
align-items: center;
gap: 10px;
color: #647084;
font-size: 14px;
font-weight: 700;
}
.dfyfortune-filter-sidebar__sort label > span {
white-space: nowrap;
}
.dfyfortune-filter-sidebar__sort select {
min-width: 150px;
}
.dfyfortune-filter-sidebar__result-count {
flex: 1 1 auto;
color: #374151;
font-size: 14px;
font-weight: 600;
line-height: 1.3;
}
.dfyfortune-filter-sidebar__active-filters {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
margin-bottom: 12px;
}
.dfyfortune-filter-sidebar__active-filters.is-empty {
display: none;
}
.dfyfortune-filter-sidebar__active-list {
display: flex;
flex: 1 1 auto;
flex-wrap: wrap;
gap: 8px;
}
.dfyfortune-filter-sidebar__active-chip {
border-radius: 999px;
background: color-mix(in srgb, var(--dfyfortune-primary) 10%, #fff);
color: #172033;
font-size: 13px;
font-weight: 700;
line-height: 1.2;
padding: 7px 10px;
}
.dfyfortune-filter-sidebar__clear {
flex: 0 0 auto;
border: 0;
background: transparent;
color: var(--dfyfortune-primary);
cursor: pointer;
font-size: 14px;
font-weight: 800;
padding: 6px 0;
}
@media (max-width: 980px) {
.dfyfortune-product-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.dfyfortune-product-carousel {
--dfyfortune-per-view: 2 !important;
}
.dfyfortune-product-carousel__track {
gap: 18px;
}
.dfyfortune-product-carousel__track .dfyfortune-product-card {
flex-basis: calc(50% - 9px);
max-width: calc(50% - 9px);
}
.dfyfortune-filter-sidebar__form {
display: block;
}
.dfyfortune-filter-sidebar__drawer-toggle {
display: inline-flex;
align-items: center;
gap: 8px;
margin-bottom: 16px;
border: 0;
border-radius: 6px;
background: var(--dfyfortune-primary);
color: #fff;
cursor: pointer;
font-size: 15px;
font-weight: 800;
min-height: 40px;
padding: 0 14px;
}
.dfyfortune-filter-sidebar__drawer {
position: fixed !important;
z-index: 2147483646;
top: var(--dfyfortune-mobile-header-offset, 85px);
bottom: 0;
left: 0;
width: min(88vw, 360px);
max-width: calc(100vw - 48px);
height: calc(100vh - var(--dfyfortune-mobile-header-offset, 85px));
height: calc(100dvh - var(--dfyfortune-mobile-header-offset, 85px));
overflow-y: auto;
border-radius: 0;
padding: 0 18px 22px;
box-shadow: 20px 0 50px rgba(16, 24, 40, 0.22);
transform: translateX(-110%);
transition: transform 180ms ease;
-webkit-overflow-scrolling: touch;
}
.dfyfortune-filter-sidebar.is-drawer-open .dfyfortune-filter-sidebar__drawer {
transform: translateX(0);
}
.dfyfortune-filter-sidebar__backdrop {
position: fixed;
z-index: 2147483645;
top: var(--dfyfortune-mobile-header-offset, 85px);
right: 0;
bottom: 0;
left: 0;
display: block;
border: 0;
background: rgba(15, 23, 42, 0.48);
cursor: pointer;
opacity: 0;
pointer-events: none;
transition: opacity 180ms ease, visibility 180ms ease;
visibility: hidden;
}
.dfyfortune-filter-sidebar.is-drawer-open .dfyfortune-filter-sidebar__backdrop {
opacity: 1;
pointer-events: auto;
visibility: visible;
}
.dfyfortune-filter-sidebar__drawer-header {
position: sticky;
z-index: 2;
top: 0;
display: flex;
align-items: center;
justify-content: space-between;
min-height: 58px;
margin: 0 -18px 18px;
border-bottom: 1px solid color-mix(in srgb, var(--dfyfortune-primary) 12%, #fff);
background: #fff;
color: #172033;
font-size: 18px;
font-weight: 850;
line-height: 1.2;
padding: 0 16px;
}
.dfyfortune-filter-sidebar__drawer-close {
display: flex;
align-items: center;
justify-content: center;
width: 38px;
height: 38px;
border: 0;
border-radius: 999px;
background: color-mix(in srgb, var(--dfyfortune-primary) 8%, #fff);
color: #172033;
cursor: pointer;
font-size: 28px;
line-height: 1;
padding: 0;
}
html.dfyfortune-filter-drawer-open,
html.dfyfortune-filter-drawer-open body {
overflow: hidden !important;
}
.dfyfortune-filter-sidebar__sort,
.dfyfortune-filter-sidebar__active-filters {
align-items: flex-start;
flex-direction: column;
}
}
@media (max-width: 560px) {
.dfyfortune-product-feature-strip {
flex-wrap: wrap;
gap: 14px 10px;
}
.dfyfortune-product-feature-strip__item {
flex: 1 1 calc(50% - 5px);
}
.dfyfortune-product-feature-strip__line {
font-size: 14px;
}
.dfyfortune-product-feature-strip__line + .dfyfortune-product-feature-strip__line {
font-size: 12px;
}
.dfyfortune-product-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 14px;
}
.dfyfortune-product-carousel__track {
gap: 14px;
}
.dfyfortune-product-carousel__track .dfyfortune-product-card {
flex-basis: calc(50% - 7px);
max-width: calc(50% - 7px);
}
.dfyfortune-product-card__title {
font-size: 15px;
}
.dfyfortune-product-card__features {
gap: 5px;
justify-content: space-around;
}
.dfyfortune-product-card__feature--rights {
display: none;
}
.dfyfortune-product-card__feature:not(.dfyfortune-product-card__feature--rights) {
max-width: 50%;
}
}
@media (max-width: 300px) {
.dfyfortune-product-feature-strip__item {
flex-basis: 100%;
}
.dfyfortune-product-grid {
grid-template-columns: 1fr;
}
}
@container (max-width: 260px) {
.dfyfortune-product-card__features {
gap: 5px;
padding: 8px 0;
}
.dfyfortune-product-card__feature {
font-size: 11px;
gap: 5px;
line-height: 1.15;
}
.dfyfortune-product-card__feature svg {
width: 16px;
height: 16px;
}
}