.ffb-browser {
width: 100%;
box-sizing: border-box;
}
.ffb-browser *,
.ffb-browser *::before,
.ffb-browser *::after {
box-sizing: border-box;
}  .ffb-search {
width: 100%;
margin-bottom: 20px;
}
.ffb-search-input {
display: block;
width: 100%;
min-height: 48px;
padding: 12px 15px;
border: 1px solid #ccc;
border-radius: 8px;
background: #fff;
color: #222;
font-family: inherit;
font-size: 16px;
line-height: 1.4;
transition:
border-color 0.2s ease,
box-shadow 0.2s ease;
}
.ffb-search-input::placeholder {
color: #888;
}
.ffb-search-input:hover {
border-color: #999;
}
.ffb-search-input:focus {
outline: none;
border-color: #666;
box-shadow:
0 0 0 3px rgba(0, 0, 0, 0.08);
} .ffb-sort {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 10px 20px;
margin-bottom: 20px;
}
.ffb-sort .ffb-filter-label {
flex: 0 0 auto;
margin: 0;
}
.ffb-sort-select {
min-height: 42px;
padding: 8px 12px;
border: 1px solid #ccc;
border-radius: 7px;
background: #fff;
color: #222;
font-family: inherit;
font-size: 14px;
cursor: pointer;
transition:
border-color 0.2s ease,
box-shadow 0.2s ease;
}
.ffb-sort-select:hover {
border-color: #999;
}
.ffb-sort-select:focus {
outline: none;
border-color: #666;
box-shadow:
0 0 0 3px rgba(0, 0, 0, 0.08);
}
.ffb-discontinued-toggle {
display: flex;
align-items: center;
gap: 7px;
margin-left: auto;
color: #555;
font-size: 13px;
cursor: pointer;
user-select: none;
}
.ffb-discontinued-checkbox {
width: 16px;
height: 16px;
margin: 0;
cursor: pointer;
} .ffb-filters {
display: grid;
grid-template-columns:
repeat(3, minmax(180px, 1fr));
gap: 16px;
width: 100%;
margin-bottom: 20px;
} .ffb-filter {
position: relative;
min-width: 0;
}
.ffb-filter-label {
display: block;
margin-bottom: 7px;
color: #333;
font-size: 14px;
font-weight: 600;
line-height: 1.3;
} .ffb-filter-label-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
margin-bottom: 7px;
}
.ffb-filter-label-row .ffb-filter-label {
margin-bottom: 0;
}
.ffb-currency-toggle,
.ffb-pile-unit-toggle {
min-height: 28px;
padding: 3px 8px;
border: 1px solid #ccc;
border-radius: 6px;
background: #fff;
color: #333;
font-family: inherit;
font-size: 12px;
font-weight: 600;
cursor: pointer;
transition:
border-color 0.2s ease,
box-shadow 0.2s ease;
}
.ffb-currency-toggle:hover,
.ffb-pile-unit-toggle:hover {
border-color: #999;
}
.ffb-currency-toggle:focus,
.ffb-pile-unit-toggle:focus {
outline: none;
border-color: #666;
box-shadow:
0 0 0 3px rgba(0, 0, 0, 0.08);
} .ffb-custom-filter {
position: relative;
width: 100%;
} .ffb-custom-filter-button {
display: flex;
align-items: center;
width: 100%;
min-height: 44px;
padding: 10px 12px;
border: 1px solid #ccc;
border-radius: 7px;
background: #fff;
color: #222;
font-family: inherit;
font-size: 14px;
line-height: 1.4;
text-align: left;
cursor: pointer;
transition:
border-color 0.2s ease,
box-shadow 0.2s ease,
background 0.2s ease;
}
.ffb-custom-filter-button:hover {
border-color: #999;
}
.ffb-custom-filter-button:focus {
outline: none;
border-color: #666;
box-shadow:
0 0 0 3px rgba(0, 0, 0, 0.08);
} .ffb-custom-filter-label {
flex: 0 0 auto;
white-space: nowrap;
} .ffb-custom-filter-value {
flex: 1 1 auto;
min-width: 0;
margin-left: 7px;
color: #666;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.ffb-custom-filter.has-selection
.ffb-custom-filter-value {
color: #222;
} .ffb-custom-filter-arrow {
flex: 0 0 auto;
margin-left: 8px;
color: #666;
font-size: 10px;
transition:
transform 0.2s ease;
}
.ffb-custom-filter.is-open
.ffb-custom-filter-arrow {
transform: rotate(180deg);
} .ffb-custom-filter-dropdown {
position: absolute;
z-index: 1000;
top: calc(100% + 6px);
left: 0;
width: 100%;
max-height: 280px;
overflow-y: auto;
padding: 7px;
border: 1px solid #ccc;
border-radius: 8px;
background: #fff;
box-shadow:
0 8px 24px rgba(0, 0, 0, 0.14);
} .ffb-custom-filter-option {
display: flex;
align-items: center;
width: 100%;
margin: 0;
padding: 8px 9px;
border-radius: 5px;
color: #333;
font-size: 14px;
line-height: 1.4;
cursor: pointer;
transition:
background 0.15s ease;
}
.ffb-custom-filter-option:hover {
background: #f3f3f3;
} .ffb-custom-filter-option input[type="checkbox"] {
flex: 0 0 auto;
width: 16px;
height: 16px;
margin: 0 9px 0 0;
cursor: pointer;
} .ffb-filter-range {
min-width: 0;
}
.ffb-slider {
position: relative;
width: 100%; padding-top: 6px;
}
.ffb-slider-track {
position: relative;
height: 4px;
margin: 18px 10px 0;
border-radius: 3px;
background: #ddd;
}
.ffb-slider-track-fill {
position: absolute;
top: 0;
bottom: 0;
border-radius: 3px;
background: #333;
} .ffb-slider-thumb {
position: absolute;
top: 12px;
left: 10px;
width: calc(100% - 20px);
margin: 0;
-webkit-appearance: none;
appearance: none;
background: transparent;
pointer-events: none;
}
.ffb-slider-thumb::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 18px;
height: 18px;
border: 2px solid #333;
border-radius: 50%;
background: #fff;
cursor: pointer;
pointer-events: all;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}
.ffb-slider-thumb::-moz-range-thumb {
width: 18px;
height: 18px;
border: 2px solid #333;
border-radius: 50%;
background: #fff;
cursor: pointer;
pointer-events: all;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}
.ffb-slider-thumb::-webkit-slider-runnable-track {
background: transparent;
}
.ffb-slider-thumb::-moz-range-track {
background: transparent;
}
.ffb-slider-thumb:focus {
outline: none;
}
.ffb-slider-thumb:focus::-webkit-slider-thumb {
box-shadow:
0 0 0 3px rgba(0, 0, 0, 0.15);
}
.ffb-slider-thumb:focus::-moz-range-thumb {
box-shadow:
0 0 0 3px rgba(0, 0, 0, 0.15);
} .ffb-slider-bounds {
display: flex;
justify-content: space-between;
margin-top: 10px;
color: #777;
font-size: 12px;
} .ffb-slider-value {
display: flex;
align-items: center;
justify-content: center;
flex-wrap: wrap;
gap: 6px;
margin-top: 6px;
padding: 6px 10px;
border: 1px solid #ddd;
border-radius: 7px;
background: #f7f7f7;
color: #222;
font-size: 13px;
text-align: center;
}
.ffb-slider-number {
width: 64px;
min-height: 30px;
padding: 4px 6px;
border: 1px solid #ccc;
border-radius: 5px;
background: #fff;
color: #222;
font-family: inherit;
font-size: 13px;
text-align: center;
transition:
border-color 0.2s ease,
box-shadow 0.2s ease;
}
.ffb-slider-number:hover {
border-color: #999;
}
.ffb-slider-number:focus {
outline: none;
border-color: #666;
box-shadow:
0 0 0 3px rgba(0, 0, 0, 0.08);
} .ffb-slider-number::-webkit-inner-spin-button,
.ffb-slider-number::-webkit-outer-spin-button {
margin: 0;
} .ffb-clear-filters {
align-self: end;
min-height: 42px;
padding: 10px 18px;
border: 1px solid #333;
border-radius: 7px;
background: #333;
color: #fff;
font-family: 'Chewy', cursive;
font-size: 15px;
font-weight: 400;
line-height: 1.4;
cursor: pointer;
transition:
background 0.2s ease,
border-color 0.2s ease,
transform 0.1s ease;
}
.ffb-clear-filters:hover {
background: #222;
border-color: #222;
}
.ffb-clear-filters:active {
transform: translateY(1px);
}
.ffb-clear-filters:focus {
outline: none;
box-shadow:
0 0 0 3px rgba(0, 0, 0, 0.12);
} .ffb-result-count {
margin: 10px 0 20px;
color: #555;
font-size: 14px;
line-height: 1.5;
}
.ffb-visible-count,
.ffb-total-count {
color: #222;
} .ffb-grid {
display: grid; grid-template-columns:
repeat(auto-fill, minmax(min(100%, 280px), 1fr));
gap: 24px;
width: 100%;
}
@media (min-width: 1100px) {
.ffb-grid { grid-template-columns:
repeat(4, 1fr);
}
} .ffb-card {
display: flex;
flex-direction: column;
min-width: 0;
overflow: hidden;
background: #fff;
border: 1px solid #e2e2e2;
border-radius: 12px;
box-shadow:
0 3px 12px rgba(0, 0, 0, 0.08);
transition:
transform 0.2s ease,
box-shadow 0.2s ease;
}
.ffb-card:hover {
transform: translateY(-3px);
box-shadow:
0 6px 18px rgba(0, 0, 0, 0.12);
} .ffb-card-image-wrap {
position: relative;
display: block;
width: 100%;
margin: 0;
padding: 0;
border: 0;
cursor: pointer; background: transparent;
font: inherit;
transition: opacity 0.2s ease;
}
.ffb-card-image-wrap:hover {
opacity: 0.92;
}
.ffb-card-image-wrap:focus {
outline: none;
box-shadow:
inset 0 0 0 3px rgba(0, 0, 0, 0.25);
}
.ffb-card-cover {
display: block;
width: 100%;
aspect-ratio: 4 / 3;
object-fit: cover;
background: #f5f5f5;
}
.ffb-card-swatch {
position: absolute;
right: 10px;
bottom: 10px;
width: 26px;
height: 26px;
border: 2px solid #fff;
border-radius: 50%;
box-shadow:
0 1px 4px rgba(0, 0, 0, 0.35);
}
.ffb-discontinued-badge {
position: absolute;
top: 10px;
left: 10px;
padding: 4px 10px;
border-radius: 20px;
background: rgba(0, 0, 0, 0.75);
color: #fff;
font-size: 11px;
font-weight: 600;
letter-spacing: 0.03em;
text-transform: uppercase;
} .ffb-card-discontinued {
opacity: 0.65;
}
.ffb-card-discontinued .ffb-card-cover {
filter: grayscale(35%);
} .ffb-card-content {
display: flex;
flex-direction: column;
padding: 18px;
} .ffb-card-title {
margin: 0 0 8px;
color: #222;
font-family: 'Chewy', cursive;
font-size: clamp(20px, 2.2vw, 26px);
font-weight: 400;
line-height: 1.3;
} .ffb-card-quick-meta {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin: 0 0 14px;
color: #555;
font-size: 13px;
}
.ffb-card-quick-item {
padding: 3px 9px;
border-radius: 20px;
background: #f2f2f2;
} .ffb-card-details-data {
display: none;
} .ffb-field {
margin: 0 0 9px;
color: #444;
font-size: 14px;
line-height: 1.45;
}
.ffb-field:last-child {
margin-bottom: 14px;
}
.ffb-field strong {
color: #222;
font-weight: 600;
} .ffb-product-button {
display: inline-block;
width: 100%;
margin-top: 12px;
padding: 10px 16px;
border: 0;
border-radius: 6px;
background: #333;
color: #fff;
font-family: 'Chewy', cursive;
font-size: 15px;
font-weight: 400;
line-height: 1.4;
text-align: center;
text-decoration: none;
cursor: pointer;
transition:
background 0.2s ease,
opacity 0.2s ease;
}
.ffb-product-button:hover {
background: #222;
color: #fff;
opacity: 0.95;
}
.ffb-product-button:focus {
outline: none;
box-shadow:
0 0 0 3px rgba(0, 0, 0, 0.12);
} .ffb-card-filter-data {
display: none !important;
} .ffb-no-results {
display: none;
width: 100%;
margin-top: 25px;
padding: 25px 20px;
border: 1px solid #ddd;
border-radius: 8px;
background: #fafafa;
color: #555;
font-size: 15px;
line-height: 1.5;
text-align: center;
} .ffb-pagination {
display: flex;
align-items: center;
justify-content: center;
gap: 18px;
margin-top: 32px;
}
.ffb-pagination[hidden] {
display: none;
}
.ffb-pagination-prev,
.ffb-pagination-next {
padding: 10px 20px;
border: 1px solid #ccc;
border-radius: 7px;
background: #fff;
color: #222;
font-family: inherit;
font-size: 14px;
font-weight: 600;
cursor: pointer;
transition:
border-color 0.2s ease,
background 0.2s ease;
}
.ffb-pagination-prev:hover,
.ffb-pagination-next:hover {
border-color: #999;
}
.ffb-pagination-prev:disabled,
.ffb-pagination-next:disabled {
opacity: 0.4;
cursor: not-allowed;
}
.ffb-pagination-status {
color: #555;
font-size: 14px;
}
.ffb-pagination-current,
.ffb-pagination-total {
font-weight: 600;
color: #222;
} .ffb-fabric-modal {
position: fixed;
z-index: 9999;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
padding: 24px;
}
.ffb-fabric-modal[aria-hidden="true"] {
display: none;
}
.ffb-fabric-modal-backdrop {
position: absolute;
inset: 0;
background: rgba(0, 0, 0, 0.55);
}
.ffb-fabric-modal-panel {
position: relative;
width: 100%;
max-width: 900px;
max-height: 88vh;
overflow-y: auto;
padding: 28px;
border-radius: 14px;
background: #fff;
box-shadow:
0 20px 60px rgba(0, 0, 0, 0.35);
}
.ffb-fabric-modal-close {
position: absolute;
z-index: 2;
top: 14px;
right: 14px;
width: 34px;
height: 34px;
border: 0;
border-radius: 50%;
background: #f2f2f2;
color: #222;
font-size: 20px;
line-height: 1;
cursor: pointer;
transition: background 0.2s ease;
}
.ffb-fabric-modal-close:hover {
background: #e2e2e2;
}
.ffb-fabric-modal-close:focus {
outline: none;
box-shadow:
0 0 0 3px rgba(0, 0, 0, 0.15);
} .ffb-fabric-modal-body {
display: grid;
grid-template-columns: minmax(0, 1fr);
gap: 24px;
margin-bottom: 28px;
}
@media (min-width: 640px) {
.ffb-fabric-modal-body {
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
}
.ffb-fabric-modal-media {
position: relative;
}
.ffb-fabric-modal-image {
display: block;
width: 100%;
border-radius: 10px;
aspect-ratio: 4 / 3;
object-fit: cover;
background: #f5f5f5;
}
.ffb-fabric-modal-swatch {
position: absolute;
right: 12px;
bottom: 12px;
width: 34px;
height: 34px;
border: 2px solid #fff;
border-radius: 50%;
box-shadow:
0 1px 4px rgba(0, 0, 0, 0.35);
}
.ffb-fabric-modal-badge {
position: absolute;
top: 12px;
left: 12px;
padding: 5px 12px;
border-radius: 20px;
background: rgba(0, 0, 0, 0.75);
color: #fff;
font-size: 12px;
font-weight: 600;
letter-spacing: 0.03em;
text-transform: uppercase;
}
.ffb-fabric-modal-info {
display: flex;
flex-direction: column;
}
.ffb-fabric-modal-title {
margin: 0 0 14px;
color: #222;
font-family: 'Chewy', cursive;
font-size: clamp(24px, 3vw, 30px);
font-weight: 400;
line-height: 1.25;
}
.ffb-fabric-modal-details {
margin-bottom: 16px;
}
.ffb-fabric-modal-product-link {
align-self: flex-start;
padding: 10px 18px;
border: 1px solid #333;
border-radius: 7px;
background: #333;
color: #fff;
font-family: 'Chewy', cursive;
font-size: 15px;
font-weight: 400;
line-height: 1.4;
text-decoration: none;
transition: background 0.2s ease;
}
.ffb-fabric-modal-product-link:hover {
background: #222;
} .ffb-fabric-modal-similar {
border-top: 1px solid #e5e5e5;
padding-top: 22px;
}
.ffb-fabric-modal-similar-heading {
margin: 0 0 16px;
color: #222;
font-family: 'Chewy', cursive;
font-size: 20px;
font-weight: 400;
}
.ffb-fabric-modal-similar-grid {
display: grid;
grid-template-columns:
repeat(auto-fill, minmax(110px, 1fr));
gap: 14px;
}
.ffb-fabric-modal-similar-item {
display: flex;
flex-direction: column;
align-items: center;
gap: 6px;
margin: 0;
padding: 8px;
border: 1px solid #e5e5e5;
border-radius: 10px;
background: #fff;
cursor: pointer;
text-align: center;
transition:
border-color 0.2s ease,
transform 0.15s ease;
}
.ffb-fabric-modal-similar-item:hover {
border-color: #999;
transform: translateY(-2px);
}
.ffb-fabric-modal-similar-item:focus {
outline: none;
border-color: #666;
box-shadow:
0 0 0 3px rgba(0, 0, 0, 0.1);
}
.ffb-fabric-modal-similar-image {
width: 100%;
aspect-ratio: 1 / 1;
border-radius: 6px;
object-fit: cover;
background: #f5f5f5;
}
.ffb-fabric-modal-similar-swatch {
width: 18px;
height: 18px;
border: 1px solid rgba(0, 0, 0, 0.15);
border-radius: 50%;
}
.ffb-fabric-modal-similar-name {
color: #333;
font-size: 12px;
line-height: 1.3;
}
.ffb-fabric-modal-similar-item-discontinued {
opacity: 0.65;
}
.ffb-fabric-modal-similar-item-discontinued
.ffb-fabric-modal-similar-image {
filter: grayscale(35%);
}
.ffb-fabric-modal-similar-discontinued {
padding: 2px 7px;
border-radius: 20px;
background: rgba(0, 0, 0, 0.75);
color: #fff;
font-size: 10px;
font-weight: 600;
letter-spacing: 0.02em;
text-transform: uppercase;
}
.ffb-fabric-modal-similar-empty {
margin: 0;
padding: 20px;
border: 1px dashed #ddd;
border-radius: 8px;
background: #fafafa;
color: #777;
font-size: 14px;
text-align: center;
} body.ffb-modal-open {
overflow: hidden;
} @media (max-width: 1200px) {
.ffb-filters {
grid-template-columns:
repeat(3, minmax(160px, 1fr));
}
} @media (max-width: 900px) {
.ffb-filters {
grid-template-columns:
repeat(2, minmax(160px, 1fr));
}
} @media (max-width: 600px) {
.ffb-filters {
grid-template-columns: 1fr;
gap: 14px;
}
.ffb-grid {
grid-template-columns: 1fr;
gap: 18px;
}
.ffb-search-input {
min-height: 46px;
}
.ffb-custom-filter-dropdown {
max-height: 240px;
}
.ffb-clear-filters {
width: 100%;
}
.ffb-card-content {
padding: 16px;
}
} @media (max-width: 400px) {
.ffb-card-title {
font-size: 18px;
}
}