.walm-el-shade-card,
.walm-el-color-display,
.walm-el-shade-preview,
.walm-el-shade-gallery,
.walm-el-swatches,
.walm-el-shade-information {
    box-sizing: border-box;
}

.walm-el-shade-card .walm-el-card-title {
    margin: 0 0 10px;
    font-size: 1.4em;
}

.walm-el-shade-card .walm-el-card-theme {
    font-size: 0.9em;
    opacity: 0.7;
    margin-bottom: 8px;
}

.walm-el-shade-card .walm-el-card-description {
    margin-bottom: 12px;
}

.walm-el-shade-card .walm-el-colors-grid {
    display: grid;
    gap: 10px;
}

.walm-el-shade-card .walm-el-color-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 8px;
    border-radius: 4px;
    transition: transform 0.2s;
}

.walm-el-shade-card .walm-el-color-item:hover {
    transform: translateY(-2px);
}

.walm-el-shade-card .walm-el-color-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 6px;
    border-radius: 3px;
}

.walm-el-shade-card .walm-el-color-swatch {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.1);
    margin-bottom: 4px;
}

.walm-el-shade-card .walm-el-color-code {
    font-size: 0.85em;
    font-weight: 600;
}

.walm-el-shade-card .walm-el-color-name {
    font-size: 0.8em;
    opacity: 0.8;
}

.walm-el-color-display {
    display: flex;
    align-items: center;
    gap: 12px;
}

.walm-el-color-display .walm-el-display-image img {
    max-width: 100px;
    height: auto;
    border-radius: 4px;
}

.walm-el-color-display .walm-el-display-swatch {
    border-radius: 4px;
    border: 1px solid rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.walm-el-color-display .walm-el-display-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.walm-el-color-display .walm-el-display-code,
.walm-el-color-display .walm-el-display-name,
.walm-el-color-display .walm-el-display-hex {
    font-size: 0.9em;
}

.walm-el-shade-preview .walm-el-preview-card-title {
    margin: 0 0 10px;
}

.walm-el-shade-preview .walm-el-preview-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.walm-el-shade-preview .walm-el-preview-item {
    text-align: center;
}

.walm-el-shade-preview .walm-el-preview-swatch {
    width: 30px;
    height: 30px;
    border-radius: 4px;
    border: 1px solid rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.2s;
}

.walm-el-shade-preview .walm-el-preview-swatch:hover {
    transform: scale(1.15);
}

.walm-el-shade-preview .walm-el-preview-label {
    font-size: 0.75em;
    margin-top: 2px;
}

.walm-el-shade-preview .walm-el-preview-label .walm-el-preview-code {
    font-weight: 600;
    display: block;
}

.walm-el-shade-preview .walm-el-preview-label .walm-el-preview-name {
    opacity: 0.7;
    display: block;
}

.walm-el-shade-gallery .walm-el-gallery-grid {
    display: grid;
    gap: 10px;
}

.walm-el-shade-gallery .walm-el-gallery-item {
    overflow: hidden;
    border-radius: 4px;
}

.walm-el-shade-gallery .walm-el-gallery-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s;
}

.walm-el-shade-gallery .walm-el-gallery-image img:hover {
    transform: scale(1.05);
}

.walm-el-shade-gallery .walm-el-gallery-caption {
    padding: 6px 8px;
    font-size: 0.85em;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.walm-el-shade-gallery .walm-el-gallery-code {
    font-weight: 600;
}

.walm-el-shade-gallery .walm-el-gallery-name {
    opacity: 0.7;
}

.walm-el-swatches {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.walm-el-swatches .walm-el-swatch-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s;
}

.walm-el-swatches .walm-el-swatch-item:hover {
    transform: scale(1.1);
}

.walm-el-swatches .walm-el-swatch-item.active {
    transform: scale(1.15);
}

.walm-el-swatches .walm-el-swatch-color {
    display: block;
    border-radius: inherit;
    transition: box-shadow 0.2s;
}

.walm-el-swatches .walm-el-swatch-circle {
    border-radius: 50%;
}

.walm-el-swatches .walm-el-swatch-square {
    border-radius: 0;
}

.walm-el-swatches .walm-el-swatch-rounded {
    border-radius: 4px;
}

.walm-el-swatches .walm-el-swatch-label {
    font-size: 0.7em;
    margin-top: 2px;
    opacity: 0.8;
}

.walm-el-shade-information .walm-el-info-table {
    width: 100%;
    border-collapse: collapse;
}

.walm-el-shade-information .walm-el-info-table td {
    padding: 6px 10px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.walm-el-shade-information .walm-el-info-label {
    font-weight: 600;
    width: 40%;
}

.walm-el-shade-information .walm-el-info-value {
    width: 60%;
}

.walm-el-shade-information .walm-el-info-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.walm-el-shade-information .walm-el-info-list li {
    padding: 4px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.walm-el-shade-information .walm-el-info-inline {
    margin-right: 16px;
    display: inline-block;
}

/* ============================================
    Product Shade Card Widget
    ============================================ */
 .walm-el-product-shade-card {
     box-sizing: border-box;
     margin: 16px 0;
     font-family: inherit;
     font-size: 14px;
     line-height: 1.5;
 }

 .walm-el-pscard-header {
     display: flex;
     align-items: baseline;
     gap: 10px;
     flex-wrap: wrap;
     margin-bottom: 6px;
 }

 .walm-el-pscard-title {
     margin: 0;
     font-size: 16px;
     font-weight: 600;
     color: inherit;
     line-height: 1.3;
 }

 .walm-el-pscard-theme {
     display: inline-block;
     font-size: 0.85em;
     color: #6b7280;
 }

 .walm-el-pscard-desc {
     margin-bottom: 8px;
     color: #6b7280;
 }

 .walm-el-pscard-colors {
     padding: 0;
 }

 .walm-el-pscard-color-item {
     margin-bottom: 6px;
 }

 .walm-el-pscard-color-item:last-child {
     margin-bottom: 0;
 }

 .walm-el-pscard-variation-prompt {
     color: #9ca3af;
     font-size: 13px;
     font-style: italic;
 }

 .walm-el-pscard-body {
     padding: 0;
 }

 /* ?????? Color Row (simple text layout) ?????? */
 .walm-ps-color-row {
     display: flex;
     align-items: center;
     gap: 10px;
 }

 .walm-ps-thumb {
     flex-shrink: 0;
     width: 28px;
     height: 28px;
     border-radius: 50%;
     overflow: hidden;
     border: 1px solid #e5e7eb;
     background: #f3f4f6;
 }

 .walm-ps-thumb img {
     display: block;
     width: 100%;
     height: 100%;
     object-fit: cover;
 }

 .walm-ps-swatch {
     flex-shrink: 0;
     width: 28px;
     height: 28px;
     border-radius: 50%;
     border: 1px solid #e5e7eb;
 }

 .walm-ps-info {
     flex: 1;
     min-width: 0;
     display: flex;
     flex-direction: column;
     gap: 2px;
 }

 .walm-ps-detail {
     display: flex;
     align-items: baseline;
     gap: 6px;
     line-height: 1.4;
 }

 .walm-ps-detail-label {
     font-size: 12px;
     color: #9ca3af;
     min-width: 36px;
     flex-shrink: 0;
 }

 .walm-ps-detail-value {
     font-size: 14px;
     color: #374151;
     font-weight: 500;
     display: flex;
     align-items: center;
     gap: 6px;
 }

 .walm-ps-detail-value.walm-el-pscard-color-name,
 .walm-ps-detail-value.walm-el-pscard-color-code {
     font-size: 14px;
     font-weight: 500;
     font-family: inherit;
 }

 .walm-ps-detail-value code {
     background: transparent;
     padding: 0;
     border-radius: 0;
     font-size: 13px;
     font-family: inherit;
     color: inherit;
     border: none;
 }

 .walm-ps-detail-value.walm-ps-code {
     font-family: inherit;
     font-size: 14px;
 }

 .walm-ps-hex-swatch {
     display: inline-block;
     width: 14px;
     height: 14px;
     border-radius: 50%;
     border: 1px solid #d1d5db;
     vertical-align: middle;
     flex-shrink: 0;
 }

/* ============================================
   Product Color Widget
   ============================================ */
.walm-el-product-color {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 12px;
}

.walm-el-product-color.walm-el-pcolor-layout-vertical {
    flex-direction: column;
    text-align: center;
}

.walm-el-product-color.walm-el-pcolor-layout-stacked {
    flex-direction: column;
    align-items: flex-start;
}

.walm-el-pcolor-image img {
    border-radius: 4px;
    object-fit: cover;
}

.walm-el-pcolor-swatch {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.walm-el-pcolor-details {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.walm-el-pcolor-name {
    font-weight: 500;
}

.walm-el-pcolor-code {
    opacity: 0.8;
}

.walm-el-pcolor-hex code {
    background: #f1f5f9;
    padding: 1px 6px;
    border-radius: 3px;
    font-size: 0.9em;
}

.walm-el-pcolor-uid {
    font-size: 0.75em;
    opacity: 0.5;
}

.walm-el-pcolor-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 99px;
}

/* ============================================
   Product Variation Widget
   ============================================ */
.walm-el-product-variation {
    box-sizing: border-box;
}

.walm-el-pvar-data {
    display: flex;
    align-items: center;
    gap: 12px;
}

.walm-el-pvar-image img {
    border-radius: 4px;
}

.walm-el-pvar-swatch {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.walm-el-pvar-details {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.walm-el-pvar-name {
    font-weight: 500;
}

.walm-el-pvar-code {
    opacity: 0.8;
}

.walm-el-pvar-hex code {
    background: #f1f5f9;
    padding: 1px 6px;
    border-radius: 3px;
    font-size: 0.9em;
}

.walm-el-pvar-theme {
    font-size: 0.8em;
    opacity: 0.6;
}

.walm-el-pvar-placeholder {
    color: #94a3b8;
    font-style: italic;
}

.walm-el-pvar-variation-data {
    transition: opacity 0.3s ease;
}

/* ============================================
   Carousel Widget
   ============================================ */
.walm-el-shade-carousel {
    position: relative;
    box-sizing: border-box;
}

.walm-el-carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.walm-el-carousel-track::-webkit-scrollbar {
    display: none;
}

.walm-el-carousel-slide {
    flex: 0 0 auto;
}

.walm-el-carousel-card {
    padding: 16px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e5e7eb;
    min-width: 200px;
}

.walm-el-carousel-title {
    margin: 0 0 6px;
    font-size: 1.1em;
}

.walm-el-carousel-theme {
    display: inline-block;
    padding: 2px 8px;
    font-size: 0.75em;
    background: #eef2ff;
    color: #6366f1;
    border-radius: 99px;
    margin-bottom: 8px;
}

.walm-el-carousel-colors {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.walm-el-carousel-color {
    display: flex;
    align-items: center;
}

.walm-el-carousel-color img {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    object-fit: cover;
}

.walm-el-carousel-swatch {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.1);
}

.walm-el-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #d1d5db;
    background: #fff;
    color: #374151;
    font-size: 20px;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: background 0.2s, box-shadow 0.2s;
}

.walm-el-carousel-nav:hover {
    background: #f9fafb;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.walm-el-carousel-prev {
    left: -18px;
}

.walm-el-carousel-next {
    right: -18px;
}

.walm-el-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
}

/* ============================================
   Grid Widget
   ============================================ */
.walm-el-shade-grid {
    box-sizing: border-box;
}

.walm-el-grid-cards {
    display: grid;
}

.walm-el-grid-card {
    padding: 16px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e5e7eb;
    transition: box-shadow 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.walm-el-grid-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.walm-el-grid-title {
    margin: 0 0 6px;
    font-size: 1.1em;
}

.walm-el-grid-theme {
    display: inline-block;
    padding: 2px 8px;
    font-size: 0.75em;
    background: #eef2ff;
    color: #6366f1;
    border-radius: 99px;
    margin-bottom: 8px;
}

.walm-el-grid-count {
    display: block;
    font-size: 0.8em;
    opacity: 0.6;
    margin-bottom: 12px;
}

.walm-el-grid-view {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    padding: 8px 18px;
    border: none;
    border-radius: 6px;
    background: #6366f1;
    color: #fff;
    font-size: 0.85em;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.walm-el-grid-view:hover {
    background: #4f46e5;
    transform: translateY(-1px);
}

/* ============================================
   Grid Color Modal
   ============================================ */
.walm-el-grid-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.2s;
}

.walm-el-grid-modal-overlay.open {
    opacity: 1;
}

.walm-el-grid-modal-content {
    position: relative;
    background: #fff;
    border-radius: 12px;
    max-width: 760px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 16px 48px rgba(0,0,0,0.2);
    padding: 28px 24px 24px;
    opacity: 0;
    transform: translateY(20px);
    transition: transform 0.25s, opacity 0.25s;
}

.walm-el-grid-modal-overlay.open .walm-el-grid-modal-content {
    transform: translateY(0);
    opacity: 1;
}

.walm-el-grid-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(0,0,0,0.05);
    color: #666;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

.walm-el-grid-modal-close:hover {
    background: rgba(0,0,0,0.1);
    color: #333;
}

.walm-el-grid-modal-header {
    margin-bottom: 16px;
    padding-right: 40px;
}

.walm-el-grid-modal-search {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    margin: -6px -24px 16px;
    padding: 12px 24px;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.walm-el-grid-modal-search-input {
    flex: 1;
    padding: 10px 36px 10px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.95em;
    color: #1f2937;
    background: #f9fafb;
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.walm-el-grid-modal-search-input:focus {
    outline: none;
    border-color: #6366f1;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
}

.walm-el-grid-modal-search-clear {
    position: absolute;
    right: 30px;
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 50%;
    background: rgba(0,0,0,0.08);
    color: #666;
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.walm-el-grid-modal-search-clear:hover {
    background: rgba(0,0,0,0.15);
    color: #333;
}

.walm-el-grid-modal-no-results {
    grid-column: 1 / -1;
    padding: 32px 16px;
    text-align: center;
    color: #6b7280;
    font-size: 0.9em;
}

@media (max-width: 600px) {
    .walm-el-grid-modal-overlay {
        padding: 0;
        align-items: flex-end;
    }
}

.walm-el-grid-modal-title {
    margin: 0 0 4px;
    font-size: 1.3em;
}

.walm-el-grid-modal-count {
    font-size: 0.8em;
    opacity: 0.6;
}

.walm-el-grid-modal-body {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 10px;
}

.walm-el-grid-modal-color {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: inherit;
    padding: 8px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.walm-el-grid-modal-color:hover {
    border-color: #c7d2fe;
    box-shadow: 0 4px 12px rgba(99,102,241,0.15);
    transform: translateY(-2px);
}

.walm-el-grid-modal-body img.walm-el-grid-modal-img {
    width: 72px;
    height: 52px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 6px;
}

.walm-el-grid-modal-swatch {
    display: block;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.1);
    margin-bottom: 6px;
}

.walm-el-grid-modal-code {
    font-size: 0.8em;
    font-weight: 600;
}

.walm-el-grid-modal-name {
    font-size: 0.75em;
    opacity: 0.7;
}

/* ============================================
   Color Comparison Widget
   ============================================ */
.walm-el-color-comparison {
    box-sizing: border-box;
}

.walm-el-color-comparison.walm-el-compare-layout-horizontal {
    display: flex;
    align-items: stretch;
}

.walm-el-color-comparison.walm-el-compare-layout-vertical {
    display: flex;
    flex-direction: column;
}

.walm-el-compare-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px;
}

.walm-el-compare-divider {
    width: 2px;
    background: #e5e7eb;
    flex-shrink: 0;
}

.walm-el-compare-layout-vertical .walm-el-compare-divider {
    width: 100%;
    height: 2px;
}

.walm-el-compare-swatch {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.1);
    margin-bottom: 12px;
}

.walm-el-compare-image img {
    border-radius: 4px;
    object-fit: cover;
    margin-bottom: 12px;
}

.walm-el-compare-name {
    font-weight: 600;
    margin-bottom: 4px;
}

.walm-el-compare-code {
    opacity: 0.8;
    margin-bottom: 4px;
}

.walm-el-compare-hex code {
    background: #f1f5f9;
    padding: 1px 6px;
    border-radius: 3px;
    font-size: 0.9em;
}

.walm-el-compare-empty {
    color: #94a3b8;
    font-style: italic;
}

/* ============================================
   Shade Card Title Widget
   ============================================ */
.walm-el-shade-card-title {
    box-sizing: border-box;
}

.walm-el-sctitle-prefix,
.walm-el-sctitle-suffix {
    opacity: 0.7;
}

/* ============================================
   Shade Card Description Widget
   ============================================ */
.walm-el-shade-card-desc {
    box-sizing: border-box;
}

/* ============================================
   Shade Card Theme Widget
   ============================================ */
.walm-el-shade-card-theme {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.walm-el-sctheme-prefix {
    opacity: 0.7;
    margin-right: 4px;
}

.walm-el-sctheme-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    font-size: 0.85em;
    background: #eef2ff;
    color: #6366f1;
    border: 1px solid #c7d2fe;
    border-radius: 99px;
}

.walm-el-sctheme-icon {
    display: flex;
    align-items: center;
}

.walm-el-sctheme-icon svg {
    width: 14px;
    height: 14px;
}

/* ============================================
   Color Swatch Widget
   ============================================ */
.walm-el-color-swatch {
    box-sizing: border-box;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}

.walm-el-cswatch-color {
    display: block;
    border: 1px solid rgba(0,0,0,0.1);
}

.walm-el-cswatch-shape-circle .walm-el-cswatch-color {
    border-radius: 50%;
}

.walm-el-cswatch-shape-square .walm-el-cswatch-color {
    border-radius: 0;
}

.walm-el-cswatch-shape-rounded .walm-el-cswatch-color {
    border-radius: 8px;
}

.walm-el-cswatch-label {
    font-size: 0.7em;
    margin-top: 4px;
    opacity: 0.8;
}

/* ============================================
   Color List Widget
   ============================================ */
.walm-el-color-list {
    box-sizing: border-box;
}

.walm-el-clist-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
}

.walm-el-clist-style-striped .walm-el-clist-item:nth-child(even) {
    background: rgba(0,0,0,0.02);
}

.walm-el-clist-style-bordered .walm-el-clist-item {
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.walm-el-clist-style-compact .walm-el-clist-item {
    padding: 4px 8px;
}

.walm-el-clist-swatch {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.walm-el-clist-image {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
}

.walm-el-clist-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.walm-el-clist-name {
    font-weight: 500;
    font-size: 0.9em;
}

.walm-el-clist-code {
    font-size: 0.8em;
    opacity: 0.7;
}

.walm-el-clist-hex code {
    background: #f1f5f9;
    padding: 1px 4px;
    border-radius: 3px;
    font-size: 0.8em;
}

/* ============================================
   Shade Card Meta Widget
   ============================================ */
.walm-el-shade-card-meta {
    box-sizing: border-box;
}

.walm-el-meta-grid {
    display: grid;
}

.walm-el-meta-item {
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.walm-el-meta-key {
    font-weight: 600;
    font-size: 0.8em;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    opacity: 0.7;
}

.walm-el-meta-value {
    font-size: 0.95em;
}

.walm-el-meta-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.walm-el-meta-list .walm-el-meta-item {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.walm-el-meta-inline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.walm-el-meta-sep {
    opacity: 0.3;
    margin: 0 4px;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
    .walm-el-pscard-layout-inline {
        flex-direction: column;
        align-items: flex-start;
    }

    .walm-el-product-color.walm-el-pcolor-layout-horizontal {
        flex-wrap: wrap;
    }

    .walm-el-color-comparison.walm-el-compare-layout-horizontal {
        flex-direction: column;
    }

    .walm-el-compare-divider {
        width: 100%;
        height: 2px;
    }

    .walm-el-carousel-nav {
        display: none;
    }
}

@media (max-width: 600px) {
    .walm-el-grid-modal-content {
        max-width: 100%;
        max-height: 88dvh;
        overflow-y: auto;
        padding: 20px 14px 16px;
        border-radius: 16px 16px 0 0;
    }

    .walm-el-grid-modal-title {
        font-size: 1.15em;
    }

    .walm-el-grid-modal-search {
        margin: -4px -14px 12px;
        padding: 10px 14px;
    }

    .walm-el-grid-modal-search-clear {
        right: 18px;
    }

    .walm-el-grid-modal-body {
        grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
        gap: 8px;
    }

    .walm-el-grid-modal-color {
        padding: 6px;
    }

    .walm-el-grid-modal-body img.walm-el-grid-modal-img {
        width: 56px;
        height: 56px;
    }

    .walm-el-grid-modal-swatch {
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 380px) {
    .walm-el-grid-modal-body {
        grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
        gap: 6px;
    }

    .walm-el-grid-modal-code {
        font-size: 0.72em;
    }

    .walm-el-grid-modal-name {
        font-size: 0.72em;
    }
}