:root {
--ffb-accent: #cf59e5;
--ffb-accent-soft: #f6d5ff;
--ffb-accent-soft-hover: #efc2fb;
--ffb-accent-ink: #7e2a9d;
--ffb-accent-ink-strong: #8d32aa;
--ffb-accent-link: #a42ac1;
--ffb-accent-link-hover: #7e208f;
--ffb-slider: #b84dd1;
--ffb-panel-border: #d36bea;
}
.ffb-browser,
.ffb-dock,
.ffb-pal-page {
--ffb-font-heading: 'Mochiy Pop P One', sans-serif;
--ffb-font-body: 'Nunito Sans', sans-serif;
}
.ffb-browser {
width: 100%;
max-width: 100%;
overflow-x: hidden;
box-sizing: border-box;
font-family: var(--ffb-font-body);
}
.ffb-browser *,
.ffb-browser *::before,
.ffb-browser *::after {
box-sizing: border-box;
} .ffb-sr-only {
position: absolute;
width: 1px;
height: 1px;
margin: -1px;
padding: 0;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}
body.ffb-modal-open {
overflow: hidden;
} .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;
padding: 5px 8px;
border: 1px solid transparent;
border-radius: 9px;
color: #555;
font-size: 13px;
cursor: pointer;
user-select: none;
}
.ffb-discontinued-toggle.is-active {
border-color: var(--ffb-accent);
background: var(--ffb-accent-soft);
color: var(--ffb-accent-ink);
}
.ffb-discontinued-checkbox {
width: 16px;
height: 16px;
margin: 0;
cursor: pointer;
}
.ffb-below-filters-row {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 10px 20px;
margin: 16px 0 20px;
}
.ffb-below-filters-row .ffb-sort {
margin-bottom: 0;
}
.ffb-below-filters-row .ffb-result-count {
margin: 0 0 0 auto;
} .ffb-filters {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
gap: 12px;
width: 100%;
margin-bottom: 20px;
position: relative;
padding: 18px;
border: 1.5px solid var(--ffb-panel-border);
border-radius: 14px;
background: rgba(255, 255, 255, 0.46);
box-shadow: 0 2px 10px rgba(150, 75, 190, 0.08);
}
@media (max-width: 1200px) {
.ffb-filters {
grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
}
}
@media (max-width: 900px) {
.ffb-filters {
grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}
}
@media (max-width: 600px) {
.ffb-filters {
grid-template-columns: 1fr;
padding: 14px;
gap: 10px;
}
}
.ffb-filter {
position: relative;
min-width: 0;
}
.ffb-filter-label {
display: block;
margin-bottom: 9px;
color: #000;
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: 9px;
}
.ffb-filter-label-row .ffb-filter-label {
margin-bottom: 0;
}
.ffb-currency-toggle,
.ffb-unit-toggle {
min-height: 32px;
padding: 3px 8px;
border: 1px solid #d9dbe8;
border-radius: 8px;
background: #fff;
color: #000;
font-family: var(--ffb-font-heading);
font-size: 12px;
font-weight: 600;
cursor: pointer;
transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.ffb-currency-toggle:hover,
.ffb-unit-toggle:hover {
border-color: #999;
}
.ffb-currency-toggle:focus,
.ffb-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: 48px;
padding: 8px 13px;
border: 1px solid #d9dbe8;
border-radius: 14px;
background: rgba(255, 255, 255, 0.92);
box-shadow: 0 1px 2px rgba(31, 37, 70, 0.03);
color: #000;
font-family: inherit;
font-size: 14px;
font-weight: 600;
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: #c9a1dc;
}
.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;
overflow: hidden;
text-overflow: ellipsis;
}
.ffb-custom-filter-value {
flex: 0 0 auto;
min-width: 0;
margin-left: 4px;
color: #000;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
font-weight: 600;
}
.ffb-custom-filter-arrow {
flex: 0 0 auto;
margin-left: auto;
color: #68708d;
font-size: 11px;
transition: transform 0.2s ease;
}
.ffb-custom-filter.is-open .ffb-custom-filter-arrow {
transform: rotate(180deg);
} .ffb-custom-filter.has-selection .ffb-custom-filter-button,
.ffb-custom-filter.is-active .ffb-custom-filter-button {
border-color: var(--ffb-accent);
background: var(--ffb-accent-soft);
color: var(--ffb-accent-ink);
box-shadow: 0 0 0 2px rgba(207, 89, 229, 0.10);
}
.ffb-custom-filter.has-selection .ffb-custom-filter-value,
.ffb-custom-filter.is-active .ffb-custom-filter-value {
color: var(--ffb-accent-ink-strong);
font-weight: 700;
} .ffb-custom-filter-clear {
display: none;
flex: 0 0 auto;
align-items: center;
justify-content: center;
width: 20px;
height: 20px;
margin-left: auto;
border-radius: 50%;
color: #d62828;
font-size: 18px;
font-weight: 700;
line-height: 1;
cursor: pointer;
transition: background 0.15s ease, color 0.15s ease;
}
.ffb-custom-filter.has-selection .ffb-custom-filter-clear {
display: inline-flex;
} .ffb-custom-filter.has-selection .ffb-custom-filter-arrow {
margin-left: 8px;
}
.ffb-custom-filter-clear:hover,
.ffb-custom-filter-clear:focus-visible {
background: rgba(214, 40, 40, 0.14);
color: #a51616;
outline: none;
}
.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);
}
@media (max-width: 600px) {
.ffb-custom-filter-dropdown {
max-height: 240px;
}
}
.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;
padding: 12px 14px 10px;
border: 1px solid #e7e4ef;
border-radius: 14px;
background: rgba(255, 255, 255, 0.72);
}
.ffb-filter-range.is-active {
border-color: var(--ffb-accent);
box-shadow: 0 0 0 2px rgba(207, 89, 229, 0.10);
}
.ffb-slider {
position: relative;
width: 100%; padding-top: 6px;
}
.ffb-slider-track {
position: relative;
height: 5px;
margin: 17px 10px 0;
border-radius: 999px;
background: #e3e0e8;
}
.ffb-slider-track-fill {
position: absolute;
top: 0;
bottom: 0;
border-radius: 3px;
background: var(--ffb-slider);
} .ffb-slider-thumb {
position: absolute;
top: 2px;
left: -14px;
width: calc(100% + 28px);
height: 48px;
margin: 0;
padding: 0;
-webkit-appearance: none;
appearance: none;
background: transparent;
pointer-events: none;
touch-action: pan-y;
}
.ffb-slider-thumb::-webkit-slider-runnable-track {
height: 48px;
background: transparent;
}
.ffb-slider-thumb::-moz-range-track {
height: 48px;
background: transparent;
}
.ffb-slider-thumb::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 48px;
height: 48px;
margin: 0;
border: 0;
background: radial-gradient(circle at center, #fff 0, #fff 8px, var(--ffb-slider) 8.5px, var(--ffb-slider) 10.5px, transparent 11px);
cursor: pointer;
pointer-events: all;
}
.ffb-slider-thumb::-moz-range-thumb {
width: 48px;
height: 48px;
box-sizing: border-box;
border: 0;
background: radial-gradient(circle at center, #fff 0, #fff 8px, var(--ffb-slider) 8.5px, var(--ffb-slider) 10.5px, transparent 11px);
cursor: pointer;
pointer-events: all;
}
.ffb-slider-thumb:focus {
outline: none;
}
.ffb-slider-thumb:focus::-webkit-slider-thumb {
background: radial-gradient(circle at center, #fff 0, #fff 8px, var(--ffb-slider) 8.5px, var(--ffb-slider) 10.5px, rgba(184, 77, 209, 0.28) 11px, rgba(184, 77, 209, 0.28) 14px, transparent 14.5px);
}
.ffb-slider-thumb:focus::-moz-range-thumb {
background: radial-gradient(circle at center, #fff 0, #fff 8px, var(--ffb-slider) 8.5px, var(--ffb-slider) 10.5px, rgba(184, 77, 209, 0.28) 11px, rgba(184, 77, 209, 0.28) 14px, transparent 14.5px);
} .ffb-slider-bounds {
display: flex;
justify-content: space-between;
margin-top: 9px;
color: #000;
font-size: 13px;
} .ffb-slider-value {
display: flex;
align-items: center;
justify-content: center;
flex-wrap: wrap;
gap: 6px;
margin-top: 8px;
padding: 6px 10px;
border: 1px solid #e3e0eb;
border-radius: 9px;
background: rgba(255, 255, 255, 0.7);
color: #222;
font-size: 13px;
text-align: center;
}
.ffb-slider-number {
width: 72px;
min-width: 0;
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-filters-top-row {
grid-column: 1 / -1;
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 16px;
margin-bottom: 4px;
}
.ffb-filters-search-row {
flex: 1 1 100%;
width: 100%;
min-width: 0;
margin-bottom: 0;
}
.ffb-filters-search-row .ffb-search-input {
width: 100%;
}
.ffb-filter-ranges-row {
grid-column: 1 / -1;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
align-items: start;
gap: 16px;
margin-top: 4px;
}
.ffb-filter-ranges-row > .ffb-filter-range {
min-width: 0;
display: flex;
flex-direction: column;
} .ffb-filters .ffb-more-filter {
display: none;
}
.ffb-filters.ffb-more-filters-open .ffb-more-filter {
display: block;
}
.ffb-filters .ffb-filter-ranges-row > .ffb-filter-range.ffb-more-filter {
display: none;
}
.ffb-filters.ffb-more-filters-open .ffb-filter-ranges-row > .ffb-filter-range.ffb-more-filter {
display: flex;
}
@media (max-width: 600px) {
.ffb-filters .ffb-mobile-more-filter {
display: none;
}
.ffb-filters.ffb-more-filters-open .ffb-mobile-more-filter {
display: block;
}
}
.ffb-filters-bottom-bar {
grid-column: 1 / -1;
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 12px;
margin-top: 4px;
padding-top: 12px;
border-top: 1px solid #e7e4ef;
}
.ffb-more-filters-toggle {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 3px 2px;
border: 0;
background: transparent;
color: var(--ffb-accent-link);
font-family: var(--ffb-font-heading);
font-size: 14px;
font-weight: 700;
cursor: pointer;
}
.ffb-more-filters-toggle:hover {
color: var(--ffb-accent-link-hover);
}
.ffb-more-filters-chevron {
font-size: 17px;
line-height: 1;
transition: transform 0.2s ease;
}
.ffb-more-filters-open .ffb-more-filters-chevron {
transform: rotate(180deg);
} .ffb-filters-bottom-right {
display: flex;
align-items: center;
gap: 14px;
}
@media (max-width: 600px) { .ffb-below-filters-row {
flex-direction: column;
align-items: stretch;
gap: 10px;
margin: 14px 0 16px;
}
.ffb-below-filters-row .ffb-result-count {
margin: 0;
}
.ffb-sort {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 4px 12px;
width: 100%;
}
.ffb-sort > :nth-child(1) { grid-area: 1 / 1; }
.ffb-sort > :nth-child(2) { grid-area: 2 / 1; }
.ffb-sort > :nth-child(3) { grid-area: 1 / 2; }
.ffb-sort > :nth-child(4) { grid-area: 2 / 2; }
.ffb-sort .ffb-sort-select {
width: 100%;
min-width: 0;
} .ffb-filters-bottom-bar {
justify-content: flex-start;
gap: 10px 12px;
}
.ffb-filters-bottom-right {
display: contents;
}
.ffb-more-filters-toggle { order: 1; }
.ffb-report-link         { order: 2; margin-left: auto; } .ffb-filters .ffb-discontinued-toggle {
order: 3;
flex: 1 0 100%;
margin-left: 0;
display: none;
}
.ffb-filters.ffb-more-filters-open .ffb-discontinued-toggle,
.ffb-filters .ffb-discontinued-toggle.is-active {
display: flex;
}
.ffb-filters-bottom-bar .ffb-clear-filters {
order: 4;
}
}
.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: var(--ffb-font-heading);
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-filters-bottom-bar .ffb-clear-filters {
min-height: 34px;
padding: 7px 16px;
border-radius: 8px;
font-size: 13px;
line-height: 1.2;
}
@media (max-width: 600px) {
.ffb-clear-filters {
width: 100%;
}
}
.ffb-report-link {
color: #555;
font-size: 13px;
text-decoration: underline;
}
.ffb-report-link:hover,
.ffb-report-link:focus-visible {
color: #222;
} .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-hex-note {
display: flex;
align-items: center;
gap: 8px;
margin: 0 0 16px;
color: #333;
font-size: 14px;
}
.ffb-hex-note[hidden] {
display: none;
}
.ffb-hex-note-swatch {
flex: 0 0 auto;
width: 22px;
height: 22px;
border: 2px solid #fff;
border-radius: 50%;
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3);
}
.ffb-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
gap: 24px;
width: 100%;
scroll-margin-top: 24px;
}
@media (max-width: 600px) {
.ffb-grid {
grid-template-columns: 1fr;
gap: 18px;
}
.ffb-search-input {
min-height: 46px;
}
}
.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-discontinued {
opacity: 0.65;
}
.ffb-card-discontinued .ffb-card-cover {
filter: grayscale(35%);
} .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-card-swatch.is-pickable {
width: 36px;
height: 36px;
cursor: crosshair;
transform-origin: bottom right;
transition: transform 0.15s ease;
}
.ffb-card-swatch.is-pickable:hover {
transform: scale(1.6);
}
.ffb-swatch-dot {
position: absolute;
width: 7px;
height: 7px;
border: 1px solid rgba(0, 0, 0, 0.65);
border-radius: 50%;
background: #fff;
transform: translate(-50%, -50%);
pointer-events: none;
}
.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-content {
display: flex;
flex-direction: column;
padding: 18px;
}
@media (max-width: 600px) {
.ffb-card-content {
padding: 16px;
}
}
.ffb-card-title {
margin: 0 0 8px;
color: #222;
font-family: var(--ffb-font-heading);
font-size: clamp(20px, 2.2vw, 26px);
font-weight: 400;
line-height: 1.3;
}
@media (max-width: 400px) {
.ffb-card-title {
font-size: 18px;
}
} .ffb-card-title-button {
display: inline;
margin: 0;
padding: 0;
border: 0;
background: none;
color: inherit;
font: inherit;
line-height: inherit;
text-align: left;
cursor: pointer;
}
.ffb-card-title-button:hover,
.ffb-card-title-button:focus-visible {
text-decoration: underline;
}
.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-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-links {
display: flex;
flex-direction: column;
gap: 8px;
margin-top: 12px;
}
.ffb-product-links .ffb-product-button {
margin-top: 0;
}
.ffb-product-button {
display: inline-block;
width: 100%;
margin-top: 12px;
padding: 10px 16px;
border: 0;
border-radius: 6px;
background: var(--ffb-vendor-bg, #333);
color: var(--ffb-vendor-fg, #fff);
font-family: var(--ffb-font-heading);
font-size: 15px;
font-weight: 400;
line-height: 1.4;
text-align: center;
text-decoration: none;
white-space: normal;
overflow-wrap: anywhere;
cursor: pointer;
transition: background 0.2s ease, opacity 0.2s ease;
}
.ffb-product-button:hover {
background: var(--ffb-vendor-bg, #222);
color: var(--ffb-vendor-fg, #fff);
opacity: 0.95;
filter: brightness(0.88);
}
.ffb-product-button:focus {
outline: none;
box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.12);
} .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: var(--ffb-font-heading);
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);
}
@media (max-width: 639px) {
.ffb-fabric-modal-panel {
padding: 18px;
}
}
.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;
align-self: start;
}
.ffb-fabric-modal-image {
display: block;
width: 100%;
border-radius: 10px;
aspect-ratio: 4 / 3;
object-fit: cover;
background: #f5f5f5;
}
@media (max-width: 639px) { .ffb-fabric-modal-image {
aspect-ratio: 16 / 10;
}
}
.ffb-fabric-modal-swatch {
position: absolute;
right: 12px;
bottom: 12px;
width: 40px;
height: 40px;
border: 2px solid #fff;
border-radius: 50%;
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
transform-origin: bottom right;
transition: transform 0.15s ease;
}
.ffb-fabric-modal-swatch.is-pickable {
cursor: crosshair;
}
.ffb-fabric-modal-swatch.is-pickable:hover {
transform: scale(1.5);
}
.ffb-fabric-modal-swatch .ffb-swatch-dot {
width: 8px;
height: 8px;
}
.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: var(--ffb-font-heading);
font-size: clamp(24px, 3vw, 30px);
font-weight: 400;
line-height: 1.25;
}
.ffb-fabric-modal-details {
margin-bottom: 16px;
} .ffb-fabric-modal-more-toggle {
margin: 2px 0 14px;
padding: 0;
border: 0;
background: transparent;
color: var(--ffb-accent-link);
font-family: var(--ffb-font-heading);
font-size: 14px;
font-weight: 700;
cursor: pointer;
}
.ffb-fabric-modal-more-toggle:hover {
color: var(--ffb-accent-link-hover);
}
.ffb-fabric-modal-more {
margin-bottom: 14px;
}
.ffb-fabric-modal-more[hidden] {
display: none;
} .ffb-fabric-modal-product-links {
display: flex;
flex-wrap: wrap;
gap: 10px;
align-self: flex-start;
}
.ffb-fabric-modal-product-links[hidden] {
display: none;
}
.ffb-fabric-modal-product-link {
align-self: flex-start;
padding: 10px 18px;
border: 1px solid var(--ffb-vendor-bg, #333);
border-radius: 7px;
background: var(--ffb-vendor-bg, #333);
color: var(--ffb-vendor-fg, #fff);
font-family: var(--ffb-font-heading);
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: var(--ffb-vendor-bg, #222);
color: var(--ffb-vendor-fg, #fff);
filter: brightness(0.88);
}
.ffb-fabric-modal-page-link,
.ffb-fabric-modal-report {
display: inline-block;
margin-top: .75rem;
margin-right: 1.25rem;
}
.ffb-fabric-modal-page-link {
font-weight: 600;
}
.ffb-fabric-modal-report {
color: #555;
font-size: 14px;
}
.ffb-fabric-modal-page-link[hidden],
.ffb-fabric-modal-report[hidden] {
display: none;
} .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: var(--ffb-font-heading);
font-size: 20px;
font-weight: 400;
}
.ffb-fabric-modal-similar-hint {
margin: -6px 0 12px;
color: #555;
font-size: 13px;
}
.ffb-fabric-modal-similar-hint[hidden],
.ffb-fabric-modal-similar-reset[hidden] {
display: none;
}
.ffb-fabric-modal-similar-reset {
margin: 0 0 14px;
padding: 6px 14px;
border: 1px solid var(--ffb-accent);
border-radius: 8px;
background: var(--ffb-accent-soft);
color: var(--ffb-accent-ink);
font-family: inherit;
font-size: 13px;
font-weight: 700;
cursor: pointer;
}
.ffb-fabric-modal-similar-reset:hover {
background: var(--ffb-accent-soft-hover);
}
.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: #555;
font-size: 14px;
text-align: center;
}  .ffb-card-palette-toggle {
display: flex;
align-items: center;
gap: 6px;
margin-top: 10px;
color: #20284a;
font-size: 13px;
line-height: 1.3;
cursor: pointer;
}
.ffb-card-palette-toggle input {
margin: 0;
cursor: pointer;
}
.ffb-card-palette-toggle.ffb-card-compare-toggle {
margin-top: 6px;
}
.ffb-fabric-modal-palette {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 6px 14px;
margin: 0 0 14px;
}
.ffb-fabric-modal-palette .ffb-card-palette-toggle {
margin-top: 0;
}
.ffb-modal-palette-one {
padding: 4px 12px;
border: 1px solid var(--ffb-accent);
border-radius: 8px;
background: var(--ffb-accent-soft);
color: var(--ffb-accent-ink);
font-family: inherit;
font-size: 13px;
font-weight: 700;
cursor: pointer;
}
.ffb-modal-palette-one:hover {
background: var(--ffb-accent-soft-hover);
}
.ffb-modal-palette-one[hidden] {
display: none;
} .ffb-dock {
position: fixed;
left: 0;
right: 0;
bottom: 0;
z-index: 99990;
box-sizing: border-box;
padding: 6px 14px calc(8px + env(safe-area-inset-bottom, 0px));
border-top: 1px solid #d9dbe8;
background: rgba(255, 255, 255, 0.98);
box-shadow: 0 -4px 16px rgba(31, 37, 70, 0.14);
}
.ffb-dock[hidden],
.ffb-dock-panel[hidden] {
display: none;
}
.ffb-dock-tabs {
display: flex;
align-items: center;
gap: 6px;
margin-bottom: 6px;
}
.ffb-dock-tab {
padding: 4px 12px;
border: 1px solid transparent;
border-radius: 8px;
background: transparent;
color: #20284a;
font-family: var(--ffb-font-heading);
font-size: 13px;
cursor: pointer;
}
.ffb-dock-tab:hover {
border-color: #d9dbe8;
}
.ffb-dock-tab.is-active {
border-color: var(--ffb-accent);
background: var(--ffb-accent-soft);
color: var(--ffb-accent-ink);
}
.ffb-dock-count {
color: #68708d;
font-family: var(--ffb-font-body);
font-size: 12px;
}
.ffb-dock-tab.is-active .ffb-dock-count {
color: var(--ffb-accent-ink);
}
.ffb-dock-note {
margin-left: auto;
color: #b3261e;
font-size: 13px;
font-weight: 600;
}
.ffb-dock-empty {
margin: 0;
padding: 14px 4px;
color: #68708d;
font-size: 13px;
} .ffb-palette-scroll,
.ffb-compare-scroll {
display: flex;
gap: 10px;
overflow-x: auto;
overflow-y: hidden;
padding-bottom: 8px;
}
.ffb-palette-chip {
position: relative;
flex: 0 0 128px;
width: 128px;
}
.ffb-palette-chip-swatch {
display: block;
width: 100%;
height: 44px;
border: 1px solid rgba(0, 0, 0, 0.18);
border-radius: 6px;
}
.ffb-compare-chip-img {
object-fit: cover;
}
.ffb-palette-chip-name {
display: block;
margin-top: 4px;
overflow: hidden;
color: #20284a;
font-size: 12px;
font-weight: 700;
line-height: 1.25;
text-overflow: ellipsis;
white-space: nowrap;
}
a.ffb-palette-chip-name {
text-decoration: none;
}
a.ffb-palette-chip-name:hover,
a.ffb-palette-chip-name:focus-visible {
text-decoration: underline;
}
.ffb-palette-chip-hex {
display: block;
color: #555;
font-family: monospace;
font-size: 12px;
line-height: 1.25;
}
.ffb-palette-chip-remove {
position: absolute;
top: 3px;
right: 3px;
width: 20px;
height: 20px;
padding: 0;
border: 0;
border-radius: 50%;
background: rgba(255, 255, 255, 0.9);
color: #d62828;
font-size: 16px;
font-weight: 700;
line-height: 20px;
text-align: center;
cursor: pointer;
}
.ffb-palette-chip-remove:hover {
background: #fff;
color: #a51616;
} .ffb-palette-actions {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 8px 10px;
}
.ffb-palette-format {
min-height: 32px;
border: 1px solid #d9dbe8;
border-radius: 8px;
font-size: 13px;
}
.ffb-palette-save,
.ffb-palette-secondary,
.ffb-palette-clear {
min-height: 32px;
padding: 5px 16px;
border: 1px solid #333;
border-radius: 8px;
background: #333;
color: #fff;
font-family: var(--ffb-font-heading);
font-size: 13px;
white-space: nowrap;
cursor: pointer;
}
.ffb-palette-save:hover {
background: #222;
}
.ffb-palette-save:disabled {
opacity: 0.45;
cursor: not-allowed;
}
.ffb-palette-secondary,
.ffb-palette-clear {
border-color: #d9dbe8;
background: #fff;
color: #20284a;
}
.ffb-palette-secondary:hover,
.ffb-palette-clear:hover {
border-color: #999;
}
.ffb-palette-clear {
margin-left: auto;
}  .ffb-compare-modal {
z-index: 100000;
}
.ffb-compare-modal-panel {
max-width: 1100px;
}
.ffb-compare-tools {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 10px 16px;
margin: 0 0 14px;
}
.ffb-compare-diff {
display: flex;
align-items: center;
gap: 6px;
color: #20284a;
font-size: 14px;
cursor: pointer;
}
.ffb-compare-note {
color: #555;
font-size: 13px;
}
.ffb-compare-scroll-x {
overflow-x: auto;
}
.ffb-compare-table {
width: 100%;
border-collapse: separate;
border-spacing: 0;
font-size: 14px;
}
.ffb-compare-table th,
.ffb-compare-table td {
min-width: 150px;
padding: 8px 10px;
border-bottom: 1px solid #e5e5e5;
background: #fff;
color: #333;
text-align: left;
vertical-align: top;
overflow-wrap: anywhere;
} .ffb-compare-table tbody th,
.ffb-compare-table .ffb-compare-corner {
position: sticky;
left: 0;
z-index: 1;
min-width: 100px;
max-width: 120px;
color: #555;
font-weight: 600;
}
.ffb-compare-head {
position: relative;
padding-right: 30px;
font-weight: 400;
}
.ffb-compare-head-img {
display: block;
width: 100%;
aspect-ratio: 4 / 3;
margin-bottom: 8px;
border-radius: 8px;
object-fit: cover;
background: #f5f5f5;
}
.ffb-compare-head-name {
color: #222;
font-family: var(--ffb-font-heading);
font-size: 16px;
line-height: 1.3;
}
.ffb-compare-head-remove {
position: absolute;
top: 8px;
right: 6px;
width: 22px;
height: 22px;
padding: 0;
border: 0;
border-radius: 50%;
background: #f2f2f2;
color: #d62828;
font-size: 16px;
font-weight: 700;
line-height: 22px;
cursor: pointer;
}
.ffb-compare-head-remove:hover {
background: #e2e2e2;
}
.ffb-compare-swatch {
display: block;
width: 36px;
height: 36px;
border: 2px solid #fff;
border-radius: 50%;
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3);
}
.ffb-compare-buy {
display: flex;
flex-direction: column;
gap: 6px;
}
.ffb-compare-buy .ffb-fabric-modal-product-link {
padding: 6px 10px;
font-size: 13px;
}
.ffb-compare-table .ffb-compare-row.is-different th,
.ffb-compare-table .ffb-compare-row.is-different td {
background: #fcf3ff;
}
.ffb-compare-table.is-diff-only .ffb-compare-row:not(.is-different) {
display: none;
} .ffb-shared-palette {
margin: 0 0 20px;
padding: 14px 16px;
border: 1.5px solid var(--ffb-accent);
border-radius: 14px;
background: var(--ffb-accent-soft);
}
.ffb-shared-palette-heading {
margin: 0 0 10px;
color: var(--ffb-accent-ink);
font-family: var(--ffb-font-heading);
font-size: 15px;
}
.ffb-shared-palette-chips {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin: 0 0 12px;
}
.ffb-shared-palette-swatch {
width: 34px;
height: 34px;
border: 2px solid #fff;
border-radius: 50%;
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
}
.ffb-shared-palette-actions {
display: flex;
flex-wrap: wrap;
gap: 10px;
} .ffb-pal-page {
max-width: 760px;
margin: 0 auto;
}
.ffb-pal-title {
margin: 0 0 1rem;
}
.ffb-pal-count {
font-size: 0.7em;
font-weight: 400;
opacity: 0.7;
}
.ffb-pal-list {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
gap: 12px;
margin: 0 0 1.5rem;
padding: 0;
list-style: none;
}
.ffb-pal-item {
display: flex;
align-items: center;
gap: 12px;
margin: 0;
}
.ffb-pal-swatch {
flex: 0 0 56px;
width: 56px;
height: 56px;
border: 1px solid rgba(0, 0, 0, 0.2);
border-radius: 10px;
}
.ffb-pal-text {
display: flex;
flex-direction: column;
min-width: 0;
}
.ffb-pal-name {
font-weight: 700;
overflow-wrap: anywhere;
}
.ffb-pal-hex {
font-family: monospace;
font-size: 0.9em;
opacity: 0.75;
}
.ffb-pal-actions {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 12px;
}
.ffb-pal-button {
display: inline-block;
padding: 10px 18px;
border: 0;
border-radius: 7px;
background: #333;
color: #fff;
font-family: var(--ffb-font-heading);
font-size: 15px;
line-height: 1.4;
text-decoration: none;
cursor: pointer;
}
.ffb-pal-button:hover,
.ffb-pal-button:focus-visible {
background: #222;
color: #fff;
}
.ffb-pal-button[hidden] {
display: none;
}