.mk-wrapper {
--mk-bg: #f8fafc;
--mk-surface: #ffffff;
--mk-surface-subtle: #f1f5f9;
--mk-text-main: #0f172a;
--mk-text-muted: #64748b;
--mk-border: #e2e8f0;
--mk-border-subtle: #cbd5e1;
--mk-primary: #e11d48; --mk-primary-hover: #be123c;
--mk-primary-light: #ffe4e6;
--mk-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
--mk-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
--mk-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
--mk-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.06);
--mk-radius-sm: 6px;
--mk-radius-md: 10px;
--mk-radius-lg: 16px;
--mk-radius-full: 9999px;
--mk-transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
font-family: inherit;
color: var(--mk-text-main);
background: var(--mk-bg);
border: 1px solid var(--mk-border);
border-radius: var(--mk-radius-lg);
padding: 32px 24px;
margin: 30px auto;
max-width: 1320px;
box-sizing: border-box;
position: relative;
line-height: 1.5;
}
.mk-wrapper,
.mk-wrapper *,
.mk-wrapper button,
.mk-wrapper input,
.mk-modal,
.mk-modal * {
box-sizing: border-box;
font-family: inherit;
} .mk-header {
margin-bottom: 28px;
}
.mk-header-top {
display: flex;
flex-wrap: wrap;
align-items: flex-start;
justify-content: space-between;
gap: 20px;
margin-bottom: 24px;
}
.mk-title-group {
flex: 1 1 500px;
}
.mk-badge {
display: inline-flex;
align-items: center;
gap: 8px;
background: #fff;
border: 1px solid var(--mk-border);
padding: 5px 12px;
border-radius: var(--mk-radius-full);
font-size: 12px;
font-weight: 600;
color: var(--mk-text-muted);
text-transform: uppercase;
letter-spacing: 0.5px;
margin-bottom: 10px;
box-shadow: var(--mk-shadow-sm);
}
.mk-badge-dot {
width: 8px;
height: 8px;
border-radius: 50%;
background: var(--mk-primary);
animation: mk-pulse 2s infinite;
}
@keyframes mk-pulse {
0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.7); }
70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(225, 29, 72, 0); }
100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(225, 29, 72, 0); }
}
.mk-title {
font-size: 28px;
font-weight: 800;
color: var(--mk-text-main);
margin: 0 0 8px 0;
letter-spacing: -0.5px;
}
.mk-subtitle {
font-size: 15px;
color: var(--mk-text-muted);
margin: 0;
max-width: 680px;
} .mk-search-box {
position: relative;
flex: 1 1 320px;
max-width: 420px;
}
.mk-search-input {
width: 100%;
padding: 13px 48px 13px 18px;
font-size: 14px;
font-family: inherit;
border: 1px solid var(--mk-border);
border-radius: var(--mk-radius-full);
background: var(--mk-surface);
color: var(--mk-text-main);
box-shadow: var(--mk-shadow-sm);
transition: var(--mk-transition);
outline: none;
}
.mk-search-input:focus {
border-color: var(--mk-primary);
box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.15);
}
.mk-search-icon {
position: absolute;
right: 16px;
top: 50%;
transform: translateY(-50%);
width: 18px;
height: 18px;
color: var(--mk-text-muted);
pointer-events: none;
}
.mk-search-clear {
position: absolute;
right: 42px;
top: 50%;
transform: translateY(-50%);
background: transparent;
border: none;
font-size: 20px;
color: var(--mk-text-muted);
cursor: pointer;
padding: 4px 6px;
line-height: 1;
transition: color 0.15s;
}
.mk-search-clear:hover {
color: var(--mk-text-main);
} .mk-tabs-scroll {
overflow-x: auto;
padding-bottom: 8px;
margin-bottom: 16px;
scrollbar-width: thin;
}
.mk-tabs-scroll::-webkit-scrollbar {
height: 5px;
}
.mk-tabs-scroll::-webkit-scrollbar-thumb {
background: var(--mk-border);
border-radius: var(--mk-radius-full);
}
.mk-tabs {
display: flex;
align-items: center;
gap: 8px;
min-width: max-content;
}
.mk-tab {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 10px 18px;
background: var(--mk-surface);
border: 1px solid var(--mk-border);
border-radius: var(--mk-radius-full);
font-size: 13.5px;
font-weight: 600;
color: var(--mk-text-main);
cursor: pointer;
transition: var(--mk-transition);
box-shadow: var(--mk-shadow-sm);
user-select: none;
white-space: nowrap;
}
.mk-tab:hover {
background: #ffffff;
border-color: var(--mk-border-subtle);
transform: translateY(-1px);
box-shadow: var(--mk-shadow-md);
}
.mk-tab.active {
background: #0f172a;
color: #ffffff;
border-color: #0f172a;
box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}
.mk-tab.active .mk-tab-count {
color: #94a3b8;
}
.mk-tab-swatch {
width: 14px;
height: 14px;
border-radius: 50%;
border: 1.5px solid rgba(0, 0, 0, 0.1);
display: inline-block;
flex-shrink: 0;
}
.mk-swatch-rainbow {
background: conic-gradient(red, orange, yellow, lime, green, teal, blue, violet, red);
}
.mk-swatch-fav {
width: 14px;
height: 14px;
display: inline-flex;
align-items: center;
justify-content: center;
color: #e11d48;
border: none;
}
.mk-tab-count {
font-size: 11.5px;
color: var(--mk-text-muted);
font-weight: 500;
} .mk-subbar {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: 16px;
padding: 12px 16px;
background: var(--mk-surface);
border: 1px solid var(--mk-border);
border-radius: var(--mk-radius-md);
margin-top: 8px;
}
.mk-status {
font-size: 13.5px;
color: var(--mk-text-muted);
}
.mk-status strong {
color: var(--mk-text-main);
font-weight: 700;
}
.mk-tone-filter {
display: flex;
align-items: center;
gap: 10px;
}
.mk-tone-label {
font-size: 13px;
font-weight: 600;
color: var(--mk-text-muted);
}
.mk-tone-buttons {
display: flex;
align-items: center;
gap: 4px;
background: var(--mk-surface-subtle);
padding: 3px;
border-radius: var(--mk-radius-sm);
}
.mk-tone-btn {
background: transparent;
border: none;
padding: 5px 12px;
font-size: 12px;
font-weight: 600;
color: var(--mk-text-muted);
border-radius: 4px;
cursor: pointer;
transition: var(--mk-transition);
}
.mk-tone-btn:hover {
color: var(--mk-text-main);
}
.mk-tone-btn.active {
background: var(--mk-surface);
color: var(--mk-text-main);
box-shadow: var(--mk-shadow-sm);
} .mk-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
gap: 16px;
margin-top: 24px;
}
@media (min-width: 1200px) {
.mk-grid {
grid-template-columns: repeat(6, 1fr);
}
}
.mk-card {
background: var(--mk-surface);
border-radius: var(--mk-radius-md);
border: 1px solid var(--mk-border);
overflow: hidden;
display: flex;
flex-direction: column;
box-shadow: var(--mk-shadow-sm);
transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
position: relative;
cursor: pointer;
}
.mk-card:hover {
transform: translateY(-4px);
box-shadow: var(--mk-shadow-lg);
border-color: var(--mk-border-subtle);
}
.mk-card-color {
height: 120px;
width: 100%;
position: relative;
transition: opacity 0.2s;
display: flex;
align-items: flex-end;
justify-content: flex-end;
padding: 10px;
} .mk-card-fav-btn {
position: absolute !important;
top: 8px !important;
right: 8px !important;
width: 40px !important;
height: 40px !important;
border-radius: 50% !important;
background: #ffffff !important;
border: 1px solid rgba(0, 0, 0, 0.12) !important;
cursor: pointer !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
color: #475569 !important;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
z-index: 10 !important;
opacity: 1 !important;
visibility: visible !important;
transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease !important;
padding: 0 !important;
margin: 0 !important;
}
.mk-card-fav-btn svg {
width: 20px !important;
height: 20px !important;
min-width: 20px !important;
min-height: 20px !important;
display: block !important;
pointer-events: none !important;
flex-shrink: 0 !important;
}
.mk-card-fav-btn:hover {
transform: scale(1.15) !important;
background: #ffffff !important;
color: #e11d48 !important;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28) !important;
}
.mk-card-fav-btn:hover svg path {
stroke: #e11d48 !important;
}
.mk-card-fav-btn.active {
background: #ffffff !important;
color: #e11d48 !important;
border-color: #fca5a5 !important;
box-shadow: 0 2px 8px rgba(225, 29, 72, 0.3) !important;
}
.mk-card-fav-btn.active svg path {
fill: #e11d48 !important;
stroke: #e11d48 !important;
}
.mk-card-body {
padding: 12px 14px;
display: flex;
flex-direction: column;
gap: 4px;
background: var(--mk-surface);
}
.mk-card-title {
font-size: 14px;
font-weight: 700;
color: var(--mk-text-main);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
margin: 0;
}
.mk-card-meta {
display: flex;
align-items: center;
justify-content: space-between;
font-size: 12px;
color: var(--mk-text-muted);
}
.mk-card-hex {
font-weight: 600;
color: var(--mk-text-muted);
}
.mk-card-hue-tag {
font-size: 11px;
background: var(--mk-surface-subtle);
padding: 2px 6px;
border-radius: 4px;
}
.mk-card-brand-tag {
font-size: 11px;
font-weight: 600;
padding: 2px 7px;
border-radius: 4px;
display: inline-flex;
align-items: center;
}
.mk-card-brand-tag.mk-brand-marshall {
background: #ffe4e6;
color: #be123c;
border: 1px solid #fecdd3;
}
.mk-card-brand-tag.mk-brand-filli {
background: #e0f2fe;
color: #0369a1;
border: 1px solid #bae6fd;
} .mk-empty-state {
text-align: center;
padding: 60px 20px;
background: var(--mk-surface);
border: 1px dashed var(--mk-border-subtle);
border-radius: var(--mk-radius-lg);
margin-top: 24px;
}
.mk-empty-icon {
font-size: 48px;
margin-bottom: 12px;
}
.mk-empty-state h3 {
font-size: 20px;
font-weight: 700;
margin: 0 0 8px 0;
color: var(--mk-text-main);
}
.mk-empty-state p {
font-size: 14px;
color: var(--mk-text-muted);
margin: 0 0 20px 0;
}
.mk-btn-reset {
background: var(--mk-primary);
color: #ffffff;
border: none;
padding: 10px 22px;
font-size: 13.5px;
font-weight: 600;
border-radius: var(--mk-radius-full);
cursor: pointer;
transition: var(--mk-transition);
}
.mk-btn-reset:hover {
background: var(--mk-primary-hover);
} .mk-pagination {
text-align: center;
margin-top: 36px;
}
.mk-btn-load-more {
background: var(--mk-surface);
border: 1px solid var(--mk-border);
padding: 12px 28px;
font-size: 14px;
font-weight: 600;
color: var(--mk-text-main);
border-radius: var(--mk-radius-full);
cursor: pointer;
box-shadow: var(--mk-shadow-sm);
transition: var(--mk-transition);
}
.mk-btn-load-more:hover {
background: #ffffff;
box-shadow: var(--mk-shadow-md);
border-color: var(--mk-border-subtle);
} .mk-modal-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(15, 23, 42, 0.65);
backdrop-filter: blur(6px);
z-index: 999999;
display: flex;
align-items: center;
justify-content: center;
padding: 20px;
opacity: 0;
pointer-events: none;
transition: opacity 0.25s ease;
}
.mk-modal-overlay.open {
opacity: 1;
pointer-events: auto;
}
.mk-modal {
background: var(--mk-surface);
border-radius: var(--mk-radius-lg);
max-width: 960px;
width: 100%;
max-height: 90vh;
overflow-y: auto;
position: relative;
box-shadow: var(--mk-shadow-xl);
transform: scale(0.95) translateY(10px);
transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.mk-modal-overlay.open .mk-modal {
transform: scale(1) translateY(0);
}
.mk-modal-close {
position: absolute;
top: 16px;
right: 18px;
width: 38px;
height: 38px;
border-radius: 50%;
background: var(--mk-surface-subtle);
border: none;
font-size: 24px;
line-height: 1;
color: var(--mk-text-main);
cursor: pointer;
z-index: 10;
display: flex;
align-items: center;
justify-content: center;
transition: var(--mk-transition);
}
.mk-modal-close:hover {
background: #e2e8f0;
transform: rotate(90deg);
}
.mk-modal-content {
display: flex;
flex-direction: column;
}
@media (min-width: 860px) {
.mk-modal-content {
flex-direction: row;
}
}
.mk-modal-preview {
flex: 1 1 58%;
padding: 28px;
background: #fdfdfd;
border-bottom: 1px solid var(--mk-border);
}
@media (min-width: 860px) {
.mk-modal-preview {
border-bottom: none;
border-right: 1px solid var(--mk-border);
}
}
.mk-color-display {
border-radius: var(--mk-radius-md);
overflow: hidden;
box-shadow: var(--mk-shadow-md);
margin-bottom: 20px;
}
.mk-color-large-preview {
height: 140px;
padding: 20px;
display: flex;
flex-direction: column;
justify-content: space-between;
position: relative;
transition: background-color 0.3s ease;
}
.mk-color-tag-pill {
font-size: 11px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 1px;
background: rgba(255, 255, 255, 0.3);
backdrop-filter: blur(4px);
padding: 4px 10px;
border-radius: var(--mk-radius-full);
align-self: flex-start;
}
.mk-color-display-title {
font-size: 26px;
font-weight: 800;
letter-spacing: -0.5px;
}
.mk-color-display-hex {
font-size: 15px;
opacity: 0.9;
font-weight: 600;
} .mk-room-visualizer {
background: #ffffff;
border: 1px solid var(--mk-border);
border-radius: var(--mk-radius-md);
padding: 16px;
}
.mk-visualizer-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 12px;
font-size: 13.5px;
font-weight: 700;
}
.mk-room-toggles {
display: flex;
gap: 4px;
}
.mk-room-btn {
background: var(--mk-surface-subtle);
border: none;
padding: 4px 10px;
font-size: 11.5px;
font-weight: 600;
border-radius: 4px;
cursor: pointer;
color: var(--mk-text-muted);
transition: var(--mk-transition);
}
.mk-room-btn.active {
background: #0f172a;
color: #ffffff;
}
.mk-room-canvas-wrap {
width: 100%;
border-radius: 8px;
overflow: hidden;
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.mk-room-svg {
width: 100%;
height: auto;
display: block;
}
.mk-wall-mesh {
transition: fill 0.35s ease;
}
.mk-visualizer-hint {
font-size: 11.5px;
color: var(--mk-text-muted);
margin: 10px 0 0 0;
text-align: center;
} .mk-modal-info {
flex: 1 1 42%;
padding: 32px 28px;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.mk-modal-head {
margin-bottom: 24px;
}
.mk-modal-color-name {
font-size: 24px;
font-weight: 800;
color: var(--mk-text-main);
margin-bottom: 6px;
}
.mk-modal-hue-badge {
display: inline-block;
font-size: 12px;
font-weight: 600;
color: var(--mk-primary);
background: var(--mk-primary-light);
padding: 4px 10px;
border-radius: var(--mk-radius-full);
}
.mk-values-list {
display: flex;
flex-direction: column;
gap: 12px;
margin-bottom: 28px;
}
.mk-val-item {
display: flex;
align-items: center;
justify-content: space-between;
background: var(--mk-surface-subtle);
border: 1px solid var(--mk-border);
padding: 10px 14px;
border-radius: var(--mk-radius-md);
}
.mk-val-label {
font-size: 12px;
font-weight: 600;
color: var(--mk-text-muted);
text-transform: uppercase;
}
.mk-val-code {
font-size: 14px;
font-weight: 700;
color: var(--mk-text-main);
}
.mk-btn-copy {
background: transparent;
border: none;
cursor: pointer;
padding: 4px;
color: var(--mk-text-muted);
display: flex;
align-items: center;
justify-content: center;
border-radius: 4px;
transition: var(--mk-transition);
}
.mk-btn-copy:hover {
color: var(--mk-primary);
background: #ffffff;
}
.mk-btn-copy svg {
width: 16px;
height: 16px;
}
.mk-modal-actions {
display: flex;
flex-direction: column;
gap: 10px;
}
.mk-btn-action {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
padding: 12px 18px;
font-size: 13.5px;
font-weight: 600;
border-radius: var(--mk-radius-md);
text-decoration: none;
cursor: pointer;
transition: var(--mk-transition);
text-align: center;
}
.mk-btn-action svg {
width: 17px;
height: 17px;
}
.mk-btn-fav-toggle {
background: var(--mk-surface);
border: 1px solid var(--mk-border);
color: var(--mk-text-main);
}
.mk-btn-fav-toggle:hover {
background: #ffffff;
border-color: #e11d48;
color: #e11d48;
}
.mk-btn-fav-toggle.active {
background: #ffe4e6;
border-color: #f43f5e;
color: #e11d48;
}
.mk-btn-fav-toggle.active svg {
fill: #e11d48;
}
.mk-btn-whatsapp {
background: #25D366;
color: #ffffff !important;
border: none;
font-weight: 700;
box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
font-size: 14px;
}
.mk-btn-whatsapp:hover {
background: #1eb956;
color: #ffffff !important;
transform: translateY(-2px);
box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
}
.mk-btn-whatsapp svg {
width: 20px;
height: 20px;
flex-shrink: 0;
}
.mk-btn-marshall-link {
background: #0f172a;
color: #ffffff !important;
border: 1px solid #1e293b;
font-weight: 600;
font-size: 13.5px;
}
.mk-btn-marshall-link:hover {
background: #1e293b;
color: #ffffff !important;
transform: translateY(-1px);
}
.mk-btn-marshall-link svg {
width: 16px;
height: 16px;
margin-left: 4px;
} .mk-toast {
position: fixed;
bottom: 24px;
right: 24px;
background: #0f172a;
color: #ffffff;
padding: 12px 20px;
border-radius: var(--mk-radius-full);
display: flex;
align-items: center;
gap: 10px;
font-size: 13.5px;
font-weight: 600;
box-shadow: var(--mk-shadow-xl);
z-index: 1000000;
animation: mk-toast-in 0.25s ease forwards;
}
.mk-toast svg {
width: 18px;
height: 18px;
color: #10b981;
}
@keyframes mk-toast-in {
from { opacity: 0; transform: translateY(12px); }
to { opacity: 1; transform: translateY(0); }
} .mk-wrapper.mk-theme-dark {
--mk-bg: #090d16;
--mk-surface: #111827;
--mk-surface-subtle: #1f2937;
--mk-text-main: #f9fafb;
--mk-text-muted: #9ca3af;
--mk-border: #1f2937;
--mk-border-subtle: #374151;
}
.mk-wrapper.mk-theme-dark .mk-badge {
background: #111827;
}
.mk-wrapper.mk-theme-dark .mk-tab {
background: #111827;
color: #e5e7eb;
}
.mk-wrapper.mk-theme-dark .mk-tab.active {
background: #f8fafc;
color: #0f172a;
}
.mk-wrapper.mk-theme-dark .mk-modal-preview {
background: #0d1320;
}
.mk-wrapper.mk-theme-dark .mk-room-visualizer {
background: #111827;
} @media (max-width: 640px) {
.mk-wrapper {
padding: 20px 14px;
border-radius: 12px;
}
.mk-title {
font-size: 22px;
}
.mk-grid {
grid-template-columns: repeat(2, 1fr);
gap: 10px;
}
.mk-card-color {
height: 95px;
}
.mk-card-title {
font-size: 13px;
}
.mk-modal {
margin: 10px;
max-height: 94vh;
}
.mk-modal-preview {
padding: 16px;
}
.mk-modal-info {
padding: 20px 16px;
}
}