/* MARKHLETE Builder - My Account → My Designs / Media (works with WoodMart + default WooCommerce) */
.mkb-account-intro { margin-bottom: 18px; color: #666; }
.mkb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.mkb-grid-media { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.mkb-card { border: 1px solid #e6e6e6; border-radius: 10px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.mkb-card-img { display: flex; align-items: center; justify-content: center; background: #f5f6f5; aspect-ratio: 5 / 6; overflow: hidden; }
.mkb-card-img-sm { aspect-ratio: 1 / 1; background: repeating-conic-gradient(#eee 0% 25%, #fff 0% 50%) 50% / 16px 16px; }
.mkb-card-img img { width: 100%; height: 100%; object-fit: contain; }
.mkb-noimg { color: #999; font-size: 13px; }
.mkb-card-views { display: flex; gap: 4px; padding: 6px 10px 0; }
.mkb-card-views img { width: 38px; height: 44px; object-fit: contain; background: #f5f6f5; border-radius: 4px; border: 1px solid #eee; }
.mkb-card-body { padding: 12px 14px 6px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mkb-card-title { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mkb-card-meta { font-size: 12px; color: #777; }
.mkb-card-actions { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 14px 14px; margin-top: auto; }
.mkb-card-actions .button, .mkb-upload-form .button { padding: 6px 12px !important; min-height: 0 !important; line-height: 1.5 !important; font-size: 12px !important; }
.mkb-inline-form { display: inline; margin: 0; }
.mkb-rename { display: inline-block; }
.mkb-rename summary { list-style: none; cursor: pointer; }
.mkb-rename summary::-webkit-details-marker { display: none; }
.mkb-rename[open] { display: block; width: 100%; }
.mkb-rename[open] .mkb-inline-form { display: flex; gap: 6px; margin-top: 6px; }
.mkb-rename input[type=text] { flex: 1; min-width: 0; height: 32px; font-size: 13px; }
.mkb-primary { background: var(--mkb-accent, #B7EE1B) !important; color: var(--mkb-accent-text, #171E17) !important; border-color: var(--mkb-accent, #B7EE1B) !important; }
.mkb-danger { color: #c0392b !important; }
.mkb-empty { padding: 40px 20px; text-align: center; border: 1px dashed #ddd; border-radius: 10px; color: #777; }
.mkb-upload-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 14px; border: 1px dashed #ccc; border-radius: 10px; margin-bottom: 20px; }
.mkb-font-badge { font-size: 42px; font-weight: 700; color: #444; display: flex; flex-direction: column; align-items: center; line-height: 1; }
.mkb-font-badge small { font-size: 11px; font-weight: 600; color: #888; margin-top: 6px; }
.mkb-pagination { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 24px; }
